Documentation ¶
Index ¶
- func GetBaseSecurityAttributeValidatorValidatorTypeEnumStringValues() []string
- func GetBulkEditSecurityAttributeOperationDetailsOperationTypeEnumStringValues() []string
- func GetListSecurityAttributeNamespacesSortByEnumStringValues() []string
- func GetListSecurityAttributeNamespacesSortOrderEnumStringValues() []string
- func GetSecurityAttributeLifecycleStateEnumStringValues() []string
- func GetSecurityAttributeNamespaceLifecycleStateEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- func GetWorkRequestOperationTypeEnumStringValues() []string
- func GetWorkRequestResourceActionTypeEnumStringValues() []string
- func GetWorkRequestStatusEnumStringValues() []string
- type BaseSecurityAttributeValidator
- type BaseSecurityAttributeValidatorValidatorTypeEnum
- type BulkDeleteSecurityAttributesDetails
- type BulkDeleteSecurityAttributesRequest
- func (request BulkDeleteSecurityAttributesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request BulkDeleteSecurityAttributesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request BulkDeleteSecurityAttributesRequest) RetryPolicy() *common.RetryPolicy
- func (request BulkDeleteSecurityAttributesRequest) String() string
- func (request BulkDeleteSecurityAttributesRequest) ValidateEnumValue() (bool, error)
- type BulkDeleteSecurityAttributesResponse
- type BulkEditResource
- type BulkEditSecurityAttributeDetails
- type BulkEditSecurityAttributeOperationDetails
- type BulkEditSecurityAttributeOperationDetailsOperationTypeEnum
- type BulkEditSecurityAttributesRequest
- func (request BulkEditSecurityAttributesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request BulkEditSecurityAttributesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request BulkEditSecurityAttributesRequest) RetryPolicy() *common.RetryPolicy
- func (request BulkEditSecurityAttributesRequest) String() string
- func (request BulkEditSecurityAttributesRequest) ValidateEnumValue() (bool, error)
- type BulkEditSecurityAttributesResponse
- type CascadingDeleteSecurityAttributeNamespaceRequest
- func (request CascadingDeleteSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CascadingDeleteSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CascadingDeleteSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
- func (request CascadingDeleteSecurityAttributeNamespaceRequest) String() string
- func (request CascadingDeleteSecurityAttributeNamespaceRequest) ValidateEnumValue() (bool, error)
- type CascadingDeleteSecurityAttributeNamespaceResponse
- type ChangeSecurityAttributeNamespaceCompartmentDetails
- type ChangeSecurityAttributeNamespaceCompartmentRequest
- func (request ChangeSecurityAttributeNamespaceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeSecurityAttributeNamespaceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeSecurityAttributeNamespaceCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeSecurityAttributeNamespaceCompartmentRequest) String() string
- func (request ChangeSecurityAttributeNamespaceCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeSecurityAttributeNamespaceCompartmentResponse
- type CreateSecurityAttributeDetails
- type CreateSecurityAttributeNamespaceDetails
- type CreateSecurityAttributeNamespaceRequest
- func (request CreateSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateSecurityAttributeNamespaceRequest) String() string
- func (request CreateSecurityAttributeNamespaceRequest) ValidateEnumValue() (bool, error)
- type CreateSecurityAttributeNamespaceResponse
- type CreateSecurityAttributeRequest
- func (request CreateSecurityAttributeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateSecurityAttributeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateSecurityAttributeRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateSecurityAttributeRequest) String() string
- func (request CreateSecurityAttributeRequest) ValidateEnumValue() (bool, error)
- type CreateSecurityAttributeResponse
- type DefaultSecurityAttributeValidator
- type DeleteSecurityAttributeNamespaceRequest
- func (request DeleteSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteSecurityAttributeNamespaceRequest) String() string
- func (request DeleteSecurityAttributeNamespaceRequest) ValidateEnumValue() (bool, error)
- type DeleteSecurityAttributeNamespaceResponse
- type DeleteSecurityAttributeRequest
- func (request DeleteSecurityAttributeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteSecurityAttributeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteSecurityAttributeRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteSecurityAttributeRequest) String() string
- func (request DeleteSecurityAttributeRequest) ValidateEnumValue() (bool, error)
- type DeleteSecurityAttributeResponse
- type EnumSecurityAttributeValidator
- type GetSecurityAttributeNamespaceRequest
- func (request GetSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
- func (request GetSecurityAttributeNamespaceRequest) String() string
- func (request GetSecurityAttributeNamespaceRequest) ValidateEnumValue() (bool, error)
- type GetSecurityAttributeNamespaceResponse
- type GetSecurityAttributeRequest
- func (request GetSecurityAttributeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetSecurityAttributeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetSecurityAttributeRequest) RetryPolicy() *common.RetryPolicy
- func (request GetSecurityAttributeRequest) String() string
- func (request GetSecurityAttributeRequest) ValidateEnumValue() (bool, error)
- type GetSecurityAttributeResponse
- type GetSecurityAttributeWorkRequestRequest
- func (request GetSecurityAttributeWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetSecurityAttributeWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetSecurityAttributeWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetSecurityAttributeWorkRequestRequest) String() string
- func (request GetSecurityAttributeWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetSecurityAttributeWorkRequestResponse
- type ListSecurityAttributeNamespacesRequest
- func (request ListSecurityAttributeNamespacesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSecurityAttributeNamespacesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSecurityAttributeNamespacesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSecurityAttributeNamespacesRequest) String() string
- func (request ListSecurityAttributeNamespacesRequest) ValidateEnumValue() (bool, error)
- type ListSecurityAttributeNamespacesResponse
- type ListSecurityAttributeNamespacesSortByEnum
- type ListSecurityAttributeNamespacesSortOrderEnum
- type ListSecurityAttributeWorkRequestErrorsRequest
- func (request ListSecurityAttributeWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSecurityAttributeWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSecurityAttributeWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSecurityAttributeWorkRequestErrorsRequest) String() string
- func (request ListSecurityAttributeWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListSecurityAttributeWorkRequestErrorsResponse
- type ListSecurityAttributeWorkRequestLogsRequest
- func (request ListSecurityAttributeWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSecurityAttributeWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSecurityAttributeWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSecurityAttributeWorkRequestLogsRequest) String() string
- func (request ListSecurityAttributeWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListSecurityAttributeWorkRequestLogsResponse
- type ListSecurityAttributeWorkRequestsRequest
- func (request ListSecurityAttributeWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSecurityAttributeWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSecurityAttributeWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSecurityAttributeWorkRequestsRequest) String() string
- func (request ListSecurityAttributeWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListSecurityAttributeWorkRequestsResponse
- type ListSecurityAttributesRequest
- func (request ListSecurityAttributesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListSecurityAttributesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListSecurityAttributesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListSecurityAttributesRequest) String() string
- func (request ListSecurityAttributesRequest) ValidateEnumValue() (bool, error)
- type ListSecurityAttributesResponse
- type SecurityAttribute
- type SecurityAttributeClient
- func (client SecurityAttributeClient) BulkDeleteSecurityAttributes(ctx context.Context, request BulkDeleteSecurityAttributesRequest) (response BulkDeleteSecurityAttributesResponse, err error)
- func (client SecurityAttributeClient) BulkEditSecurityAttributes(ctx context.Context, request BulkEditSecurityAttributesRequest) (response BulkEditSecurityAttributesResponse, err error)
- func (client SecurityAttributeClient) CascadingDeleteSecurityAttributeNamespace(ctx context.Context, request CascadingDeleteSecurityAttributeNamespaceRequest) (response CascadingDeleteSecurityAttributeNamespaceResponse, err error)
- func (client SecurityAttributeClient) ChangeSecurityAttributeNamespaceCompartment(ctx context.Context, ...) (response ChangeSecurityAttributeNamespaceCompartmentResponse, err error)
- func (client *SecurityAttributeClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client SecurityAttributeClient) CreateSecurityAttribute(ctx context.Context, request CreateSecurityAttributeRequest) (response CreateSecurityAttributeResponse, err error)
- func (client SecurityAttributeClient) CreateSecurityAttributeNamespace(ctx context.Context, request CreateSecurityAttributeNamespaceRequest) (response CreateSecurityAttributeNamespaceResponse, err error)
- func (client SecurityAttributeClient) DeleteSecurityAttribute(ctx context.Context, request DeleteSecurityAttributeRequest) (response DeleteSecurityAttributeResponse, err error)
- func (client SecurityAttributeClient) DeleteSecurityAttributeNamespace(ctx context.Context, request DeleteSecurityAttributeNamespaceRequest) (response DeleteSecurityAttributeNamespaceResponse, err error)
- func (client SecurityAttributeClient) GetSecurityAttribute(ctx context.Context, request GetSecurityAttributeRequest) (response GetSecurityAttributeResponse, err error)
- func (client SecurityAttributeClient) GetSecurityAttributeNamespace(ctx context.Context, request GetSecurityAttributeNamespaceRequest) (response GetSecurityAttributeNamespaceResponse, err error)
- func (client SecurityAttributeClient) GetSecurityAttributeWorkRequest(ctx context.Context, request GetSecurityAttributeWorkRequestRequest) (response GetSecurityAttributeWorkRequestResponse, err error)
- func (client SecurityAttributeClient) ListSecurityAttributeNamespaces(ctx context.Context, request ListSecurityAttributeNamespacesRequest) (response ListSecurityAttributeNamespacesResponse, err error)
- func (client SecurityAttributeClient) ListSecurityAttributeWorkRequestErrors(ctx context.Context, request ListSecurityAttributeWorkRequestErrorsRequest) (response ListSecurityAttributeWorkRequestErrorsResponse, err error)
- func (client SecurityAttributeClient) ListSecurityAttributeWorkRequestLogs(ctx context.Context, request ListSecurityAttributeWorkRequestLogsRequest) (response ListSecurityAttributeWorkRequestLogsResponse, err error)
- func (client SecurityAttributeClient) ListSecurityAttributeWorkRequests(ctx context.Context, request ListSecurityAttributeWorkRequestsRequest) (response ListSecurityAttributeWorkRequestsResponse, err error)
- func (client SecurityAttributeClient) ListSecurityAttributes(ctx context.Context, request ListSecurityAttributesRequest) (response ListSecurityAttributesResponse, err error)
- func (client *SecurityAttributeClient) SetRegion(region string)
- func (client SecurityAttributeClient) UpdateSecurityAttribute(ctx context.Context, request UpdateSecurityAttributeRequest) (response UpdateSecurityAttributeResponse, err error)
- func (client SecurityAttributeClient) UpdateSecurityAttributeNamespace(ctx context.Context, request UpdateSecurityAttributeNamespaceRequest) (response UpdateSecurityAttributeNamespaceResponse, err error)
- type SecurityAttributeLifecycleStateEnum
- type SecurityAttributeNamespace
- type SecurityAttributeNamespaceLifecycleStateEnum
- type SecurityAttributeNamespaceSummary
- type SecurityAttributeSummary
- type SecurityAttributeWorkRequest
- type SecurityAttributeWorkRequestErrorSummary
- type SecurityAttributeWorkRequestLogSummary
- type SecurityAttributeWorkRequestSummary
- type SortOrderEnum
- type UpdateSecurityAttributeDetails
- type UpdateSecurityAttributeNamespaceDetails
- type UpdateSecurityAttributeNamespaceRequest
- func (request UpdateSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateSecurityAttributeNamespaceRequest) String() string
- func (request UpdateSecurityAttributeNamespaceRequest) ValidateEnumValue() (bool, error)
- type UpdateSecurityAttributeNamespaceResponse
- type UpdateSecurityAttributeRequest
- func (request UpdateSecurityAttributeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateSecurityAttributeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateSecurityAttributeRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateSecurityAttributeRequest) String() string
- func (request UpdateSecurityAttributeRequest) ValidateEnumValue() (bool, error)
- type UpdateSecurityAttributeResponse
- type WorkRequestOperationTypeEnum
- type WorkRequestResource
- type WorkRequestResourceActionTypeEnum
- type WorkRequestStatusEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseSecurityAttributeValidatorValidatorTypeEnumStringValues ¶
func GetBaseSecurityAttributeValidatorValidatorTypeEnumStringValues() []string
GetBaseSecurityAttributeValidatorValidatorTypeEnumStringValues Enumerates the set of values in String for BaseSecurityAttributeValidatorValidatorTypeEnum
func GetBulkEditSecurityAttributeOperationDetailsOperationTypeEnumStringValues ¶
func GetBulkEditSecurityAttributeOperationDetailsOperationTypeEnumStringValues() []string
GetBulkEditSecurityAttributeOperationDetailsOperationTypeEnumStringValues Enumerates the set of values in String for BulkEditSecurityAttributeOperationDetailsOperationTypeEnum
func GetListSecurityAttributeNamespacesSortByEnumStringValues ¶
func GetListSecurityAttributeNamespacesSortByEnumStringValues() []string
GetListSecurityAttributeNamespacesSortByEnumStringValues Enumerates the set of values in String for ListSecurityAttributeNamespacesSortByEnum
func GetListSecurityAttributeNamespacesSortOrderEnumStringValues ¶
func GetListSecurityAttributeNamespacesSortOrderEnumStringValues() []string
GetListSecurityAttributeNamespacesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityAttributeNamespacesSortOrderEnum
func GetSecurityAttributeLifecycleStateEnumStringValues ¶
func GetSecurityAttributeLifecycleStateEnumStringValues() []string
GetSecurityAttributeLifecycleStateEnumStringValues Enumerates the set of values in String for SecurityAttributeLifecycleStateEnum
func GetSecurityAttributeNamespaceLifecycleStateEnumStringValues ¶
func GetSecurityAttributeNamespaceLifecycleStateEnumStringValues() []string
GetSecurityAttributeNamespaceLifecycleStateEnumStringValues Enumerates the set of values in String for SecurityAttributeNamespaceLifecycleStateEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetWorkRequestOperationTypeEnumStringValues ¶
func GetWorkRequestOperationTypeEnumStringValues() []string
GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum
func GetWorkRequestResourceActionTypeEnumStringValues ¶
func GetWorkRequestResourceActionTypeEnumStringValues() []string
GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum
func GetWorkRequestStatusEnumStringValues ¶
func GetWorkRequestStatusEnumStringValues() []string
GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum
Types ¶
type BaseSecurityAttributeValidator ¶
type BaseSecurityAttributeValidator interface { }
BaseSecurityAttributeValidator Validates a security attribute value. Each validator performs validation steps in addition to the standard validation for security attribute values. For more information, see Limits on Security Attributes (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/overview.htm). If you define a validator after a value has been set for a security attribute, then any updates that attempt to change the value must pass the additional validation defined by the current rule. Previously set values (even those that would fail the current validation) are not updated. You can still update other attributes to resources that contain a non-valid security attribute. To clear the validator call UpdateSecurityAttribute with DefaultSecuirtyAttributeValidator (https://docs.cloud.oracle.com/api/#/en/securityattribute/latest/datatypes/DefaultTagDefinitionValidator).
type BaseSecurityAttributeValidatorValidatorTypeEnum ¶
type BaseSecurityAttributeValidatorValidatorTypeEnum string
BaseSecurityAttributeValidatorValidatorTypeEnum Enum with underlying type: string
const ( BaseSecurityAttributeValidatorValidatorTypeEnumvalue BaseSecurityAttributeValidatorValidatorTypeEnum = "ENUM" BaseSecurityAttributeValidatorValidatorTypeDefault BaseSecurityAttributeValidatorValidatorTypeEnum = "DEFAULT" )
Set of constants representing the allowable values for BaseSecurityAttributeValidatorValidatorTypeEnum
func GetBaseSecurityAttributeValidatorValidatorTypeEnumValues ¶
func GetBaseSecurityAttributeValidatorValidatorTypeEnumValues() []BaseSecurityAttributeValidatorValidatorTypeEnum
GetBaseSecurityAttributeValidatorValidatorTypeEnumValues Enumerates the set of values for BaseSecurityAttributeValidatorValidatorTypeEnum
func GetMappingBaseSecurityAttributeValidatorValidatorTypeEnum ¶
func GetMappingBaseSecurityAttributeValidatorValidatorTypeEnum(val string) (BaseSecurityAttributeValidatorValidatorTypeEnum, bool)
GetMappingBaseSecurityAttributeValidatorValidatorTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type BulkDeleteSecurityAttributesDetails ¶
type BulkDeleteSecurityAttributesDetails struct { // The OCIDs of the security attributes to delete. SecurityAttributeIds []string `mandatory:"true" json:"securityAttributeIds"` }
BulkDeleteSecurityAttributesDetails Properties for deleting security attributes in bulk.
func (BulkDeleteSecurityAttributesDetails) String ¶
func (m BulkDeleteSecurityAttributesDetails) String() string
func (BulkDeleteSecurityAttributesDetails) ValidateEnumValue ¶
func (m BulkDeleteSecurityAttributesDetails) 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 BulkDeleteSecurityAttributesRequest ¶
type BulkDeleteSecurityAttributesRequest struct { // Request object for deleting security attributes in bulk. BulkDeleteSecurityAttributesDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
BulkDeleteSecurityAttributesRequest wrapper for the BulkDeleteSecurityAttributes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/BulkDeleteSecurityAttributes.go.html to see an example of how to use BulkDeleteSecurityAttributesRequest.
func (BulkDeleteSecurityAttributesRequest) BinaryRequestBody ¶
func (request BulkDeleteSecurityAttributesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (BulkDeleteSecurityAttributesRequest) HTTPRequest ¶
func (request BulkDeleteSecurityAttributesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (BulkDeleteSecurityAttributesRequest) RetryPolicy ¶
func (request BulkDeleteSecurityAttributesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (BulkDeleteSecurityAttributesRequest) String ¶
func (request BulkDeleteSecurityAttributesRequest) String() string
func (BulkDeleteSecurityAttributesRequest) ValidateEnumValue ¶
func (request BulkDeleteSecurityAttributesRequest) 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 BulkDeleteSecurityAttributesResponse ¶
type BulkDeleteSecurityAttributesResponse 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.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
BulkDeleteSecurityAttributesResponse wrapper for the BulkDeleteSecurityAttributes operation
func (BulkDeleteSecurityAttributesResponse) HTTPResponse ¶
func (response BulkDeleteSecurityAttributesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (BulkDeleteSecurityAttributesResponse) String ¶
func (response BulkDeleteSecurityAttributesResponse) String() string
type BulkEditResource ¶
type BulkEditResource struct { // The unique OCID of the resource. Id *string `mandatory:"true" json:"id"` // The type of resource. See ListBulkEditTagsResourceTypes. ResourceType *string `mandatory:"true" json:"resourceType"` // Additional information that identifies the resource for bulk editing of tags. This information is provided in the resource's API documentation. Metadata map[string]string `mandatory:"false" json:"metadata"` }
BulkEditResource The representation of BulkEditResource
func (BulkEditResource) String ¶
func (m BulkEditResource) String() string
func (BulkEditResource) ValidateEnumValue ¶
func (m BulkEditResource) 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 BulkEditSecurityAttributeDetails ¶
type BulkEditSecurityAttributeDetails struct { // The OCID of the compartment where the bulk edit request is submitted. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources to be updated. Resources []BulkEditResource `mandatory:"true" json:"resources"` // The operations associated with the request to bulk edit tags. BulkEditOperations []BulkEditSecurityAttributeOperationDetails `mandatory:"true" json:"bulkEditOperations"` }
BulkEditSecurityAttributeDetails The representation of BulkEditSecurityAttributeDetails
func (BulkEditSecurityAttributeDetails) String ¶
func (m BulkEditSecurityAttributeDetails) String() string
func (BulkEditSecurityAttributeDetails) ValidateEnumValue ¶
func (m BulkEditSecurityAttributeDetails) 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 BulkEditSecurityAttributeOperationDetails ¶
type BulkEditSecurityAttributeOperationDetails struct { // An enum-like description of the type of operation. // * `ADD_WHERE_ABSENT` adds a security attribute only if it does not already exist on the resource. // * `SET_WHERE_PRESENT` updates the value for a security attribute only if it is present on the resource. // * `ADD_OR_SET` combines the first two operations to add a security attribute if it does not already exist on the resource // or update the value if it is present on the resource. // * `REMOVE` removes the security attribute from the resource. It's removed from the resource regardless of the value. OperationType BulkEditSecurityAttributeOperationDetailsOperationTypeEnum `mandatory:"true" json:"operationType"` // Security attributes for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: “{"oracle-zpr": {"td": {"value": "42", "mode": "audit"}}}“ SecurityAttributes map[string]map[string]interface{} `mandatory:"true" json:"securityAttributes"` }
BulkEditSecurityAttributeOperationDetails The representation of BulkEditSecurityAttributeOperationDetails
func (BulkEditSecurityAttributeOperationDetails) String ¶
func (m BulkEditSecurityAttributeOperationDetails) String() string
func (BulkEditSecurityAttributeOperationDetails) ValidateEnumValue ¶
func (m BulkEditSecurityAttributeOperationDetails) 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 BulkEditSecurityAttributeOperationDetailsOperationTypeEnum ¶
type BulkEditSecurityAttributeOperationDetailsOperationTypeEnum string
BulkEditSecurityAttributeOperationDetailsOperationTypeEnum Enum with underlying type: string
const ( BulkEditSecurityAttributeOperationDetailsOperationTypeAddWhereAbsent BulkEditSecurityAttributeOperationDetailsOperationTypeEnum = "ADD_WHERE_ABSENT" BulkEditSecurityAttributeOperationDetailsOperationTypeSetWherePresent BulkEditSecurityAttributeOperationDetailsOperationTypeEnum = "SET_WHERE_PRESENT" BulkEditSecurityAttributeOperationDetailsOperationTypeAddOrSet BulkEditSecurityAttributeOperationDetailsOperationTypeEnum = "ADD_OR_SET" BulkEditSecurityAttributeOperationDetailsOperationTypeRemove BulkEditSecurityAttributeOperationDetailsOperationTypeEnum = "REMOVE" )
Set of constants representing the allowable values for BulkEditSecurityAttributeOperationDetailsOperationTypeEnum
func GetBulkEditSecurityAttributeOperationDetailsOperationTypeEnumValues ¶
func GetBulkEditSecurityAttributeOperationDetailsOperationTypeEnumValues() []BulkEditSecurityAttributeOperationDetailsOperationTypeEnum
GetBulkEditSecurityAttributeOperationDetailsOperationTypeEnumValues Enumerates the set of values for BulkEditSecurityAttributeOperationDetailsOperationTypeEnum
func GetMappingBulkEditSecurityAttributeOperationDetailsOperationTypeEnum ¶
func GetMappingBulkEditSecurityAttributeOperationDetailsOperationTypeEnum(val string) (BulkEditSecurityAttributeOperationDetailsOperationTypeEnum, bool)
GetMappingBulkEditSecurityAttributeOperationDetailsOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type BulkEditSecurityAttributesRequest ¶
type BulkEditSecurityAttributesRequest struct { // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The request object for bulk editing security attributes on resources in the compartment. BulkEditSecurityAttributeDetails `contributesTo:"body"` // 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 }
BulkEditSecurityAttributesRequest wrapper for the BulkEditSecurityAttributes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/BulkEditSecurityAttributes.go.html to see an example of how to use BulkEditSecurityAttributesRequest.
func (BulkEditSecurityAttributesRequest) BinaryRequestBody ¶
func (request BulkEditSecurityAttributesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (BulkEditSecurityAttributesRequest) HTTPRequest ¶
func (request BulkEditSecurityAttributesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (BulkEditSecurityAttributesRequest) RetryPolicy ¶
func (request BulkEditSecurityAttributesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (BulkEditSecurityAttributesRequest) String ¶
func (request BulkEditSecurityAttributesRequest) String() string
func (BulkEditSecurityAttributesRequest) ValidateEnumValue ¶
func (request BulkEditSecurityAttributesRequest) 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 BulkEditSecurityAttributesResponse ¶
type BulkEditSecurityAttributesResponse 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.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
BulkEditSecurityAttributesResponse wrapper for the BulkEditSecurityAttributes operation
func (BulkEditSecurityAttributesResponse) HTTPResponse ¶
func (response BulkEditSecurityAttributesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (BulkEditSecurityAttributesResponse) String ¶
func (response BulkEditSecurityAttributesResponse) String() string
type CascadingDeleteSecurityAttributeNamespaceRequest ¶
type CascadingDeleteSecurityAttributeNamespaceRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CascadingDeleteSecurityAttributeNamespaceRequest wrapper for the CascadingDeleteSecurityAttributeNamespace operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/CascadingDeleteSecurityAttributeNamespace.go.html to see an example of how to use CascadingDeleteSecurityAttributeNamespaceRequest.
func (CascadingDeleteSecurityAttributeNamespaceRequest) BinaryRequestBody ¶
func (request CascadingDeleteSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CascadingDeleteSecurityAttributeNamespaceRequest) HTTPRequest ¶
func (request CascadingDeleteSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CascadingDeleteSecurityAttributeNamespaceRequest) RetryPolicy ¶
func (request CascadingDeleteSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CascadingDeleteSecurityAttributeNamespaceRequest) String ¶
func (request CascadingDeleteSecurityAttributeNamespaceRequest) String() string
func (CascadingDeleteSecurityAttributeNamespaceRequest) ValidateEnumValue ¶
func (request CascadingDeleteSecurityAttributeNamespaceRequest) 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 CascadingDeleteSecurityAttributeNamespaceResponse ¶
type CascadingDeleteSecurityAttributeNamespaceResponse 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.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CascadingDeleteSecurityAttributeNamespaceResponse wrapper for the CascadingDeleteSecurityAttributeNamespace operation
func (CascadingDeleteSecurityAttributeNamespaceResponse) HTTPResponse ¶
func (response CascadingDeleteSecurityAttributeNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CascadingDeleteSecurityAttributeNamespaceResponse) String ¶
func (response CascadingDeleteSecurityAttributeNamespaceResponse) String() string
type ChangeSecurityAttributeNamespaceCompartmentDetails ¶
type ChangeSecurityAttributeNamespaceCompartmentDetails struct { // The Oracle Cloud ID (OCID) of the destination compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeSecurityAttributeNamespaceCompartmentDetails Details of the compartment the resource is being moved to.
func (ChangeSecurityAttributeNamespaceCompartmentDetails) String ¶
func (m ChangeSecurityAttributeNamespaceCompartmentDetails) String() string
func (ChangeSecurityAttributeNamespaceCompartmentDetails) ValidateEnumValue ¶
func (m ChangeSecurityAttributeNamespaceCompartmentDetails) 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 ChangeSecurityAttributeNamespaceCompartmentRequest ¶
type ChangeSecurityAttributeNamespaceCompartmentRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // Request object for changing the compartment of a security attribute namespace. ChangeSecurityAttributeNamespaceCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeSecurityAttributeNamespaceCompartmentRequest wrapper for the ChangeSecurityAttributeNamespaceCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ChangeSecurityAttributeNamespaceCompartment.go.html to see an example of how to use ChangeSecurityAttributeNamespaceCompartmentRequest.
func (ChangeSecurityAttributeNamespaceCompartmentRequest) BinaryRequestBody ¶
func (request ChangeSecurityAttributeNamespaceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeSecurityAttributeNamespaceCompartmentRequest) HTTPRequest ¶
func (request ChangeSecurityAttributeNamespaceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeSecurityAttributeNamespaceCompartmentRequest) RetryPolicy ¶
func (request ChangeSecurityAttributeNamespaceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeSecurityAttributeNamespaceCompartmentRequest) String ¶
func (request ChangeSecurityAttributeNamespaceCompartmentRequest) String() string
func (ChangeSecurityAttributeNamespaceCompartmentRequest) ValidateEnumValue ¶
func (request ChangeSecurityAttributeNamespaceCompartmentRequest) 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 ChangeSecurityAttributeNamespaceCompartmentResponse ¶
type ChangeSecurityAttributeNamespaceCompartmentResponse 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"` }
ChangeSecurityAttributeNamespaceCompartmentResponse wrapper for the ChangeSecurityAttributeNamespaceCompartment operation
func (ChangeSecurityAttributeNamespaceCompartmentResponse) HTTPResponse ¶
func (response ChangeSecurityAttributeNamespaceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeSecurityAttributeNamespaceCompartmentResponse) String ¶
func (response ChangeSecurityAttributeNamespaceCompartmentResponse) String() string
type CreateSecurityAttributeDetails ¶
type CreateSecurityAttributeDetails struct { // The name you assign to the security attribute during creation. This is the security attribute key. // The name must be unique within the namespace and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the security attribute during creation. Description *string `mandatory:"true" json:"description"` Validator BaseSecurityAttributeValidator `mandatory:"false" json:"validator"` }
CreateSecurityAttributeDetails Details of the security attribute to be created for a specific security attribute namespace.
func (CreateSecurityAttributeDetails) String ¶
func (m CreateSecurityAttributeDetails) String() string
func (*CreateSecurityAttributeDetails) UnmarshalJSON ¶
func (m *CreateSecurityAttributeDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateSecurityAttributeDetails) ValidateEnumValue ¶
func (m CreateSecurityAttributeDetails) 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 CreateSecurityAttributeNamespaceDetails ¶
type CreateSecurityAttributeNamespaceDetails struct { // The OCID of the tenancy containing the security attribute namespace. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the security attribute namespace during creation. Description *string `mandatory:"true" 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.cloud.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.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateSecurityAttributeNamespaceDetails Details of the security attribute namespace to be created for a specific compartment.
func (CreateSecurityAttributeNamespaceDetails) String ¶
func (m CreateSecurityAttributeNamespaceDetails) String() string
func (CreateSecurityAttributeNamespaceDetails) ValidateEnumValue ¶
func (m CreateSecurityAttributeNamespaceDetails) 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 CreateSecurityAttributeNamespaceRequest ¶
type CreateSecurityAttributeNamespaceRequest struct { // Request object for creating a new security attribute namespace. CreateSecurityAttributeNamespaceDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateSecurityAttributeNamespaceRequest wrapper for the CreateSecurityAttributeNamespace operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/CreateSecurityAttributeNamespace.go.html to see an example of how to use CreateSecurityAttributeNamespaceRequest.
func (CreateSecurityAttributeNamespaceRequest) BinaryRequestBody ¶
func (request CreateSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateSecurityAttributeNamespaceRequest) HTTPRequest ¶
func (request CreateSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateSecurityAttributeNamespaceRequest) RetryPolicy ¶
func (request CreateSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateSecurityAttributeNamespaceRequest) String ¶
func (request CreateSecurityAttributeNamespaceRequest) String() string
func (CreateSecurityAttributeNamespaceRequest) ValidateEnumValue ¶
func (request CreateSecurityAttributeNamespaceRequest) 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 CreateSecurityAttributeNamespaceResponse ¶
type CreateSecurityAttributeNamespaceResponse struct { // The underlying http response RawResponse *http.Response // The SecurityAttributeNamespace instance SecurityAttributeNamespace `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateSecurityAttributeNamespaceResponse wrapper for the CreateSecurityAttributeNamespace operation
func (CreateSecurityAttributeNamespaceResponse) HTTPResponse ¶
func (response CreateSecurityAttributeNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateSecurityAttributeNamespaceResponse) String ¶
func (response CreateSecurityAttributeNamespaceResponse) String() string
type CreateSecurityAttributeRequest ¶
type CreateSecurityAttributeRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // Request object for creating a new security attribute in the specified security attribute namespace. CreateSecurityAttributeDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateSecurityAttributeRequest wrapper for the CreateSecurityAttribute operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/CreateSecurityAttribute.go.html to see an example of how to use CreateSecurityAttributeRequest.
func (CreateSecurityAttributeRequest) BinaryRequestBody ¶
func (request CreateSecurityAttributeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateSecurityAttributeRequest) HTTPRequest ¶
func (request CreateSecurityAttributeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateSecurityAttributeRequest) RetryPolicy ¶
func (request CreateSecurityAttributeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateSecurityAttributeRequest) String ¶
func (request CreateSecurityAttributeRequest) String() string
func (CreateSecurityAttributeRequest) ValidateEnumValue ¶
func (request CreateSecurityAttributeRequest) 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 CreateSecurityAttributeResponse ¶
type CreateSecurityAttributeResponse struct { // The underlying http response RawResponse *http.Response // The SecurityAttribute instance SecurityAttribute `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateSecurityAttributeResponse wrapper for the CreateSecurityAttribute operation
func (CreateSecurityAttributeResponse) HTTPResponse ¶
func (response CreateSecurityAttributeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateSecurityAttributeResponse) String ¶
func (response CreateSecurityAttributeResponse) String() string
type DefaultSecurityAttributeValidator ¶
type DefaultSecurityAttributeValidator struct { }
DefaultSecurityAttributeValidator Use this validator to clear any existing validator on the security attribute with the UpdateSecurityAttribute operation. Using this `validatorType` is the same as not setting any value on the validator field. The resultant value for `validatorType` returned in the response body is `null`.
func (DefaultSecurityAttributeValidator) MarshalJSON ¶
func (m DefaultSecurityAttributeValidator) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DefaultSecurityAttributeValidator) String ¶
func (m DefaultSecurityAttributeValidator) String() string
func (DefaultSecurityAttributeValidator) ValidateEnumValue ¶
func (m DefaultSecurityAttributeValidator) 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 DeleteSecurityAttributeNamespaceRequest ¶
type DeleteSecurityAttributeNamespaceRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteSecurityAttributeNamespaceRequest wrapper for the DeleteSecurityAttributeNamespace operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/DeleteSecurityAttributeNamespace.go.html to see an example of how to use DeleteSecurityAttributeNamespaceRequest.
func (DeleteSecurityAttributeNamespaceRequest) BinaryRequestBody ¶
func (request DeleteSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteSecurityAttributeNamespaceRequest) HTTPRequest ¶
func (request DeleteSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteSecurityAttributeNamespaceRequest) RetryPolicy ¶
func (request DeleteSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteSecurityAttributeNamespaceRequest) String ¶
func (request DeleteSecurityAttributeNamespaceRequest) String() string
func (DeleteSecurityAttributeNamespaceRequest) ValidateEnumValue ¶
func (request DeleteSecurityAttributeNamespaceRequest) 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 DeleteSecurityAttributeNamespaceResponse ¶
type DeleteSecurityAttributeNamespaceResponse 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"` }
DeleteSecurityAttributeNamespaceResponse wrapper for the DeleteSecurityAttributeNamespace operation
func (DeleteSecurityAttributeNamespaceResponse) HTTPResponse ¶
func (response DeleteSecurityAttributeNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteSecurityAttributeNamespaceResponse) String ¶
func (response DeleteSecurityAttributeNamespaceResponse) String() string
type DeleteSecurityAttributeRequest ¶
type DeleteSecurityAttributeRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // The name of the security attribute. SecurityAttributeName *string `mandatory:"true" contributesTo:"path" name:"securityAttributeName"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteSecurityAttributeRequest wrapper for the DeleteSecurityAttribute operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/DeleteSecurityAttribute.go.html to see an example of how to use DeleteSecurityAttributeRequest.
func (DeleteSecurityAttributeRequest) BinaryRequestBody ¶
func (request DeleteSecurityAttributeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteSecurityAttributeRequest) HTTPRequest ¶
func (request DeleteSecurityAttributeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteSecurityAttributeRequest) RetryPolicy ¶
func (request DeleteSecurityAttributeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteSecurityAttributeRequest) String ¶
func (request DeleteSecurityAttributeRequest) String() string
func (DeleteSecurityAttributeRequest) ValidateEnumValue ¶
func (request DeleteSecurityAttributeRequest) 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 DeleteSecurityAttributeResponse ¶
type DeleteSecurityAttributeResponse 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.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteSecurityAttributeResponse wrapper for the DeleteSecurityAttribute operation
func (DeleteSecurityAttributeResponse) HTTPResponse ¶
func (response DeleteSecurityAttributeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteSecurityAttributeResponse) String ¶
func (response DeleteSecurityAttributeResponse) String() string
type EnumSecurityAttributeValidator ¶
type EnumSecurityAttributeValidator struct { // The list of allowed values for a security attribute value. Values []string `mandatory:"false" json:"values"` }
EnumSecurityAttributeValidator Used to validate the value set for a security attribute and contains the list of allowable `values`. You must specify at least one valid value in the `values` array. You can't have blank or or empty strings (`""`). Duplicate values are not allowed.
func (EnumSecurityAttributeValidator) MarshalJSON ¶
func (m EnumSecurityAttributeValidator) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EnumSecurityAttributeValidator) String ¶
func (m EnumSecurityAttributeValidator) String() string
func (EnumSecurityAttributeValidator) ValidateEnumValue ¶
func (m EnumSecurityAttributeValidator) 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 GetSecurityAttributeNamespaceRequest ¶
type GetSecurityAttributeNamespaceRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetSecurityAttributeNamespaceRequest wrapper for the GetSecurityAttributeNamespace operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/GetSecurityAttributeNamespace.go.html to see an example of how to use GetSecurityAttributeNamespaceRequest.
func (GetSecurityAttributeNamespaceRequest) BinaryRequestBody ¶
func (request GetSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetSecurityAttributeNamespaceRequest) HTTPRequest ¶
func (request GetSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetSecurityAttributeNamespaceRequest) RetryPolicy ¶
func (request GetSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetSecurityAttributeNamespaceRequest) String ¶
func (request GetSecurityAttributeNamespaceRequest) String() string
func (GetSecurityAttributeNamespaceRequest) ValidateEnumValue ¶
func (request GetSecurityAttributeNamespaceRequest) 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 GetSecurityAttributeNamespaceResponse ¶
type GetSecurityAttributeNamespaceResponse struct { // The underlying http response RawResponse *http.Response // The SecurityAttributeNamespace instance SecurityAttributeNamespace `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetSecurityAttributeNamespaceResponse wrapper for the GetSecurityAttributeNamespace operation
func (GetSecurityAttributeNamespaceResponse) HTTPResponse ¶
func (response GetSecurityAttributeNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetSecurityAttributeNamespaceResponse) String ¶
func (response GetSecurityAttributeNamespaceResponse) String() string
type GetSecurityAttributeRequest ¶
type GetSecurityAttributeRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // The name of the security attribute. SecurityAttributeName *string `mandatory:"true" contributesTo:"path" name:"securityAttributeName"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetSecurityAttributeRequest wrapper for the GetSecurityAttribute operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/GetSecurityAttribute.go.html to see an example of how to use GetSecurityAttributeRequest.
func (GetSecurityAttributeRequest) BinaryRequestBody ¶
func (request GetSecurityAttributeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetSecurityAttributeRequest) HTTPRequest ¶
func (request GetSecurityAttributeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetSecurityAttributeRequest) RetryPolicy ¶
func (request GetSecurityAttributeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetSecurityAttributeRequest) String ¶
func (request GetSecurityAttributeRequest) String() string
func (GetSecurityAttributeRequest) ValidateEnumValue ¶
func (request GetSecurityAttributeRequest) 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 GetSecurityAttributeResponse ¶
type GetSecurityAttributeResponse struct { // The underlying http response RawResponse *http.Response // The SecurityAttribute instance SecurityAttribute `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetSecurityAttributeResponse wrapper for the GetSecurityAttribute operation
func (GetSecurityAttributeResponse) HTTPResponse ¶
func (response GetSecurityAttributeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetSecurityAttributeResponse) String ¶
func (response GetSecurityAttributeResponse) String() string
type GetSecurityAttributeWorkRequestRequest ¶
type GetSecurityAttributeWorkRequestRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetSecurityAttributeWorkRequestRequest wrapper for the GetSecurityAttributeWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/GetSecurityAttributeWorkRequest.go.html to see an example of how to use GetSecurityAttributeWorkRequestRequest.
func (GetSecurityAttributeWorkRequestRequest) BinaryRequestBody ¶
func (request GetSecurityAttributeWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetSecurityAttributeWorkRequestRequest) HTTPRequest ¶
func (request GetSecurityAttributeWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetSecurityAttributeWorkRequestRequest) RetryPolicy ¶
func (request GetSecurityAttributeWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetSecurityAttributeWorkRequestRequest) String ¶
func (request GetSecurityAttributeWorkRequestRequest) String() string
func (GetSecurityAttributeWorkRequestRequest) ValidateEnumValue ¶
func (request GetSecurityAttributeWorkRequestRequest) 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 GetSecurityAttributeWorkRequestResponse ¶
type GetSecurityAttributeWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The SecurityAttributeWorkRequest instance SecurityAttributeWorkRequest `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 number of seconds that the client should wait before polling again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
GetSecurityAttributeWorkRequestResponse wrapper for the GetSecurityAttributeWorkRequest operation
func (GetSecurityAttributeWorkRequestResponse) HTTPResponse ¶
func (response GetSecurityAttributeWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetSecurityAttributeWorkRequestResponse) String ¶
func (response GetSecurityAttributeWorkRequestResponse) String() string
type ListSecurityAttributeNamespacesRequest ¶
type ListSecurityAttributeNamespacesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListSecurityAttributeNamespacesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListSecurityAttributeNamespacesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // An optional boolean parameter indicating whether to retrieve all security attribute namespaces in subcompartments. If this // parameter is not specified, only the namespaces defined in the specified compartment are retrieved. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState SecurityAttributeNamespaceLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 }
ListSecurityAttributeNamespacesRequest wrapper for the ListSecurityAttributeNamespaces operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributeNamespaces.go.html to see an example of how to use ListSecurityAttributeNamespacesRequest.
func (ListSecurityAttributeNamespacesRequest) BinaryRequestBody ¶
func (request ListSecurityAttributeNamespacesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSecurityAttributeNamespacesRequest) HTTPRequest ¶
func (request ListSecurityAttributeNamespacesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSecurityAttributeNamespacesRequest) RetryPolicy ¶
func (request ListSecurityAttributeNamespacesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSecurityAttributeNamespacesRequest) String ¶
func (request ListSecurityAttributeNamespacesRequest) String() string
func (ListSecurityAttributeNamespacesRequest) ValidateEnumValue ¶
func (request ListSecurityAttributeNamespacesRequest) 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 ListSecurityAttributeNamespacesResponse ¶
type ListSecurityAttributeNamespacesResponse struct { // The underlying http response RawResponse *http.Response // A list of []SecurityAttributeNamespaceSummary instances Items []SecurityAttributeNamespaceSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of namespaces. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListSecurityAttributeNamespacesResponse wrapper for the ListSecurityAttributeNamespaces operation
func (ListSecurityAttributeNamespacesResponse) HTTPResponse ¶
func (response ListSecurityAttributeNamespacesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSecurityAttributeNamespacesResponse) String ¶
func (response ListSecurityAttributeNamespacesResponse) String() string
type ListSecurityAttributeNamespacesSortByEnum ¶
type ListSecurityAttributeNamespacesSortByEnum string
ListSecurityAttributeNamespacesSortByEnum Enum with underlying type: string
const ( ListSecurityAttributeNamespacesSortByTimecreated ListSecurityAttributeNamespacesSortByEnum = "TIMECREATED" ListSecurityAttributeNamespacesSortByName ListSecurityAttributeNamespacesSortByEnum = "NAME" )
Set of constants representing the allowable values for ListSecurityAttributeNamespacesSortByEnum
func GetListSecurityAttributeNamespacesSortByEnumValues ¶
func GetListSecurityAttributeNamespacesSortByEnumValues() []ListSecurityAttributeNamespacesSortByEnum
GetListSecurityAttributeNamespacesSortByEnumValues Enumerates the set of values for ListSecurityAttributeNamespacesSortByEnum
func GetMappingListSecurityAttributeNamespacesSortByEnum ¶
func GetMappingListSecurityAttributeNamespacesSortByEnum(val string) (ListSecurityAttributeNamespacesSortByEnum, bool)
GetMappingListSecurityAttributeNamespacesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListSecurityAttributeNamespacesSortOrderEnum ¶
type ListSecurityAttributeNamespacesSortOrderEnum string
ListSecurityAttributeNamespacesSortOrderEnum Enum with underlying type: string
const ( ListSecurityAttributeNamespacesSortOrderAsc ListSecurityAttributeNamespacesSortOrderEnum = "ASC" ListSecurityAttributeNamespacesSortOrderDesc ListSecurityAttributeNamespacesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListSecurityAttributeNamespacesSortOrderEnum
func GetListSecurityAttributeNamespacesSortOrderEnumValues ¶
func GetListSecurityAttributeNamespacesSortOrderEnumValues() []ListSecurityAttributeNamespacesSortOrderEnum
GetListSecurityAttributeNamespacesSortOrderEnumValues Enumerates the set of values for ListSecurityAttributeNamespacesSortOrderEnum
func GetMappingListSecurityAttributeNamespacesSortOrderEnum ¶
func GetMappingListSecurityAttributeNamespacesSortOrderEnum(val string) (ListSecurityAttributeNamespacesSortOrderEnum, bool)
GetMappingListSecurityAttributeNamespacesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListSecurityAttributeWorkRequestErrorsRequest ¶
type ListSecurityAttributeWorkRequestErrorsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListSecurityAttributeWorkRequestErrorsRequest wrapper for the ListSecurityAttributeWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributeWorkRequestErrors.go.html to see an example of how to use ListSecurityAttributeWorkRequestErrorsRequest.
func (ListSecurityAttributeWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListSecurityAttributeWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSecurityAttributeWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListSecurityAttributeWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSecurityAttributeWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListSecurityAttributeWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSecurityAttributeWorkRequestErrorsRequest) String ¶
func (request ListSecurityAttributeWorkRequestErrorsRequest) String() string
func (ListSecurityAttributeWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListSecurityAttributeWorkRequestErrorsRequest) 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 ListSecurityAttributeWorkRequestErrorsResponse ¶
type ListSecurityAttributeWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []SecurityAttributeWorkRequestErrorSummary instances Items []SecurityAttributeWorkRequestErrorSummary `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 number of seconds that the client should wait before polling again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListSecurityAttributeWorkRequestErrorsResponse wrapper for the ListSecurityAttributeWorkRequestErrors operation
func (ListSecurityAttributeWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListSecurityAttributeWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSecurityAttributeWorkRequestErrorsResponse) String ¶
func (response ListSecurityAttributeWorkRequestErrorsResponse) String() string
type ListSecurityAttributeWorkRequestLogsRequest ¶
type ListSecurityAttributeWorkRequestLogsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListSecurityAttributeWorkRequestLogsRequest wrapper for the ListSecurityAttributeWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributeWorkRequestLogs.go.html to see an example of how to use ListSecurityAttributeWorkRequestLogsRequest.
func (ListSecurityAttributeWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListSecurityAttributeWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSecurityAttributeWorkRequestLogsRequest) HTTPRequest ¶
func (request ListSecurityAttributeWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSecurityAttributeWorkRequestLogsRequest) RetryPolicy ¶
func (request ListSecurityAttributeWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSecurityAttributeWorkRequestLogsRequest) String ¶
func (request ListSecurityAttributeWorkRequestLogsRequest) String() string
func (ListSecurityAttributeWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListSecurityAttributeWorkRequestLogsRequest) 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 ListSecurityAttributeWorkRequestLogsResponse ¶
type ListSecurityAttributeWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []SecurityAttributeWorkRequestLogSummary instances Items []SecurityAttributeWorkRequestLogSummary `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 number of seconds that the client should wait before polling again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListSecurityAttributeWorkRequestLogsResponse wrapper for the ListSecurityAttributeWorkRequestLogs operation
func (ListSecurityAttributeWorkRequestLogsResponse) HTTPResponse ¶
func (response ListSecurityAttributeWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSecurityAttributeWorkRequestLogsResponse) String ¶
func (response ListSecurityAttributeWorkRequestLogsResponse) String() string
type ListSecurityAttributeWorkRequestsRequest ¶
type ListSecurityAttributeWorkRequestsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The identifier of the resource the work request affects. ResourceIdentifier *string `mandatory:"false" contributesTo:"query" name:"resourceIdentifier"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListSecurityAttributeWorkRequestsRequest wrapper for the ListSecurityAttributeWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributeWorkRequests.go.html to see an example of how to use ListSecurityAttributeWorkRequestsRequest.
func (ListSecurityAttributeWorkRequestsRequest) BinaryRequestBody ¶
func (request ListSecurityAttributeWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSecurityAttributeWorkRequestsRequest) HTTPRequest ¶
func (request ListSecurityAttributeWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSecurityAttributeWorkRequestsRequest) RetryPolicy ¶
func (request ListSecurityAttributeWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSecurityAttributeWorkRequestsRequest) String ¶
func (request ListSecurityAttributeWorkRequestsRequest) String() string
func (ListSecurityAttributeWorkRequestsRequest) ValidateEnumValue ¶
func (request ListSecurityAttributeWorkRequestsRequest) 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 ListSecurityAttributeWorkRequestsResponse ¶
type ListSecurityAttributeWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []SecurityAttributeWorkRequestSummary instances Items []SecurityAttributeWorkRequestSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListSecurityAttributeWorkRequestsResponse wrapper for the ListSecurityAttributeWorkRequests operation
func (ListSecurityAttributeWorkRequestsResponse) HTTPResponse ¶
func (response ListSecurityAttributeWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSecurityAttributeWorkRequestsResponse) String ¶
func (response ListSecurityAttributeWorkRequestsResponse) String() string
type ListSecurityAttributesRequest ¶
type ListSecurityAttributesRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState SecurityAttributeLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 }
ListSecurityAttributesRequest wrapper for the ListSecurityAttributes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributes.go.html to see an example of how to use ListSecurityAttributesRequest.
func (ListSecurityAttributesRequest) BinaryRequestBody ¶
func (request ListSecurityAttributesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListSecurityAttributesRequest) HTTPRequest ¶
func (request ListSecurityAttributesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSecurityAttributesRequest) RetryPolicy ¶
func (request ListSecurityAttributesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSecurityAttributesRequest) String ¶
func (request ListSecurityAttributesRequest) String() string
func (ListSecurityAttributesRequest) ValidateEnumValue ¶
func (request ListSecurityAttributesRequest) 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 ListSecurityAttributesResponse ¶
type ListSecurityAttributesResponse struct { // The underlying http response RawResponse *http.Response // A list of []SecurityAttributeSummary instances Items []SecurityAttributeSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of security attributes. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListSecurityAttributesResponse wrapper for the ListSecurityAttributes operation
func (ListSecurityAttributesResponse) HTTPResponse ¶
func (response ListSecurityAttributesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSecurityAttributesResponse) String ¶
func (response ListSecurityAttributesResponse) String() string
type SecurityAttribute ¶
type SecurityAttribute struct { // The OCID of the compartment that contains the security attribute definition. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the security attribute namespace that contains the security attribute definition. SecurityAttributeNamespaceId *string `mandatory:"true" json:"securityAttributeNamespaceId"` // The name of the security attribute namespace that contains the security attribute. SecurityAttributeNamespaceName *string `mandatory:"true" json:"securityAttributeNamespaceName"` // The OCID of the security attribute definition. Id *string `mandatory:"true" json:"id"` // The name assigned to the security attribute during creation. This is the security attribute key. // The name must be unique within the security attribute namespace and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description of the security attribute. Description *string `mandatory:"true" json:"description"` // Indicates whether the security attribute is retired. // See Managing Security Attribute Namespaces (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm). IsRetired *bool `mandatory:"true" json:"isRetired"` // Date and time the security attribute was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The data type of the security attribute. Type *string `mandatory:"false" json:"type"` // The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted tag's `lifecycleState` changes from DELETING to DELETED. LifecycleState SecurityAttributeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` Validator BaseSecurityAttributeValidator `mandatory:"false" json:"validator"` }
SecurityAttribute A security attribute that belongs to a specific security attribute namespace. Security attributes must be created in a tenancy before a user can apply them to resources. For more information, see Managing Security Attributes (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/managing-security-attributes.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
func (SecurityAttribute) String ¶
func (m SecurityAttribute) String() string
func (*SecurityAttribute) UnmarshalJSON ¶
func (m *SecurityAttribute) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (SecurityAttribute) ValidateEnumValue ¶
func (m SecurityAttribute) 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 SecurityAttributeClient ¶
type SecurityAttributeClient struct { common.BaseClient // contains filtered or unexported fields }
SecurityAttributeClient a client for SecurityAttribute
func NewSecurityAttributeClientWithConfigurationProvider ¶
func NewSecurityAttributeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client SecurityAttributeClient, err error)
NewSecurityAttributeClientWithConfigurationProvider Creates a new default SecurityAttribute client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewSecurityAttributeClientWithOboToken ¶
func NewSecurityAttributeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client SecurityAttributeClient, err error)
NewSecurityAttributeClientWithOboToken Creates a new default SecurityAttribute 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 (SecurityAttributeClient) BulkDeleteSecurityAttributes ¶
func (client SecurityAttributeClient) BulkDeleteSecurityAttributes(ctx context.Context, request BulkDeleteSecurityAttributesRequest) (response BulkDeleteSecurityAttributesResponse, err error)
BulkDeleteSecurityAttributes Deletes the specified security attribute definitions. This operation triggers a process that removes the security attributes from all resources in your tenancy. The security attributes must be within the same security attribute namespace.
The following actions happen immediately:
After you start this operation, the state of the tag changes to DELETING, and security attribute removal from resources begins. This process can take up to 48 hours depending on the number of resources that are tagged and the regions in which those resources reside.
When all security attributes have been removed, the state changes to DELETED. You cannot restore a deleted security attribute. After the security attribute state changes to DELETED, you can use the same security attribute name again.
After you start this operation, you cannot start either the DeleteSecurityAttribute or the CascadeDeleteSecurityAttributeNamespace operation until this process completes.
In order to delete security attribute, you must first retire the security attribute. Use UpdateSecurityAttribute to retire a security attribute.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/BulkDeleteSecurityAttributes.go.html to see an example of how to use BulkDeleteSecurityAttributes API. A default retry strategy applies to this operation BulkDeleteSecurityAttributes()
func (SecurityAttributeClient) BulkEditSecurityAttributes ¶
func (client SecurityAttributeClient) BulkEditSecurityAttributes(ctx context.Context, request BulkEditSecurityAttributesRequest) (response BulkEditSecurityAttributesResponse, err error)
BulkEditSecurityAttributes Edits the specified list of security attributes for the selected resources. This operation triggers a process that edits the attributes on all selected resources. The possible actions are:
- Add a security attribute when it does not already exist on the resource.
- Update the value for a security attribute when it is present on the resource.
- Add a security attribute when it does not already exist on the resource or update the value when it is present on the resource.
- Remove a security attribute from a resource. The security attribute is removed from the resource regardless of the value.
The edits can include a combination of operations and attributes. However, multiple operations cannot apply to the same attribute in the same request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/BulkEditSecurityAttributes.go.html to see an example of how to use BulkEditSecurityAttributes API. A default retry strategy applies to this operation BulkEditSecurityAttributes()
func (SecurityAttributeClient) CascadingDeleteSecurityAttributeNamespace ¶
func (client SecurityAttributeClient) CascadingDeleteSecurityAttributeNamespace(ctx context.Context, request CascadingDeleteSecurityAttributeNamespaceRequest) (response CascadingDeleteSecurityAttributeNamespaceResponse, err error)
CascadingDeleteSecurityAttributeNamespace Deletes the specified security attribute namespace. This operation triggers a process that removes all of the security attributes defined in the specified security attribute namespace from all resources in your tenancy and then deletes the security attribute namespace. After you start the delete operation:
- New security attribute key definitions cannot be created under the namespace.
- The state of the security attribute namespace changes to DELETING.
- Security attribute removal from the resources begins.
This process can take up to 48 hours depending on the number of security attributes in the namespace, the number of resources that are tagged, and the locations of the regions in which those resources reside. After all security attributes are removed, the state changes to DELETED. You cannot restore a deleted security attribute namespace. After the deleted security attribute namespace changes its state to DELETED, you can use the name of the deleted security attribute namespace again. After you start this operation, you cannot start either the DeleteSecurityAttribute or the BulkDeleteSecurityAttributes operation until this process completes. To delete a security attribute namespace, you must first retire it. Use UpdateSecurityAttributeNamespace to retire a security attribute namespace.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/CascadingDeleteSecurityAttributeNamespace.go.html to see an example of how to use CascadingDeleteSecurityAttributeNamespace API. A default retry strategy applies to this operation CascadingDeleteSecurityAttributeNamespace()
func (SecurityAttributeClient) ChangeSecurityAttributeNamespaceCompartment ¶
func (client SecurityAttributeClient) ChangeSecurityAttributeNamespaceCompartment(ctx context.Context, request ChangeSecurityAttributeNamespaceCompartmentRequest) (response ChangeSecurityAttributeNamespaceCompartmentResponse, err error)
ChangeSecurityAttributeNamespaceCompartment Moves the specified security attribute namespace to the specified compartment within the same tenancy. To move the security attribute namespace, you must have the manage security-attributes permission on both compartments. For more information about IAM policies, see Details for IAM (https://docs.cloud.oracle.com/Content/Identity/policyreference/iampolicyreference.htm). Moving a security attribute namespace moves all the security attributes contained in the security attribute namespace.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ChangeSecurityAttributeNamespaceCompartment.go.html to see an example of how to use ChangeSecurityAttributeNamespaceCompartment API. A default retry strategy applies to this operation ChangeSecurityAttributeNamespaceCompartment()
func (*SecurityAttributeClient) ConfigurationProvider ¶
func (client *SecurityAttributeClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (SecurityAttributeClient) CreateSecurityAttribute ¶
func (client SecurityAttributeClient) CreateSecurityAttribute(ctx context.Context, request CreateSecurityAttributeRequest) (response CreateSecurityAttributeResponse, err error)
CreateSecurityAttribute Creates a new security attribute in the specified security attribute namespace. The security attribute requires either the OCID or the name of the security attribute namespace that will contain this security attribute. You must specify a *name* for the attribute, which must be unique across all attributes in the security attribute namespace and cannot be changed. The only valid characters for security attribute names are: 0-9, A-Z, a-z, -, _ characters. Names are case insensitive. That means, for example, "mySecurityAttribute" and "mysecurityattribute" are not allowed in the same namespace. If you specify a name that's already in use in the security attribute namespace, a 409 error is returned. The security attribute must have a *description*. It does not have to be unique, and you can change it with UpdateSecurityAttribute. The security attribute must have a value type, which is specified with a validator. Security attribute can use either a static value or a list of possible values. Static values are entered by a user applying the security attribute to a resource. Lists are created by the user and the user must apply a value from the list. Lists are validated.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/CreateSecurityAttribute.go.html to see an example of how to use CreateSecurityAttribute API. A default retry strategy applies to this operation CreateSecurityAttribute()
func (SecurityAttributeClient) CreateSecurityAttributeNamespace ¶
func (client SecurityAttributeClient) CreateSecurityAttributeNamespace(ctx context.Context, request CreateSecurityAttributeNamespaceRequest) (response CreateSecurityAttributeNamespaceResponse, err error)
CreateSecurityAttributeNamespace Creates a new security attribute namespace in the specified compartment. You must specify the compartment ID in the request object (remember that the tenancy is simply the root compartment). You must also specify a *name* for the namespace, which must be unique across all namespaces in your tenancy and cannot be changed. The only valid characters for security attribute names are: 0-9, A-Z, a-z, -, _ characters. Names are case insensitive. That means, for example, "myNamespace" and "mynamespace" are not allowed in the same tenancy. Once you created a namespace, you cannot change the name. If you specify a name that's already in use in the tenancy, a 409 error is returned. You must also specify a *description* for the namespace. It does not have to be unique, and you can change it with SecurityAttributeNamespace.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/CreateSecurityAttributeNamespace.go.html to see an example of how to use CreateSecurityAttributeNamespace API. A default retry strategy applies to this operation CreateSecurityAttributeNamespace()
func (SecurityAttributeClient) DeleteSecurityAttribute ¶
func (client SecurityAttributeClient) DeleteSecurityAttribute(ctx context.Context, request DeleteSecurityAttributeRequest) (response DeleteSecurityAttributeResponse, err error)
DeleteSecurityAttribute Deletes the specified security attribute. This operation triggers a process that removes the security attribute from all resources in your tenancy. When you start the delete operation, the state of the security attribute changes to DELETING and security attribute removal from resources begins. This can take up to 48 hours depending on the number of resources that were tagged as well as the regions in which those resources reside. When all attributes have been removed, the state changes to DELETED. You cannot restore a deleted attribute. Once the deleted attribute changes its state to DELETED, you can use the same security attribute name again. After you start this operation, you cannot start either the BulkDeleteSecurityAttributes or the CascadeDeleteTagNamespace operation until this process completes. To delete a security attribute, you must first retire it. Use UpdateSecurityAttribute to retire a security attribute.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/DeleteSecurityAttribute.go.html to see an example of how to use DeleteSecurityAttribute API. A default retry strategy applies to this operation DeleteSecurityAttribute()
func (SecurityAttributeClient) DeleteSecurityAttributeNamespace ¶
func (client SecurityAttributeClient) DeleteSecurityAttributeNamespace(ctx context.Context, request DeleteSecurityAttributeNamespaceRequest) (response DeleteSecurityAttributeNamespaceResponse, err error)
DeleteSecurityAttributeNamespace Deletes the specified security attribute namespace. Only an empty security attribute namespace can be deleted with this operation. To use this operation to delete a security attribute namespace that contains security attributes, first delete all of its security attributes. Use DeleteSecurityAttribute to delete a security attribute.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/DeleteSecurityAttributeNamespace.go.html to see an example of how to use DeleteSecurityAttributeNamespace API. A default retry strategy applies to this operation DeleteSecurityAttributeNamespace()
func (SecurityAttributeClient) GetSecurityAttribute ¶
func (client SecurityAttributeClient) GetSecurityAttribute(ctx context.Context, request GetSecurityAttributeRequest) (response GetSecurityAttributeResponse, err error)
GetSecurityAttribute Gets the specified security attribute's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/GetSecurityAttribute.go.html to see an example of how to use GetSecurityAttribute API. A default retry strategy applies to this operation GetSecurityAttribute()
func (SecurityAttributeClient) GetSecurityAttributeNamespace ¶
func (client SecurityAttributeClient) GetSecurityAttributeNamespace(ctx context.Context, request GetSecurityAttributeNamespaceRequest) (response GetSecurityAttributeNamespaceResponse, err error)
GetSecurityAttributeNamespace Gets the specified security attribute namespace's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/GetSecurityAttributeNamespace.go.html to see an example of how to use GetSecurityAttributeNamespace API. A default retry strategy applies to this operation GetSecurityAttributeNamespace()
func (SecurityAttributeClient) GetSecurityAttributeWorkRequest ¶
func (client SecurityAttributeClient) GetSecurityAttributeWorkRequest(ctx context.Context, request GetSecurityAttributeWorkRequestRequest) (response GetSecurityAttributeWorkRequestResponse, err error)
GetSecurityAttributeWorkRequest Gets details on a specified work request. The workRequestID is returned in the opc-work-request-id header for any asynchronous operation in security attributes service.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/GetSecurityAttributeWorkRequest.go.html to see an example of how to use GetSecurityAttributeWorkRequest API. A default retry strategy applies to this operation GetSecurityAttributeWorkRequest()
func (SecurityAttributeClient) ListSecurityAttributeNamespaces ¶
func (client SecurityAttributeClient) ListSecurityAttributeNamespaces(ctx context.Context, request ListSecurityAttributeNamespacesRequest) (response ListSecurityAttributeNamespacesResponse, err error)
ListSecurityAttributeNamespaces Lists the security attribute namespaces in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributeNamespaces.go.html to see an example of how to use ListSecurityAttributeNamespaces API. A default retry strategy applies to this operation ListSecurityAttributeNamespaces()
func (SecurityAttributeClient) ListSecurityAttributeWorkRequestErrors ¶
func (client SecurityAttributeClient) ListSecurityAttributeWorkRequestErrors(ctx context.Context, request ListSecurityAttributeWorkRequestErrorsRequest) (response ListSecurityAttributeWorkRequestErrorsResponse, err error)
ListSecurityAttributeWorkRequestErrors Gets the errors for a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributeWorkRequestErrors.go.html to see an example of how to use ListSecurityAttributeWorkRequestErrors API. A default retry strategy applies to this operation ListSecurityAttributeWorkRequestErrors()
func (SecurityAttributeClient) ListSecurityAttributeWorkRequestLogs ¶
func (client SecurityAttributeClient) ListSecurityAttributeWorkRequestLogs(ctx context.Context, request ListSecurityAttributeWorkRequestLogsRequest) (response ListSecurityAttributeWorkRequestLogsResponse, err error)
ListSecurityAttributeWorkRequestLogs Gets the logs for a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributeWorkRequestLogs.go.html to see an example of how to use ListSecurityAttributeWorkRequestLogs API. A default retry strategy applies to this operation ListSecurityAttributeWorkRequestLogs()
func (SecurityAttributeClient) ListSecurityAttributeWorkRequests ¶
func (client SecurityAttributeClient) ListSecurityAttributeWorkRequests(ctx context.Context, request ListSecurityAttributeWorkRequestsRequest) (response ListSecurityAttributeWorkRequestsResponse, err error)
ListSecurityAttributeWorkRequests Lists the security attribute work requests in compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributeWorkRequests.go.html to see an example of how to use ListSecurityAttributeWorkRequests API. A default retry strategy applies to this operation ListSecurityAttributeWorkRequests()
func (SecurityAttributeClient) ListSecurityAttributes ¶
func (client SecurityAttributeClient) ListSecurityAttributes(ctx context.Context, request ListSecurityAttributesRequest) (response ListSecurityAttributesResponse, err error)
ListSecurityAttributes Lists the security attributes in the specified namespace.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/ListSecurityAttributes.go.html to see an example of how to use ListSecurityAttributes API. A default retry strategy applies to this operation ListSecurityAttributes()
func (*SecurityAttributeClient) SetRegion ¶
func (client *SecurityAttributeClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (SecurityAttributeClient) UpdateSecurityAttribute ¶
func (client SecurityAttributeClient) UpdateSecurityAttribute(ctx context.Context, request UpdateSecurityAttributeRequest) (response UpdateSecurityAttributeResponse, err error)
UpdateSecurityAttribute Updates the specified security attribute. You can only update `description`, and `isRetired`.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/UpdateSecurityAttribute.go.html to see an example of how to use UpdateSecurityAttribute API. A default retry strategy applies to this operation UpdateSecurityAttribute()
func (SecurityAttributeClient) UpdateSecurityAttributeNamespace ¶
func (client SecurityAttributeClient) UpdateSecurityAttributeNamespace(ctx context.Context, request UpdateSecurityAttributeNamespaceRequest) (response UpdateSecurityAttributeNamespaceResponse, err error)
UpdateSecurityAttributeNamespace Updates the specified security attribute namespace. You can't update the namespace name. Updating `isRetired` to 'true' retires the namespace and all the security attributes in the namespace. Reactivating a namespace (changing `isRetired` from 'true' to 'false') does not reactivate security attributes. To reactivate the security attributes, you must reactivate each one individually *after* you reactivate the namespace, using UpdateTag. For more information about retiring security attribute namespaces, see Managing Security Attribute Namespaces (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm). You can't add a namespace with the same name as a retired namespace in the same tenancy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/UpdateSecurityAttributeNamespace.go.html to see an example of how to use UpdateSecurityAttributeNamespace API. A default retry strategy applies to this operation UpdateSecurityAttributeNamespace()
type SecurityAttributeLifecycleStateEnum ¶
type SecurityAttributeLifecycleStateEnum string
SecurityAttributeLifecycleStateEnum Enum with underlying type: string
const ( SecurityAttributeLifecycleStateActive SecurityAttributeLifecycleStateEnum = "ACTIVE" SecurityAttributeLifecycleStateInactive SecurityAttributeLifecycleStateEnum = "INACTIVE" SecurityAttributeLifecycleStateDeleting SecurityAttributeLifecycleStateEnum = "DELETING" SecurityAttributeLifecycleStateDeleted SecurityAttributeLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for SecurityAttributeLifecycleStateEnum
func GetMappingSecurityAttributeLifecycleStateEnum ¶
func GetMappingSecurityAttributeLifecycleStateEnum(val string) (SecurityAttributeLifecycleStateEnum, bool)
GetMappingSecurityAttributeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSecurityAttributeLifecycleStateEnumValues ¶
func GetSecurityAttributeLifecycleStateEnumValues() []SecurityAttributeLifecycleStateEnum
GetSecurityAttributeLifecycleStateEnumValues Enumerates the set of values for SecurityAttributeLifecycleStateEnum
type SecurityAttributeNamespace ¶
type SecurityAttributeNamespace struct { // The OCID of the security attribute namespace. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the namespace. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the namespace. It must be unique across all namespaces in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the security attribute namespace. Description *string `mandatory:"true" json:"description"` // Indicates whether the security attribute namespace is retired. // See Managing Security Attribute Namespaces (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm). IsRetired *bool `mandatory:"true" json:"isRetired"` // Date and time the security attribute namespace was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // 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.cloud.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.cloud.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"` // Indicates possible modes the security attributes in this namespace can be set to. // This is not accepted from the user. Currently the supported values are enforce and audit. Mode []string `mandatory:"false" json:"mode"` // The security attribute namespace's current state. After creating a security attribute namespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute namespace, make sure its `lifecycleState` is INACTIVE. LifecycleState SecurityAttributeNamespaceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
SecurityAttributeNamespace A managed container for security attributes. A security attribute namespace is unique in a tenancy. For more information, see Managing Security Attributes Namespaces (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
func (SecurityAttributeNamespace) String ¶
func (m SecurityAttributeNamespace) String() string
func (SecurityAttributeNamespace) ValidateEnumValue ¶
func (m SecurityAttributeNamespace) 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 SecurityAttributeNamespaceLifecycleStateEnum ¶
type SecurityAttributeNamespaceLifecycleStateEnum string
SecurityAttributeNamespaceLifecycleStateEnum Enum with underlying type: string
const ( SecurityAttributeNamespaceLifecycleStateActive SecurityAttributeNamespaceLifecycleStateEnum = "ACTIVE" SecurityAttributeNamespaceLifecycleStateInactive SecurityAttributeNamespaceLifecycleStateEnum = "INACTIVE" SecurityAttributeNamespaceLifecycleStateDeleting SecurityAttributeNamespaceLifecycleStateEnum = "DELETING" SecurityAttributeNamespaceLifecycleStateDeleted SecurityAttributeNamespaceLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for SecurityAttributeNamespaceLifecycleStateEnum
func GetMappingSecurityAttributeNamespaceLifecycleStateEnum ¶
func GetMappingSecurityAttributeNamespaceLifecycleStateEnum(val string) (SecurityAttributeNamespaceLifecycleStateEnum, bool)
GetMappingSecurityAttributeNamespaceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSecurityAttributeNamespaceLifecycleStateEnumValues ¶
func GetSecurityAttributeNamespaceLifecycleStateEnumValues() []SecurityAttributeNamespaceLifecycleStateEnum
GetSecurityAttributeNamespaceLifecycleStateEnumValues Enumerates the set of values for SecurityAttributeNamespaceLifecycleStateEnum
type SecurityAttributeNamespaceSummary ¶
type SecurityAttributeNamespaceSummary struct { // The OCID of the security attribute namespace. Id *string `mandatory:"false" json:"id"` // The OCID of the compartment that contains the security attribute namespace. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The name of the security attribute namespace. It must be unique across all security attribute namespaces in the tenancy and cannot be changed. Name *string `mandatory:"false" json:"name"` // A description you create for the security attribute namespace to help you identify it. 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.cloud.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.cloud.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"` // Indicates whether the security attribute namespace is retired. IsRetired *bool `mandatory:"false" json:"isRetired"` // Indicates possible modes the security attributes in the namespace can be set to. // This is not accepted from the user. Currently the supported values are enforce and audit. Mode []string `mandatory:"false" json:"mode"` // The security attribute namespace's current state. After creating a security attribute namespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute namespace, make sure its `lifecycleState` is INACTIVE. LifecycleState SecurityAttributeNamespaceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date and time the security attribute namespace was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` }
SecurityAttributeNamespaceSummary A container for security attributes.
func (SecurityAttributeNamespaceSummary) String ¶
func (m SecurityAttributeNamespaceSummary) String() string
func (SecurityAttributeNamespaceSummary) ValidateEnumValue ¶
func (m SecurityAttributeNamespaceSummary) 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 SecurityAttributeSummary ¶
type SecurityAttributeSummary struct { // The OCID of the compartment that contains the security attribute. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The OCID of the namespace that contains the security attribute. SecurityAttributeNamespaceId *string `mandatory:"false" json:"securityAttributeNamespaceId"` // The name of the security attribute namespace that contains the security attribute. SecurityAttributeNamespaceName *string `mandatory:"false" json:"securityAttributeNamespaceName"` // The OCID of the security attribute. Id *string `mandatory:"false" json:"id"` // The name assigned to the security attribute during creation. This is the security attribute. // The name must be unique within the security attribute namespace and cannot be changed. Name *string `mandatory:"false" json:"name"` // The description you assign to the security attribute. Description *string `mandatory:"false" json:"description"` // The data type of the security attribute. Type *string `mandatory:"false" json:"type"` // Whether the security attribute is retired. // See Managing Security Attributes (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/managing-security-attributes.htm). IsRetired *bool `mandatory:"false" json:"isRetired"` // The security attribute's current state. After creating a security attribute, make sure its `lifecycleState` is ACTIVE before using it. After retiring a security attribute, make sure its `lifecycleState` is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute's `lifecycleState` changes from DELETING to DELETED. LifecycleState SecurityAttributeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date and time the security attribute was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` }
SecurityAttributeSummary A security attribute definition that belongs to a specific security attribute namespace.
func (SecurityAttributeSummary) String ¶
func (m SecurityAttributeSummary) String() string
func (SecurityAttributeSummary) ValidateEnumValue ¶
func (m SecurityAttributeSummary) 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 SecurityAttributeWorkRequest ¶
type SecurityAttributeWorkRequest struct { // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // An enum-like description of the type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The resources this work request affects. Resources []WorkRequestResource `mandatory:"false" json:"resources"` // Date and time the work was accepted, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"` // Date and time the work started, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Date and time the work completed, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` }
SecurityAttributeWorkRequest The asynchronous API request does not take effect immediately. This request spawns an asynchronous workflow to fulfill the request. WorkRequest objects provide visibility for in-progress workflows.
func (SecurityAttributeWorkRequest) String ¶
func (m SecurityAttributeWorkRequest) String() string
func (SecurityAttributeWorkRequest) ValidateEnumValue ¶
func (m SecurityAttributeWorkRequest) 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 SecurityAttributeWorkRequestErrorSummary ¶
type SecurityAttributeWorkRequestErrorSummary struct { // A machine-usable code for the error that occured. Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // Date and time the error happened, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
SecurityAttributeWorkRequestErrorSummary The error entity.
func (SecurityAttributeWorkRequestErrorSummary) String ¶
func (m SecurityAttributeWorkRequestErrorSummary) String() string
func (SecurityAttributeWorkRequestErrorSummary) ValidateEnumValue ¶
func (m SecurityAttributeWorkRequestErrorSummary) 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 SecurityAttributeWorkRequestLogSummary ¶
type SecurityAttributeWorkRequestLogSummary struct { // A human-readable error string. Message *string `mandatory:"true" json:"message"` // Date and time the log was written, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
SecurityAttributeWorkRequestLogSummary The log entity.
func (SecurityAttributeWorkRequestLogSummary) String ¶
func (m SecurityAttributeWorkRequestLogSummary) String() string
func (SecurityAttributeWorkRequestLogSummary) ValidateEnumValue ¶
func (m SecurityAttributeWorkRequestLogSummary) 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 SecurityAttributeWorkRequestSummary ¶
type SecurityAttributeWorkRequestSummary struct { // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // An enum-like description of the type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The resources this work request affects. Resources []WorkRequestResource `mandatory:"false" json:"resources"` // Date and time the work was accepted, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"` // Date and time the work started, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Date and time the work completed, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` }
SecurityAttributeWorkRequestSummary The work request summary. Tracks the status of the asynchronous operation.
func (SecurityAttributeWorkRequestSummary) String ¶
func (m SecurityAttributeWorkRequestSummary) String() string
func (SecurityAttributeWorkRequestSummary) ValidateEnumValue ¶
func (m SecurityAttributeWorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetMappingSortOrderEnum ¶
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type UpdateSecurityAttributeDetails ¶
type UpdateSecurityAttributeDetails struct { // The description of the security attribute during creation. Description *string `mandatory:"false" json:"description"` // Whether the security attribute is retired. // See Managing Security Attributes (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/managing-security-attributes.htm). IsRetired *bool `mandatory:"false" json:"isRetired"` Validator BaseSecurityAttributeValidator `mandatory:"false" json:"validator"` }
UpdateSecurityAttributeDetails Details of the security attribute to be updated for a specific security attribute namespace.
func (UpdateSecurityAttributeDetails) String ¶
func (m UpdateSecurityAttributeDetails) String() string
func (*UpdateSecurityAttributeDetails) UnmarshalJSON ¶
func (m *UpdateSecurityAttributeDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateSecurityAttributeDetails) ValidateEnumValue ¶
func (m UpdateSecurityAttributeDetails) 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 UpdateSecurityAttributeNamespaceDetails ¶
type UpdateSecurityAttributeNamespaceDetails struct { // The description you assign to the security attribute namespace to help you identify it. Description *string `mandatory:"false" json:"description"` // Indicates whether the security attribute namespace is retired. // See Managing Security Attribute Namespaces (https://docs.cloud.oracle.com/Content/zero-trust-packet-routing/managing-security-attribute-namespaces.htm). IsRetired *bool `mandatory:"false" json:"isRetired"` // 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.cloud.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.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateSecurityAttributeNamespaceDetails Details of the security attribute namespace to be updated.
func (UpdateSecurityAttributeNamespaceDetails) String ¶
func (m UpdateSecurityAttributeNamespaceDetails) String() string
func (UpdateSecurityAttributeNamespaceDetails) ValidateEnumValue ¶
func (m UpdateSecurityAttributeNamespaceDetails) 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 UpdateSecurityAttributeNamespaceRequest ¶
type UpdateSecurityAttributeNamespaceRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // Request object for updating a namespace. UpdateSecurityAttributeNamespaceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateSecurityAttributeNamespaceRequest wrapper for the UpdateSecurityAttributeNamespace operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/UpdateSecurityAttributeNamespace.go.html to see an example of how to use UpdateSecurityAttributeNamespaceRequest.
func (UpdateSecurityAttributeNamespaceRequest) BinaryRequestBody ¶
func (request UpdateSecurityAttributeNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateSecurityAttributeNamespaceRequest) HTTPRequest ¶
func (request UpdateSecurityAttributeNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateSecurityAttributeNamespaceRequest) RetryPolicy ¶
func (request UpdateSecurityAttributeNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateSecurityAttributeNamespaceRequest) String ¶
func (request UpdateSecurityAttributeNamespaceRequest) String() string
func (UpdateSecurityAttributeNamespaceRequest) ValidateEnumValue ¶
func (request UpdateSecurityAttributeNamespaceRequest) 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 UpdateSecurityAttributeNamespaceResponse ¶
type UpdateSecurityAttributeNamespaceResponse struct { // The underlying http response RawResponse *http.Response // The SecurityAttributeNamespace instance SecurityAttributeNamespace `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateSecurityAttributeNamespaceResponse wrapper for the UpdateSecurityAttributeNamespace operation
func (UpdateSecurityAttributeNamespaceResponse) HTTPResponse ¶
func (response UpdateSecurityAttributeNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateSecurityAttributeNamespaceResponse) String ¶
func (response UpdateSecurityAttributeNamespaceResponse) String() string
type UpdateSecurityAttributeRequest ¶
type UpdateSecurityAttributeRequest struct { // The OCID of the security attribute namespace. SecurityAttributeNamespaceId *string `mandatory:"true" contributesTo:"path" name:"securityAttributeNamespaceId"` // The name of the security attribute. SecurityAttributeName *string `mandatory:"true" contributesTo:"path" name:"securityAttributeName"` // Request object for updating a security attribute. UpdateSecurityAttributeDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of running that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateSecurityAttributeRequest wrapper for the UpdateSecurityAttribute operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/securityattribute/UpdateSecurityAttribute.go.html to see an example of how to use UpdateSecurityAttributeRequest.
func (UpdateSecurityAttributeRequest) BinaryRequestBody ¶
func (request UpdateSecurityAttributeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateSecurityAttributeRequest) HTTPRequest ¶
func (request UpdateSecurityAttributeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateSecurityAttributeRequest) RetryPolicy ¶
func (request UpdateSecurityAttributeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateSecurityAttributeRequest) String ¶
func (request UpdateSecurityAttributeRequest) String() string
func (UpdateSecurityAttributeRequest) ValidateEnumValue ¶
func (request UpdateSecurityAttributeRequest) 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 UpdateSecurityAttributeResponse ¶
type UpdateSecurityAttributeResponse struct { // The underlying http response RawResponse *http.Response // The SecurityAttribute instance SecurityAttribute `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateSecurityAttributeResponse wrapper for the UpdateSecurityAttribute operation
func (UpdateSecurityAttributeResponse) HTTPResponse ¶
func (response UpdateSecurityAttributeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateSecurityAttributeResponse) String ¶
func (response UpdateSecurityAttributeResponse) String() string
type WorkRequestOperationTypeEnum ¶
type WorkRequestOperationTypeEnum string
WorkRequestOperationTypeEnum Enum with underlying type: string
const ( WorkRequestOperationTypeDeleteSecurityAttributeDefinition WorkRequestOperationTypeEnum = "DELETE_SECURITY_ATTRIBUTE_DEFINITION" WorkRequestOperationTypeDeleteNonEmptySecurityAttributeNamespace WorkRequestOperationTypeEnum = "DELETE_NON_EMPTY_SECURITY_ATTRIBUTE_NAMESPACE" WorkRequestOperationTypeBulkDeleteSecurityAttributes WorkRequestOperationTypeEnum = "BULK_DELETE_SECURITY_ATTRIBUTES" WorkRequestOperationTypeBulkEditOfSecurityAttributes WorkRequestOperationTypeEnum = "BULK_EDIT_OF_SECURITY_ATTRIBUTES" )
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
func GetMappingWorkRequestOperationTypeEnum ¶
func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestOperationTypeEnumValues ¶
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
type WorkRequestResource ¶
type WorkRequestResource struct { // The resource identifier the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The resource type the work request is affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource was affected by the work tracked by the work request. ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // The URI path that the user can do a GET on to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
WorkRequestResource The resource entity.
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 WorkRequestResourceActionTypeEnum ¶
type WorkRequestResourceActionTypeEnum string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" WorkRequestResourceActionTypeFailed WorkRequestResourceActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
func GetMappingWorkRequestResourceActionTypeEnum ¶
func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceActionTypeEnumValues ¶
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum ¶
type WorkRequestStatusEnum string
WorkRequestStatusEnum Enum with underlying type: string
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusPartiallySucceeded WorkRequestStatusEnum = "PARTIALLY_SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkRequestStatusEnum
func GetMappingWorkRequestStatusEnum ¶
func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestStatusEnumValues ¶
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
Source Files ¶
- base_security_attribute_validator.go
- bulk_delete_security_attributes_details.go
- bulk_delete_security_attributes_request_response.go
- bulk_edit_resource.go
- bulk_edit_security_attribute_details.go
- bulk_edit_security_attribute_operation_details.go
- bulk_edit_security_attributes_request_response.go
- cascading_delete_security_attribute_namespace_request_response.go
- change_security_attribute_namespace_compartment_details.go
- change_security_attribute_namespace_compartment_request_response.go
- create_security_attribute_details.go
- create_security_attribute_namespace_details.go
- create_security_attribute_namespace_request_response.go
- create_security_attribute_request_response.go
- default_security_attribute_validator.go
- delete_security_attribute_namespace_request_response.go
- delete_security_attribute_request_response.go
- enum_security_attribute_validator.go
- get_security_attribute_namespace_request_response.go
- get_security_attribute_request_response.go
- get_security_attribute_work_request_request_response.go
- list_security_attribute_namespaces_request_response.go
- list_security_attribute_work_request_errors_request_response.go
- list_security_attribute_work_request_logs_request_response.go
- list_security_attribute_work_requests_request_response.go
- list_security_attributes_request_response.go
- security_attribute.go
- security_attribute_namespace.go
- security_attribute_namespace_summary.go
- security_attribute_summary.go
- security_attribute_work_request.go
- security_attribute_work_request_error_summary.go
- security_attribute_work_request_log_summary.go
- security_attribute_work_request_summary.go
- securityattribute_client.go
- sort_order.go
- update_security_attribute_details.go
- update_security_attribute_namespace_details.go
- update_security_attribute_namespace_request_response.go
- update_security_attribute_request_response.go
- work_request_operation_type.go
- work_request_resource.go
- work_request_status.go