Documentation ¶
Index ¶
- func GetActionTypeEnumStringValues() []string
- func GetConfigurationLifecycleStateEnumStringValues() []string
- func GetConfigurationZprStatusEnumStringValues() []string
- func GetListZprConfigurationWorkRequestErrorsSortByEnumStringValues() []string
- func GetListZprConfigurationWorkRequestErrorsSortOrderEnumStringValues() []string
- func GetListZprConfigurationWorkRequestLogsSortByEnumStringValues() []string
- func GetListZprConfigurationWorkRequestLogsSortOrderEnumStringValues() []string
- func GetListZprConfigurationWorkRequestsSortByEnumStringValues() []string
- func GetListZprConfigurationWorkRequestsSortOrderEnumStringValues() []string
- func GetListZprConfigurationWorkRequestsStatusEnumStringValues() []string
- func GetListZprPoliciesSortByEnumStringValues() []string
- func GetListZprPoliciesSortOrderEnumStringValues() []string
- func GetListZprPolicyWorkRequestErrorsSortByEnumStringValues() []string
- func GetListZprPolicyWorkRequestErrorsSortOrderEnumStringValues() []string
- func GetListZprPolicyWorkRequestLogsSortByEnumStringValues() []string
- func GetListZprPolicyWorkRequestLogsSortOrderEnumStringValues() []string
- func GetListZprPolicyWorkRequestsSortByEnumStringValues() []string
- func GetListZprPolicyWorkRequestsSortOrderEnumStringValues() []string
- func GetListZprPolicyWorkRequestsStatusEnumStringValues() []string
- func GetOperationTypeEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
- func GetWorkRequestStatusEnumStringValues() []string
- func GetZprPolicyLifecycleStateEnumStringValues() []string
- type ActionTypeEnum
- type Configuration
- type ConfigurationLifecycleStateEnum
- type ConfigurationZprStatusEnum
- type CreateConfigurationDetails
- type CreateConfigurationRequest
- func (request CreateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateConfigurationRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateConfigurationRequest) String() string
- func (request CreateConfigurationRequest) ValidateEnumValue() (bool, error)
- type CreateConfigurationResponse
- type CreateZprPolicyDetails
- type CreateZprPolicyRequest
- func (request CreateZprPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateZprPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateZprPolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateZprPolicyRequest) String() string
- func (request CreateZprPolicyRequest) ValidateEnumValue() (bool, error)
- type CreateZprPolicyResponse
- type DeleteZprPolicyRequest
- func (request DeleteZprPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteZprPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteZprPolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteZprPolicyRequest) String() string
- func (request DeleteZprPolicyRequest) ValidateEnumValue() (bool, error)
- type DeleteZprPolicyResponse
- type GetConfigurationRequest
- func (request GetConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetConfigurationRequest) RetryPolicy() *common.RetryPolicy
- func (request GetConfigurationRequest) String() string
- func (request GetConfigurationRequest) ValidateEnumValue() (bool, error)
- type GetConfigurationResponse
- type GetZprConfigurationWorkRequestRequest
- func (request GetZprConfigurationWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetZprConfigurationWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetZprConfigurationWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetZprConfigurationWorkRequestRequest) String() string
- func (request GetZprConfigurationWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetZprConfigurationWorkRequestResponse
- type GetZprPolicyRequest
- func (request GetZprPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetZprPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetZprPolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request GetZprPolicyRequest) String() string
- func (request GetZprPolicyRequest) ValidateEnumValue() (bool, error)
- type GetZprPolicyResponse
- type GetZprPolicyWorkRequestRequest
- func (request GetZprPolicyWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetZprPolicyWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetZprPolicyWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetZprPolicyWorkRequestRequest) String() string
- func (request GetZprPolicyWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetZprPolicyWorkRequestResponse
- type ListZprConfigurationWorkRequestErrorsRequest
- func (request ListZprConfigurationWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListZprConfigurationWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListZprConfigurationWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListZprConfigurationWorkRequestErrorsRequest) String() string
- func (request ListZprConfigurationWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListZprConfigurationWorkRequestErrorsResponse
- type ListZprConfigurationWorkRequestErrorsSortByEnum
- type ListZprConfigurationWorkRequestErrorsSortOrderEnum
- type ListZprConfigurationWorkRequestLogsRequest
- func (request ListZprConfigurationWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListZprConfigurationWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListZprConfigurationWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListZprConfigurationWorkRequestLogsRequest) String() string
- func (request ListZprConfigurationWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListZprConfigurationWorkRequestLogsResponse
- type ListZprConfigurationWorkRequestLogsSortByEnum
- type ListZprConfigurationWorkRequestLogsSortOrderEnum
- type ListZprConfigurationWorkRequestsRequest
- func (request ListZprConfigurationWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListZprConfigurationWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListZprConfigurationWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListZprConfigurationWorkRequestsRequest) String() string
- func (request ListZprConfigurationWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListZprConfigurationWorkRequestsResponse
- type ListZprConfigurationWorkRequestsSortByEnum
- type ListZprConfigurationWorkRequestsSortOrderEnum
- type ListZprConfigurationWorkRequestsStatusEnum
- type ListZprPoliciesRequest
- func (request ListZprPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListZprPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListZprPoliciesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListZprPoliciesRequest) String() string
- func (request ListZprPoliciesRequest) ValidateEnumValue() (bool, error)
- type ListZprPoliciesResponse
- type ListZprPoliciesSortByEnum
- type ListZprPoliciesSortOrderEnum
- type ListZprPolicyWorkRequestErrorsRequest
- func (request ListZprPolicyWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListZprPolicyWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListZprPolicyWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListZprPolicyWorkRequestErrorsRequest) String() string
- func (request ListZprPolicyWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListZprPolicyWorkRequestErrorsResponse
- type ListZprPolicyWorkRequestErrorsSortByEnum
- type ListZprPolicyWorkRequestErrorsSortOrderEnum
- type ListZprPolicyWorkRequestLogsRequest
- func (request ListZprPolicyWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListZprPolicyWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListZprPolicyWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListZprPolicyWorkRequestLogsRequest) String() string
- func (request ListZprPolicyWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListZprPolicyWorkRequestLogsResponse
- type ListZprPolicyWorkRequestLogsSortByEnum
- type ListZprPolicyWorkRequestLogsSortOrderEnum
- type ListZprPolicyWorkRequestsRequest
- func (request ListZprPolicyWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListZprPolicyWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListZprPolicyWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListZprPolicyWorkRequestsRequest) String() string
- func (request ListZprPolicyWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListZprPolicyWorkRequestsResponse
- type ListZprPolicyWorkRequestsSortByEnum
- type ListZprPolicyWorkRequestsSortOrderEnum
- type ListZprPolicyWorkRequestsStatusEnum
- type OperationTypeEnum
- type SortOrderEnum
- type UpdateZprPolicyDetails
- type UpdateZprPolicyRequest
- func (request UpdateZprPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateZprPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateZprPolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateZprPolicyRequest) String() string
- func (request UpdateZprPolicyRequest) ValidateEnumValue() (bool, error)
- type UpdateZprPolicyResponse
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestResourceMetadataKeyEnum
- type WorkRequestStatusEnum
- type WorkRequestSummary
- type WorkRequestSummaryCollection
- type ZprClient
- func (client *ZprClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client ZprClient) CreateConfiguration(ctx context.Context, request CreateConfigurationRequest) (response CreateConfigurationResponse, err error)
- func (client ZprClient) CreateZprPolicy(ctx context.Context, request CreateZprPolicyRequest) (response CreateZprPolicyResponse, err error)
- func (client ZprClient) DeleteZprPolicy(ctx context.Context, request DeleteZprPolicyRequest) (response DeleteZprPolicyResponse, err error)
- func (client ZprClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)
- func (client ZprClient) GetZprConfigurationWorkRequest(ctx context.Context, request GetZprConfigurationWorkRequestRequest) (response GetZprConfigurationWorkRequestResponse, err error)
- func (client ZprClient) GetZprPolicy(ctx context.Context, request GetZprPolicyRequest) (response GetZprPolicyResponse, err error)
- func (client ZprClient) GetZprPolicyWorkRequest(ctx context.Context, request GetZprPolicyWorkRequestRequest) (response GetZprPolicyWorkRequestResponse, err error)
- func (client ZprClient) ListZprConfigurationWorkRequestErrors(ctx context.Context, request ListZprConfigurationWorkRequestErrorsRequest) (response ListZprConfigurationWorkRequestErrorsResponse, err error)
- func (client ZprClient) ListZprConfigurationWorkRequestLogs(ctx context.Context, request ListZprConfigurationWorkRequestLogsRequest) (response ListZprConfigurationWorkRequestLogsResponse, err error)
- func (client ZprClient) ListZprConfigurationWorkRequests(ctx context.Context, request ListZprConfigurationWorkRequestsRequest) (response ListZprConfigurationWorkRequestsResponse, err error)
- func (client ZprClient) ListZprPolicies(ctx context.Context, request ListZprPoliciesRequest) (response ListZprPoliciesResponse, err error)
- func (client ZprClient) ListZprPolicyWorkRequestErrors(ctx context.Context, request ListZprPolicyWorkRequestErrorsRequest) (response ListZprPolicyWorkRequestErrorsResponse, err error)
- func (client ZprClient) ListZprPolicyWorkRequestLogs(ctx context.Context, request ListZprPolicyWorkRequestLogsRequest) (response ListZprPolicyWorkRequestLogsResponse, err error)
- func (client ZprClient) ListZprPolicyWorkRequests(ctx context.Context, request ListZprPolicyWorkRequestsRequest) (response ListZprPolicyWorkRequestsResponse, err error)
- func (client *ZprClient) SetRegion(region string)
- func (client ZprClient) UpdateZprPolicy(ctx context.Context, request UpdateZprPolicyRequest) (response UpdateZprPolicyResponse, err error)
- type ZprPolicy
- type ZprPolicyCollection
- type ZprPolicyLifecycleStateEnum
- type ZprPolicySummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionTypeEnumStringValues ¶
func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetConfigurationLifecycleStateEnumStringValues ¶
func GetConfigurationLifecycleStateEnumStringValues() []string
GetConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for ConfigurationLifecycleStateEnum
func GetConfigurationZprStatusEnumStringValues ¶
func GetConfigurationZprStatusEnumStringValues() []string
GetConfigurationZprStatusEnumStringValues Enumerates the set of values in String for ConfigurationZprStatusEnum
func GetListZprConfigurationWorkRequestErrorsSortByEnumStringValues ¶
func GetListZprConfigurationWorkRequestErrorsSortByEnumStringValues() []string
GetListZprConfigurationWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListZprConfigurationWorkRequestErrorsSortByEnum
func GetListZprConfigurationWorkRequestErrorsSortOrderEnumStringValues ¶
func GetListZprConfigurationWorkRequestErrorsSortOrderEnumStringValues() []string
GetListZprConfigurationWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListZprConfigurationWorkRequestErrorsSortOrderEnum
func GetListZprConfigurationWorkRequestLogsSortByEnumStringValues ¶
func GetListZprConfigurationWorkRequestLogsSortByEnumStringValues() []string
GetListZprConfigurationWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListZprConfigurationWorkRequestLogsSortByEnum
func GetListZprConfigurationWorkRequestLogsSortOrderEnumStringValues ¶
func GetListZprConfigurationWorkRequestLogsSortOrderEnumStringValues() []string
GetListZprConfigurationWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListZprConfigurationWorkRequestLogsSortOrderEnum
func GetListZprConfigurationWorkRequestsSortByEnumStringValues ¶
func GetListZprConfigurationWorkRequestsSortByEnumStringValues() []string
GetListZprConfigurationWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListZprConfigurationWorkRequestsSortByEnum
func GetListZprConfigurationWorkRequestsSortOrderEnumStringValues ¶
func GetListZprConfigurationWorkRequestsSortOrderEnumStringValues() []string
GetListZprConfigurationWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListZprConfigurationWorkRequestsSortOrderEnum
func GetListZprConfigurationWorkRequestsStatusEnumStringValues ¶
func GetListZprConfigurationWorkRequestsStatusEnumStringValues() []string
GetListZprConfigurationWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListZprConfigurationWorkRequestsStatusEnum
func GetListZprPoliciesSortByEnumStringValues ¶
func GetListZprPoliciesSortByEnumStringValues() []string
GetListZprPoliciesSortByEnumStringValues Enumerates the set of values in String for ListZprPoliciesSortByEnum
func GetListZprPoliciesSortOrderEnumStringValues ¶
func GetListZprPoliciesSortOrderEnumStringValues() []string
GetListZprPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListZprPoliciesSortOrderEnum
func GetListZprPolicyWorkRequestErrorsSortByEnumStringValues ¶
func GetListZprPolicyWorkRequestErrorsSortByEnumStringValues() []string
GetListZprPolicyWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListZprPolicyWorkRequestErrorsSortByEnum
func GetListZprPolicyWorkRequestErrorsSortOrderEnumStringValues ¶
func GetListZprPolicyWorkRequestErrorsSortOrderEnumStringValues() []string
GetListZprPolicyWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListZprPolicyWorkRequestErrorsSortOrderEnum
func GetListZprPolicyWorkRequestLogsSortByEnumStringValues ¶
func GetListZprPolicyWorkRequestLogsSortByEnumStringValues() []string
GetListZprPolicyWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListZprPolicyWorkRequestLogsSortByEnum
func GetListZprPolicyWorkRequestLogsSortOrderEnumStringValues ¶
func GetListZprPolicyWorkRequestLogsSortOrderEnumStringValues() []string
GetListZprPolicyWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListZprPolicyWorkRequestLogsSortOrderEnum
func GetListZprPolicyWorkRequestsSortByEnumStringValues ¶
func GetListZprPolicyWorkRequestsSortByEnumStringValues() []string
GetListZprPolicyWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListZprPolicyWorkRequestsSortByEnum
func GetListZprPolicyWorkRequestsSortOrderEnumStringValues ¶
func GetListZprPolicyWorkRequestsSortOrderEnumStringValues() []string
GetListZprPolicyWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListZprPolicyWorkRequestsSortOrderEnum
func GetListZprPolicyWorkRequestsStatusEnumStringValues ¶
func GetListZprPolicyWorkRequestsStatusEnumStringValues() []string
GetListZprPolicyWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListZprPolicyWorkRequestsStatusEnum
func GetOperationTypeEnumStringValues ¶
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues ¶
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
func GetWorkRequestStatusEnumStringValues ¶
func GetWorkRequestStatusEnumStringValues() []string
GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum
func GetZprPolicyLifecycleStateEnumStringValues ¶
func GetZprPolicyLifecycleStateEnumStringValues() []string
GetZprPolicyLifecycleStateEnumStringValues Enumerates the set of values in String for ZprPolicyLifecycleStateEnum
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum ¶
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type Configuration ¶
type Configuration struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprConfiguration. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR will be onboarded. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The enabled or disabled status of ZPR in tenancy. ZprStatus ConfigurationZprStatusEnum `mandatory:"true" json:"zprStatus"` // The date and time that ZPR was onboarded to the tenancy, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time that ZPR was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of ZPR in the tenancy. LifecycleState ConfigurationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A message that describes the current state of ZPR in more detail. For example, // can be used to provide actionable information for a resource in the Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // 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"` }
Configuration The configuration details of ZPR in the root compartment (the root compartment is the tenancy).
func (Configuration) String ¶
func (m Configuration) String() string
func (Configuration) ValidateEnumValue ¶
func (m Configuration) 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 ConfigurationLifecycleStateEnum ¶
type ConfigurationLifecycleStateEnum string
ConfigurationLifecycleStateEnum Enum with underlying type: string
const ( ConfigurationLifecycleStateActive ConfigurationLifecycleStateEnum = "ACTIVE" ConfigurationLifecycleStateCreating ConfigurationLifecycleStateEnum = "CREATING" ConfigurationLifecycleStateUpdating ConfigurationLifecycleStateEnum = "UPDATING" ConfigurationLifecycleStateDeleting ConfigurationLifecycleStateEnum = "DELETING" ConfigurationLifecycleStateDeleted ConfigurationLifecycleStateEnum = "DELETED" ConfigurationLifecycleStateFailed ConfigurationLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for ConfigurationLifecycleStateEnum
func GetConfigurationLifecycleStateEnumValues ¶
func GetConfigurationLifecycleStateEnumValues() []ConfigurationLifecycleStateEnum
GetConfigurationLifecycleStateEnumValues Enumerates the set of values for ConfigurationLifecycleStateEnum
func GetMappingConfigurationLifecycleStateEnum ¶
func GetMappingConfigurationLifecycleStateEnum(val string) (ConfigurationLifecycleStateEnum, bool)
GetMappingConfigurationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ConfigurationZprStatusEnum ¶
type ConfigurationZprStatusEnum string
ConfigurationZprStatusEnum Enum with underlying type: string
const ( ConfigurationZprStatusEnabled ConfigurationZprStatusEnum = "ENABLED" ConfigurationZprStatusDisabled ConfigurationZprStatusEnum = "DISABLED" )
Set of constants representing the allowable values for ConfigurationZprStatusEnum
func GetConfigurationZprStatusEnumValues ¶
func GetConfigurationZprStatusEnumValues() []ConfigurationZprStatusEnum
GetConfigurationZprStatusEnumValues Enumerates the set of values for ConfigurationZprStatusEnum
func GetMappingConfigurationZprStatusEnum ¶
func GetMappingConfigurationZprStatusEnum(val string) (ConfigurationZprStatusEnum, bool)
GetMappingConfigurationZprStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type CreateConfigurationDetails ¶
type CreateConfigurationDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR resources will be bootstrapped. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The enabled or disabled status of ZPR in the tenancy. ZprStatus ConfigurationZprStatusEnum `mandatory:"false" json:"zprStatus,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.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"` }
CreateConfigurationDetails The configuration details to onboard ZPR in the root compartment (the root compartment is the tenancy).
func (CreateConfigurationDetails) String ¶
func (m CreateConfigurationDetails) String() string
func (CreateConfigurationDetails) ValidateEnumValue ¶
func (m CreateConfigurationDetails) 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 CreateConfigurationRequest ¶
type CreateConfigurationRequest struct { // Details for ZPR configuration in the tenancy. CreateConfigurationDetails `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"` // Indicates that the request is a dry run, if set to "true". A dry run request does not modify the // configuration item details and is used only to perform validation on the submitted data. OpcDryRun *bool `mandatory:"false" contributesTo:"header" name:"opc-dry-run"` // 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 }
CreateConfigurationRequest wrapper for the CreateConfiguration operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/CreateConfiguration.go.html to see an example of how to use CreateConfigurationRequest.
func (CreateConfigurationRequest) BinaryRequestBody ¶
func (request CreateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateConfigurationRequest) HTTPRequest ¶
func (request CreateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateConfigurationRequest) RetryPolicy ¶
func (request CreateConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateConfigurationRequest) String ¶
func (request CreateConfigurationRequest) String() string
func (CreateConfigurationRequest) ValidateEnumValue ¶
func (request CreateConfigurationRequest) 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 CreateConfigurationResponse ¶
type CreateConfigurationResponse 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"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateConfigurationResponse wrapper for the CreateConfiguration operation
func (CreateConfigurationResponse) HTTPResponse ¶
func (response CreateConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateConfigurationResponse) String ¶
func (response CreateConfigurationResponse) String() string
type CreateZprPolicyDetails ¶
type CreateZprPolicyDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. Name *string `mandatory:"true" json:"name"` // An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. Statements []string `mandatory:"true" json:"statements"` // 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"` }
CreateZprPolicyDetails The data to create a ZprPolicy.
func (CreateZprPolicyDetails) String ¶
func (m CreateZprPolicyDetails) String() string
func (CreateZprPolicyDetails) ValidateEnumValue ¶
func (m CreateZprPolicyDetails) 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 CreateZprPolicyRequest ¶
type CreateZprPolicyRequest struct { // Details for the new ZprPolicy. CreateZprPolicyDetails `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"` // Indicates that the request is a dry run, if set to "true". A dry run request does not modify the // configuration item details and is used only to perform validation on the submitted data. OpcDryRun *bool `mandatory:"false" contributesTo:"header" name:"opc-dry-run"` // 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 }
CreateZprPolicyRequest wrapper for the CreateZprPolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/CreateZprPolicy.go.html to see an example of how to use CreateZprPolicyRequest.
func (CreateZprPolicyRequest) BinaryRequestBody ¶
func (request CreateZprPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateZprPolicyRequest) HTTPRequest ¶
func (request CreateZprPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateZprPolicyRequest) RetryPolicy ¶
func (request CreateZprPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateZprPolicyRequest) String ¶
func (request CreateZprPolicyRequest) String() string
func (CreateZprPolicyRequest) ValidateEnumValue ¶
func (request CreateZprPolicyRequest) 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 CreateZprPolicyResponse ¶
type CreateZprPolicyResponse struct { // The underlying http response RawResponse *http.Response // The ZprPolicy instance ZprPolicy `presentIn:"body"` // URL of the ZprPolicy resource. The zprPolicy OCID is generated after this request is sent. Location *string `presentIn:"header" name:"location"` // Same as location. ContentLocation *string `presentIn:"header" name:"content-location"` // 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"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateZprPolicyResponse wrapper for the CreateZprPolicy operation
func (CreateZprPolicyResponse) HTTPResponse ¶
func (response CreateZprPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateZprPolicyResponse) String ¶
func (response CreateZprPolicyResponse) String() string
type DeleteZprPolicyRequest ¶
type DeleteZprPolicyRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. ZprPolicyId *string `mandatory:"true" contributesTo:"path" name:"zprPolicyId"` // 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"` // Indicates that the request is a dry run, if set to "true". A dry run request does not modify the // configuration item details and is used only to perform validation on the submitted data. OpcDryRun *bool `mandatory:"false" contributesTo:"header" name:"opc-dry-run"` // 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 }
DeleteZprPolicyRequest wrapper for the DeleteZprPolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/DeleteZprPolicy.go.html to see an example of how to use DeleteZprPolicyRequest.
func (DeleteZprPolicyRequest) BinaryRequestBody ¶
func (request DeleteZprPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteZprPolicyRequest) HTTPRequest ¶
func (request DeleteZprPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteZprPolicyRequest) RetryPolicy ¶
func (request DeleteZprPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteZprPolicyRequest) String ¶
func (request DeleteZprPolicyRequest) String() string
func (DeleteZprPolicyRequest) ValidateEnumValue ¶
func (request DeleteZprPolicyRequest) 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 DeleteZprPolicyResponse ¶
type DeleteZprPolicyResponse 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"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteZprPolicyResponse wrapper for the DeleteZprPolicy operation
func (DeleteZprPolicyResponse) HTTPResponse ¶
func (response DeleteZprPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteZprPolicyResponse) String ¶
func (response DeleteZprPolicyResponse) String() string
type GetConfigurationRequest ¶
type GetConfigurationRequest 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"` // 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 }
GetConfigurationRequest wrapper for the GetConfiguration operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/GetConfiguration.go.html to see an example of how to use GetConfigurationRequest.
func (GetConfigurationRequest) BinaryRequestBody ¶
func (request GetConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetConfigurationRequest) HTTPRequest ¶
func (request GetConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetConfigurationRequest) RetryPolicy ¶
func (request GetConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetConfigurationRequest) String ¶
func (request GetConfigurationRequest) String() string
func (GetConfigurationRequest) ValidateEnumValue ¶
func (request GetConfigurationRequest) 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 GetConfigurationResponse ¶
type GetConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The Configuration instance Configuration `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetConfigurationResponse wrapper for the GetConfiguration operation
func (GetConfigurationResponse) HTTPResponse ¶
func (response GetConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetConfigurationResponse) String ¶
func (response GetConfigurationResponse) String() string
type GetZprConfigurationWorkRequestRequest ¶
type GetZprConfigurationWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetZprConfigurationWorkRequestRequest wrapper for the GetZprConfigurationWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/GetZprConfigurationWorkRequest.go.html to see an example of how to use GetZprConfigurationWorkRequestRequest.
func (GetZprConfigurationWorkRequestRequest) BinaryRequestBody ¶
func (request GetZprConfigurationWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetZprConfigurationWorkRequestRequest) HTTPRequest ¶
func (request GetZprConfigurationWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetZprConfigurationWorkRequestRequest) RetryPolicy ¶
func (request GetZprConfigurationWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetZprConfigurationWorkRequestRequest) String ¶
func (request GetZprConfigurationWorkRequestRequest) String() string
func (GetZprConfigurationWorkRequestRequest) ValidateEnumValue ¶
func (request GetZprConfigurationWorkRequestRequest) 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 GetZprConfigurationWorkRequestResponse ¶
type GetZprConfigurationWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetZprConfigurationWorkRequestResponse wrapper for the GetZprConfigurationWorkRequest operation
func (GetZprConfigurationWorkRequestResponse) HTTPResponse ¶
func (response GetZprConfigurationWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetZprConfigurationWorkRequestResponse) String ¶
func (response GetZprConfigurationWorkRequestResponse) String() string
type GetZprPolicyRequest ¶
type GetZprPolicyRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. ZprPolicyId *string `mandatory:"true" contributesTo:"path" name:"zprPolicyId"` // 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 }
GetZprPolicyRequest wrapper for the GetZprPolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/GetZprPolicy.go.html to see an example of how to use GetZprPolicyRequest.
func (GetZprPolicyRequest) BinaryRequestBody ¶
func (request GetZprPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetZprPolicyRequest) HTTPRequest ¶
func (request GetZprPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetZprPolicyRequest) RetryPolicy ¶
func (request GetZprPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetZprPolicyRequest) String ¶
func (request GetZprPolicyRequest) String() string
func (GetZprPolicyRequest) ValidateEnumValue ¶
func (request GetZprPolicyRequest) 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 GetZprPolicyResponse ¶
type GetZprPolicyResponse struct { // The underlying http response RawResponse *http.Response // The ZprPolicy instance ZprPolicy `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetZprPolicyResponse wrapper for the GetZprPolicy operation
func (GetZprPolicyResponse) HTTPResponse ¶
func (response GetZprPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetZprPolicyResponse) String ¶
func (response GetZprPolicyResponse) String() string
type GetZprPolicyWorkRequestRequest ¶
type GetZprPolicyWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetZprPolicyWorkRequestRequest wrapper for the GetZprPolicyWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/GetZprPolicyWorkRequest.go.html to see an example of how to use GetZprPolicyWorkRequestRequest.
func (GetZprPolicyWorkRequestRequest) BinaryRequestBody ¶
func (request GetZprPolicyWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetZprPolicyWorkRequestRequest) HTTPRequest ¶
func (request GetZprPolicyWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetZprPolicyWorkRequestRequest) RetryPolicy ¶
func (request GetZprPolicyWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetZprPolicyWorkRequestRequest) String ¶
func (request GetZprPolicyWorkRequestRequest) String() string
func (GetZprPolicyWorkRequestRequest) ValidateEnumValue ¶
func (request GetZprPolicyWorkRequestRequest) 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 GetZprPolicyWorkRequestResponse ¶
type GetZprPolicyWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetZprPolicyWorkRequestResponse wrapper for the GetZprPolicyWorkRequest operation
func (GetZprPolicyWorkRequestResponse) HTTPResponse ¶
func (response GetZprPolicyWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetZprPolicyWorkRequestResponse) String ¶
func (response GetZprPolicyWorkRequestResponse) String() string
type ListZprConfigurationWorkRequestErrorsRequest ¶
type ListZprConfigurationWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending. SortBy ListZprConfigurationWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListZprConfigurationWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListZprConfigurationWorkRequestErrorsRequest wrapper for the ListZprConfigurationWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprConfigurationWorkRequestErrors.go.html to see an example of how to use ListZprConfigurationWorkRequestErrorsRequest.
func (ListZprConfigurationWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListZprConfigurationWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListZprConfigurationWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListZprConfigurationWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListZprConfigurationWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListZprConfigurationWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListZprConfigurationWorkRequestErrorsRequest) String ¶
func (request ListZprConfigurationWorkRequestErrorsRequest) String() string
func (ListZprConfigurationWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListZprConfigurationWorkRequestErrorsRequest) 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 ListZprConfigurationWorkRequestErrorsResponse ¶
type ListZprConfigurationWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListZprConfigurationWorkRequestErrorsResponse wrapper for the ListZprConfigurationWorkRequestErrors operation
func (ListZprConfigurationWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListZprConfigurationWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListZprConfigurationWorkRequestErrorsResponse) String ¶
func (response ListZprConfigurationWorkRequestErrorsResponse) String() string
type ListZprConfigurationWorkRequestErrorsSortByEnum ¶
type ListZprConfigurationWorkRequestErrorsSortByEnum string
ListZprConfigurationWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListZprConfigurationWorkRequestErrorsSortByTimestamp ListZprConfigurationWorkRequestErrorsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListZprConfigurationWorkRequestErrorsSortByEnum
func GetListZprConfigurationWorkRequestErrorsSortByEnumValues ¶
func GetListZprConfigurationWorkRequestErrorsSortByEnumValues() []ListZprConfigurationWorkRequestErrorsSortByEnum
GetListZprConfigurationWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListZprConfigurationWorkRequestErrorsSortByEnum
func GetMappingListZprConfigurationWorkRequestErrorsSortByEnum ¶
func GetMappingListZprConfigurationWorkRequestErrorsSortByEnum(val string) (ListZprConfigurationWorkRequestErrorsSortByEnum, bool)
GetMappingListZprConfigurationWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprConfigurationWorkRequestErrorsSortOrderEnum ¶
type ListZprConfigurationWorkRequestErrorsSortOrderEnum string
ListZprConfigurationWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListZprConfigurationWorkRequestErrorsSortOrderAsc ListZprConfigurationWorkRequestErrorsSortOrderEnum = "ASC" ListZprConfigurationWorkRequestErrorsSortOrderDesc ListZprConfigurationWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListZprConfigurationWorkRequestErrorsSortOrderEnum
func GetListZprConfigurationWorkRequestErrorsSortOrderEnumValues ¶
func GetListZprConfigurationWorkRequestErrorsSortOrderEnumValues() []ListZprConfigurationWorkRequestErrorsSortOrderEnum
GetListZprConfigurationWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListZprConfigurationWorkRequestErrorsSortOrderEnum
func GetMappingListZprConfigurationWorkRequestErrorsSortOrderEnum ¶
func GetMappingListZprConfigurationWorkRequestErrorsSortOrderEnum(val string) (ListZprConfigurationWorkRequestErrorsSortOrderEnum, bool)
GetMappingListZprConfigurationWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprConfigurationWorkRequestLogsRequest ¶
type ListZprConfigurationWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending. SortBy ListZprConfigurationWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListZprConfigurationWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListZprConfigurationWorkRequestLogsRequest wrapper for the ListZprConfigurationWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprConfigurationWorkRequestLogs.go.html to see an example of how to use ListZprConfigurationWorkRequestLogsRequest.
func (ListZprConfigurationWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListZprConfigurationWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListZprConfigurationWorkRequestLogsRequest) HTTPRequest ¶
func (request ListZprConfigurationWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListZprConfigurationWorkRequestLogsRequest) RetryPolicy ¶
func (request ListZprConfigurationWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListZprConfigurationWorkRequestLogsRequest) String ¶
func (request ListZprConfigurationWorkRequestLogsRequest) String() string
func (ListZprConfigurationWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListZprConfigurationWorkRequestLogsRequest) 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 ListZprConfigurationWorkRequestLogsResponse ¶
type ListZprConfigurationWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListZprConfigurationWorkRequestLogsResponse wrapper for the ListZprConfigurationWorkRequestLogs operation
func (ListZprConfigurationWorkRequestLogsResponse) HTTPResponse ¶
func (response ListZprConfigurationWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListZprConfigurationWorkRequestLogsResponse) String ¶
func (response ListZprConfigurationWorkRequestLogsResponse) String() string
type ListZprConfigurationWorkRequestLogsSortByEnum ¶
type ListZprConfigurationWorkRequestLogsSortByEnum string
ListZprConfigurationWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListZprConfigurationWorkRequestLogsSortByTimestamp ListZprConfigurationWorkRequestLogsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListZprConfigurationWorkRequestLogsSortByEnum
func GetListZprConfigurationWorkRequestLogsSortByEnumValues ¶
func GetListZprConfigurationWorkRequestLogsSortByEnumValues() []ListZprConfigurationWorkRequestLogsSortByEnum
GetListZprConfigurationWorkRequestLogsSortByEnumValues Enumerates the set of values for ListZprConfigurationWorkRequestLogsSortByEnum
func GetMappingListZprConfigurationWorkRequestLogsSortByEnum ¶
func GetMappingListZprConfigurationWorkRequestLogsSortByEnum(val string) (ListZprConfigurationWorkRequestLogsSortByEnum, bool)
GetMappingListZprConfigurationWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprConfigurationWorkRequestLogsSortOrderEnum ¶
type ListZprConfigurationWorkRequestLogsSortOrderEnum string
ListZprConfigurationWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListZprConfigurationWorkRequestLogsSortOrderAsc ListZprConfigurationWorkRequestLogsSortOrderEnum = "ASC" ListZprConfigurationWorkRequestLogsSortOrderDesc ListZprConfigurationWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListZprConfigurationWorkRequestLogsSortOrderEnum
func GetListZprConfigurationWorkRequestLogsSortOrderEnumValues ¶
func GetListZprConfigurationWorkRequestLogsSortOrderEnumValues() []ListZprConfigurationWorkRequestLogsSortOrderEnum
GetListZprConfigurationWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListZprConfigurationWorkRequestLogsSortOrderEnum
func GetMappingListZprConfigurationWorkRequestLogsSortOrderEnum ¶
func GetMappingListZprConfigurationWorkRequestLogsSortOrderEnum(val string) (ListZprConfigurationWorkRequestLogsSortOrderEnum, bool)
GetMappingListZprConfigurationWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprConfigurationWorkRequestsRequest ¶
type ListZprConfigurationWorkRequestsRequest 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only the resources that match the given lifecycle state. Status ListZprConfigurationWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListZprConfigurationWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for `timeAccepted` is descending. SortBy ListZprConfigurationWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListZprConfigurationWorkRequestsRequest wrapper for the ListZprConfigurationWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprConfigurationWorkRequests.go.html to see an example of how to use ListZprConfigurationWorkRequestsRequest.
func (ListZprConfigurationWorkRequestsRequest) BinaryRequestBody ¶
func (request ListZprConfigurationWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListZprConfigurationWorkRequestsRequest) HTTPRequest ¶
func (request ListZprConfigurationWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListZprConfigurationWorkRequestsRequest) RetryPolicy ¶
func (request ListZprConfigurationWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListZprConfigurationWorkRequestsRequest) String ¶
func (request ListZprConfigurationWorkRequestsRequest) String() string
func (ListZprConfigurationWorkRequestsRequest) ValidateEnumValue ¶
func (request ListZprConfigurationWorkRequestsRequest) 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 ListZprConfigurationWorkRequestsResponse ¶
type ListZprConfigurationWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListZprConfigurationWorkRequestsResponse wrapper for the ListZprConfigurationWorkRequests operation
func (ListZprConfigurationWorkRequestsResponse) HTTPResponse ¶
func (response ListZprConfigurationWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListZprConfigurationWorkRequestsResponse) String ¶
func (response ListZprConfigurationWorkRequestsResponse) String() string
type ListZprConfigurationWorkRequestsSortByEnum ¶
type ListZprConfigurationWorkRequestsSortByEnum string
ListZprConfigurationWorkRequestsSortByEnum Enum with underlying type: string
const (
ListZprConfigurationWorkRequestsSortByTimeaccepted ListZprConfigurationWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListZprConfigurationWorkRequestsSortByEnum
func GetListZprConfigurationWorkRequestsSortByEnumValues ¶
func GetListZprConfigurationWorkRequestsSortByEnumValues() []ListZprConfigurationWorkRequestsSortByEnum
GetListZprConfigurationWorkRequestsSortByEnumValues Enumerates the set of values for ListZprConfigurationWorkRequestsSortByEnum
func GetMappingListZprConfigurationWorkRequestsSortByEnum ¶
func GetMappingListZprConfigurationWorkRequestsSortByEnum(val string) (ListZprConfigurationWorkRequestsSortByEnum, bool)
GetMappingListZprConfigurationWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprConfigurationWorkRequestsSortOrderEnum ¶
type ListZprConfigurationWorkRequestsSortOrderEnum string
ListZprConfigurationWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListZprConfigurationWorkRequestsSortOrderAsc ListZprConfigurationWorkRequestsSortOrderEnum = "ASC" ListZprConfigurationWorkRequestsSortOrderDesc ListZprConfigurationWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListZprConfigurationWorkRequestsSortOrderEnum
func GetListZprConfigurationWorkRequestsSortOrderEnumValues ¶
func GetListZprConfigurationWorkRequestsSortOrderEnumValues() []ListZprConfigurationWorkRequestsSortOrderEnum
GetListZprConfigurationWorkRequestsSortOrderEnumValues Enumerates the set of values for ListZprConfigurationWorkRequestsSortOrderEnum
func GetMappingListZprConfigurationWorkRequestsSortOrderEnum ¶
func GetMappingListZprConfigurationWorkRequestsSortOrderEnum(val string) (ListZprConfigurationWorkRequestsSortOrderEnum, bool)
GetMappingListZprConfigurationWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprConfigurationWorkRequestsStatusEnum ¶
type ListZprConfigurationWorkRequestsStatusEnum string
ListZprConfigurationWorkRequestsStatusEnum Enum with underlying type: string
const ( ListZprConfigurationWorkRequestsStatusAccepted ListZprConfigurationWorkRequestsStatusEnum = "ACCEPTED" ListZprConfigurationWorkRequestsStatusInProgress ListZprConfigurationWorkRequestsStatusEnum = "IN_PROGRESS" ListZprConfigurationWorkRequestsStatusWaiting ListZprConfigurationWorkRequestsStatusEnum = "WAITING" ListZprConfigurationWorkRequestsStatusNeedsAttention ListZprConfigurationWorkRequestsStatusEnum = "NEEDS_ATTENTION" ListZprConfigurationWorkRequestsStatusFailed ListZprConfigurationWorkRequestsStatusEnum = "FAILED" ListZprConfigurationWorkRequestsStatusSucceeded ListZprConfigurationWorkRequestsStatusEnum = "SUCCEEDED" ListZprConfigurationWorkRequestsStatusCanceling ListZprConfigurationWorkRequestsStatusEnum = "CANCELING" ListZprConfigurationWorkRequestsStatusCanceled ListZprConfigurationWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListZprConfigurationWorkRequestsStatusEnum
func GetListZprConfigurationWorkRequestsStatusEnumValues ¶
func GetListZprConfigurationWorkRequestsStatusEnumValues() []ListZprConfigurationWorkRequestsStatusEnum
GetListZprConfigurationWorkRequestsStatusEnumValues Enumerates the set of values for ListZprConfigurationWorkRequestsStatusEnum
func GetMappingListZprConfigurationWorkRequestsStatusEnum ¶
func GetMappingListZprConfigurationWorkRequestsStatusEnum(val string) (ListZprConfigurationWorkRequestsStatusEnum, bool)
GetMappingListZprConfigurationWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPoliciesRequest ¶
type ListZprPoliciesRequest 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"` // A filter to return only resources that match the given lifecycle state. The // state value is case-insensitive. LifecycleState ZprPolicyLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListZprPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. You can provide only one sort order. Default order for `timeCreated` // is descending. Default order for `name` is ascending. SortBy ListZprPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListZprPoliciesRequest wrapper for the ListZprPolicies operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprPolicies.go.html to see an example of how to use ListZprPoliciesRequest.
func (ListZprPoliciesRequest) BinaryRequestBody ¶
func (request ListZprPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListZprPoliciesRequest) HTTPRequest ¶
func (request ListZprPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListZprPoliciesRequest) RetryPolicy ¶
func (request ListZprPoliciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListZprPoliciesRequest) String ¶
func (request ListZprPoliciesRequest) String() string
func (ListZprPoliciesRequest) ValidateEnumValue ¶
func (request ListZprPoliciesRequest) 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 ListZprPoliciesResponse ¶
type ListZprPoliciesResponse struct { // The underlying http response RawResponse *http.Response // A list of ZprPolicyCollection instances ZprPolicyCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListZprPoliciesResponse wrapper for the ListZprPolicies operation
func (ListZprPoliciesResponse) HTTPResponse ¶
func (response ListZprPoliciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListZprPoliciesResponse) String ¶
func (response ListZprPoliciesResponse) String() string
type ListZprPoliciesSortByEnum ¶
type ListZprPoliciesSortByEnum string
ListZprPoliciesSortByEnum Enum with underlying type: string
const ( ListZprPoliciesSortByTimecreated ListZprPoliciesSortByEnum = "timeCreated" ListZprPoliciesSortByName ListZprPoliciesSortByEnum = "name" )
Set of constants representing the allowable values for ListZprPoliciesSortByEnum
func GetListZprPoliciesSortByEnumValues ¶
func GetListZprPoliciesSortByEnumValues() []ListZprPoliciesSortByEnum
GetListZprPoliciesSortByEnumValues Enumerates the set of values for ListZprPoliciesSortByEnum
func GetMappingListZprPoliciesSortByEnum ¶
func GetMappingListZprPoliciesSortByEnum(val string) (ListZprPoliciesSortByEnum, bool)
GetMappingListZprPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPoliciesSortOrderEnum ¶
type ListZprPoliciesSortOrderEnum string
ListZprPoliciesSortOrderEnum Enum with underlying type: string
const ( ListZprPoliciesSortOrderAsc ListZprPoliciesSortOrderEnum = "ASC" ListZprPoliciesSortOrderDesc ListZprPoliciesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListZprPoliciesSortOrderEnum
func GetListZprPoliciesSortOrderEnumValues ¶
func GetListZprPoliciesSortOrderEnumValues() []ListZprPoliciesSortOrderEnum
GetListZprPoliciesSortOrderEnumValues Enumerates the set of values for ListZprPoliciesSortOrderEnum
func GetMappingListZprPoliciesSortOrderEnum ¶
func GetMappingListZprPoliciesSortOrderEnum(val string) (ListZprPoliciesSortOrderEnum, bool)
GetMappingListZprPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPolicyWorkRequestErrorsRequest ¶
type ListZprPolicyWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending. SortBy ListZprPolicyWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListZprPolicyWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListZprPolicyWorkRequestErrorsRequest wrapper for the ListZprPolicyWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprPolicyWorkRequestErrors.go.html to see an example of how to use ListZprPolicyWorkRequestErrorsRequest.
func (ListZprPolicyWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListZprPolicyWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListZprPolicyWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListZprPolicyWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListZprPolicyWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListZprPolicyWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListZprPolicyWorkRequestErrorsRequest) String ¶
func (request ListZprPolicyWorkRequestErrorsRequest) String() string
func (ListZprPolicyWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListZprPolicyWorkRequestErrorsRequest) 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 ListZprPolicyWorkRequestErrorsResponse ¶
type ListZprPolicyWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListZprPolicyWorkRequestErrorsResponse wrapper for the ListZprPolicyWorkRequestErrors operation
func (ListZprPolicyWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListZprPolicyWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListZprPolicyWorkRequestErrorsResponse) String ¶
func (response ListZprPolicyWorkRequestErrorsResponse) String() string
type ListZprPolicyWorkRequestErrorsSortByEnum ¶
type ListZprPolicyWorkRequestErrorsSortByEnum string
ListZprPolicyWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListZprPolicyWorkRequestErrorsSortByTimestamp ListZprPolicyWorkRequestErrorsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListZprPolicyWorkRequestErrorsSortByEnum
func GetListZprPolicyWorkRequestErrorsSortByEnumValues ¶
func GetListZprPolicyWorkRequestErrorsSortByEnumValues() []ListZprPolicyWorkRequestErrorsSortByEnum
GetListZprPolicyWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListZprPolicyWorkRequestErrorsSortByEnum
func GetMappingListZprPolicyWorkRequestErrorsSortByEnum ¶
func GetMappingListZprPolicyWorkRequestErrorsSortByEnum(val string) (ListZprPolicyWorkRequestErrorsSortByEnum, bool)
GetMappingListZprPolicyWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPolicyWorkRequestErrorsSortOrderEnum ¶
type ListZprPolicyWorkRequestErrorsSortOrderEnum string
ListZprPolicyWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListZprPolicyWorkRequestErrorsSortOrderAsc ListZprPolicyWorkRequestErrorsSortOrderEnum = "ASC" ListZprPolicyWorkRequestErrorsSortOrderDesc ListZprPolicyWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListZprPolicyWorkRequestErrorsSortOrderEnum
func GetListZprPolicyWorkRequestErrorsSortOrderEnumValues ¶
func GetListZprPolicyWorkRequestErrorsSortOrderEnumValues() []ListZprPolicyWorkRequestErrorsSortOrderEnum
GetListZprPolicyWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListZprPolicyWorkRequestErrorsSortOrderEnum
func GetMappingListZprPolicyWorkRequestErrorsSortOrderEnum ¶
func GetMappingListZprPolicyWorkRequestErrorsSortOrderEnum(val string) (ListZprPolicyWorkRequestErrorsSortOrderEnum, bool)
GetMappingListZprPolicyWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPolicyWorkRequestLogsRequest ¶
type ListZprPolicyWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending. SortBy ListZprPolicyWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListZprPolicyWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListZprPolicyWorkRequestLogsRequest wrapper for the ListZprPolicyWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprPolicyWorkRequestLogs.go.html to see an example of how to use ListZprPolicyWorkRequestLogsRequest.
func (ListZprPolicyWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListZprPolicyWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListZprPolicyWorkRequestLogsRequest) HTTPRequest ¶
func (request ListZprPolicyWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListZprPolicyWorkRequestLogsRequest) RetryPolicy ¶
func (request ListZprPolicyWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListZprPolicyWorkRequestLogsRequest) String ¶
func (request ListZprPolicyWorkRequestLogsRequest) String() string
func (ListZprPolicyWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListZprPolicyWorkRequestLogsRequest) 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 ListZprPolicyWorkRequestLogsResponse ¶
type ListZprPolicyWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListZprPolicyWorkRequestLogsResponse wrapper for the ListZprPolicyWorkRequestLogs operation
func (ListZprPolicyWorkRequestLogsResponse) HTTPResponse ¶
func (response ListZprPolicyWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListZprPolicyWorkRequestLogsResponse) String ¶
func (response ListZprPolicyWorkRequestLogsResponse) String() string
type ListZprPolicyWorkRequestLogsSortByEnum ¶
type ListZprPolicyWorkRequestLogsSortByEnum string
ListZprPolicyWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListZprPolicyWorkRequestLogsSortByTimestamp ListZprPolicyWorkRequestLogsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListZprPolicyWorkRequestLogsSortByEnum
func GetListZprPolicyWorkRequestLogsSortByEnumValues ¶
func GetListZprPolicyWorkRequestLogsSortByEnumValues() []ListZprPolicyWorkRequestLogsSortByEnum
GetListZprPolicyWorkRequestLogsSortByEnumValues Enumerates the set of values for ListZprPolicyWorkRequestLogsSortByEnum
func GetMappingListZprPolicyWorkRequestLogsSortByEnum ¶
func GetMappingListZprPolicyWorkRequestLogsSortByEnum(val string) (ListZprPolicyWorkRequestLogsSortByEnum, bool)
GetMappingListZprPolicyWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPolicyWorkRequestLogsSortOrderEnum ¶
type ListZprPolicyWorkRequestLogsSortOrderEnum string
ListZprPolicyWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListZprPolicyWorkRequestLogsSortOrderAsc ListZprPolicyWorkRequestLogsSortOrderEnum = "ASC" ListZprPolicyWorkRequestLogsSortOrderDesc ListZprPolicyWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListZprPolicyWorkRequestLogsSortOrderEnum
func GetListZprPolicyWorkRequestLogsSortOrderEnumValues ¶
func GetListZprPolicyWorkRequestLogsSortOrderEnumValues() []ListZprPolicyWorkRequestLogsSortOrderEnum
GetListZprPolicyWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListZprPolicyWorkRequestLogsSortOrderEnum
func GetMappingListZprPolicyWorkRequestLogsSortOrderEnum ¶
func GetMappingListZprPolicyWorkRequestLogsSortOrderEnum(val string) (ListZprPolicyWorkRequestLogsSortOrderEnum, bool)
GetMappingListZprPolicyWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPolicyWorkRequestsRequest ¶
type ListZprPolicyWorkRequestsRequest 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only the resources that match the given lifecycle state. Status ListZprPolicyWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the opc-next-page response header from the previous // "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a // paginated "List" call. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListZprPolicyWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for `timeAccepted` is descending. SortBy ListZprPolicyWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListZprPolicyWorkRequestsRequest wrapper for the ListZprPolicyWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprPolicyWorkRequests.go.html to see an example of how to use ListZprPolicyWorkRequestsRequest.
func (ListZprPolicyWorkRequestsRequest) BinaryRequestBody ¶
func (request ListZprPolicyWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListZprPolicyWorkRequestsRequest) HTTPRequest ¶
func (request ListZprPolicyWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListZprPolicyWorkRequestsRequest) RetryPolicy ¶
func (request ListZprPolicyWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListZprPolicyWorkRequestsRequest) String ¶
func (request ListZprPolicyWorkRequestsRequest) String() string
func (ListZprPolicyWorkRequestsRequest) ValidateEnumValue ¶
func (request ListZprPolicyWorkRequestsRequest) 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 ListZprPolicyWorkRequestsResponse ¶
type ListZprPolicyWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For list pagination. When this header appears in the response, additional pages of results remain. For // important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListZprPolicyWorkRequestsResponse wrapper for the ListZprPolicyWorkRequests operation
func (ListZprPolicyWorkRequestsResponse) HTTPResponse ¶
func (response ListZprPolicyWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListZprPolicyWorkRequestsResponse) String ¶
func (response ListZprPolicyWorkRequestsResponse) String() string
type ListZprPolicyWorkRequestsSortByEnum ¶
type ListZprPolicyWorkRequestsSortByEnum string
ListZprPolicyWorkRequestsSortByEnum Enum with underlying type: string
const (
ListZprPolicyWorkRequestsSortByTimeaccepted ListZprPolicyWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListZprPolicyWorkRequestsSortByEnum
func GetListZprPolicyWorkRequestsSortByEnumValues ¶
func GetListZprPolicyWorkRequestsSortByEnumValues() []ListZprPolicyWorkRequestsSortByEnum
GetListZprPolicyWorkRequestsSortByEnumValues Enumerates the set of values for ListZprPolicyWorkRequestsSortByEnum
func GetMappingListZprPolicyWorkRequestsSortByEnum ¶
func GetMappingListZprPolicyWorkRequestsSortByEnum(val string) (ListZprPolicyWorkRequestsSortByEnum, bool)
GetMappingListZprPolicyWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPolicyWorkRequestsSortOrderEnum ¶
type ListZprPolicyWorkRequestsSortOrderEnum string
ListZprPolicyWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListZprPolicyWorkRequestsSortOrderAsc ListZprPolicyWorkRequestsSortOrderEnum = "ASC" ListZprPolicyWorkRequestsSortOrderDesc ListZprPolicyWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListZprPolicyWorkRequestsSortOrderEnum
func GetListZprPolicyWorkRequestsSortOrderEnumValues ¶
func GetListZprPolicyWorkRequestsSortOrderEnumValues() []ListZprPolicyWorkRequestsSortOrderEnum
GetListZprPolicyWorkRequestsSortOrderEnumValues Enumerates the set of values for ListZprPolicyWorkRequestsSortOrderEnum
func GetMappingListZprPolicyWorkRequestsSortOrderEnum ¶
func GetMappingListZprPolicyWorkRequestsSortOrderEnum(val string) (ListZprPolicyWorkRequestsSortOrderEnum, bool)
GetMappingListZprPolicyWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListZprPolicyWorkRequestsStatusEnum ¶
type ListZprPolicyWorkRequestsStatusEnum string
ListZprPolicyWorkRequestsStatusEnum Enum with underlying type: string
const ( ListZprPolicyWorkRequestsStatusAccepted ListZprPolicyWorkRequestsStatusEnum = "ACCEPTED" ListZprPolicyWorkRequestsStatusInProgress ListZprPolicyWorkRequestsStatusEnum = "IN_PROGRESS" ListZprPolicyWorkRequestsStatusWaiting ListZprPolicyWorkRequestsStatusEnum = "WAITING" ListZprPolicyWorkRequestsStatusNeedsAttention ListZprPolicyWorkRequestsStatusEnum = "NEEDS_ATTENTION" ListZprPolicyWorkRequestsStatusFailed ListZprPolicyWorkRequestsStatusEnum = "FAILED" ListZprPolicyWorkRequestsStatusSucceeded ListZprPolicyWorkRequestsStatusEnum = "SUCCEEDED" ListZprPolicyWorkRequestsStatusCanceling ListZprPolicyWorkRequestsStatusEnum = "CANCELING" ListZprPolicyWorkRequestsStatusCanceled ListZprPolicyWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListZprPolicyWorkRequestsStatusEnum
func GetListZprPolicyWorkRequestsStatusEnumValues ¶
func GetListZprPolicyWorkRequestsStatusEnumValues() []ListZprPolicyWorkRequestsStatusEnum
GetListZprPolicyWorkRequestsStatusEnumValues Enumerates the set of values for ListZprPolicyWorkRequestsStatusEnum
func GetMappingListZprPolicyWorkRequestsStatusEnum ¶
func GetMappingListZprPolicyWorkRequestsStatusEnum(val string) (ListZprPolicyWorkRequestsStatusEnum, bool)
GetMappingListZprPolicyWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateZprPolicy OperationTypeEnum = "CREATE_ZPR_POLICY" OperationTypeUpdateZprPolicy OperationTypeEnum = "UPDATE_ZPR_POLICY" OperationTypeDeleteZprPolicy OperationTypeEnum = "DELETE_ZPR_POLICY" OperationTypeCreateZprConfiguration OperationTypeEnum = "CREATE_ZPR_CONFIGURATION" OperationTypeUpdateZprConfiguration OperationTypeEnum = "UPDATE_ZPR_CONFIGURATION" OperationTypeDeleteZprConfiguration OperationTypeEnum = "DELETE_ZPR_CONFIGURATION" )
Set of constants representing the allowable values for OperationTypeEnum
func GetMappingOperationTypeEnum ¶
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type 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 UpdateZprPolicyDetails ¶
type UpdateZprPolicyDetails struct { // The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. Statements []string `mandatory:"false" json:"statements"` // 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"` }
UpdateZprPolicyDetails The data to update a ZprPolicy.
func (UpdateZprPolicyDetails) String ¶
func (m UpdateZprPolicyDetails) String() string
func (UpdateZprPolicyDetails) ValidateEnumValue ¶
func (m UpdateZprPolicyDetails) 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 UpdateZprPolicyRequest ¶
type UpdateZprPolicyRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. ZprPolicyId *string `mandatory:"true" contributesTo:"path" name:"zprPolicyId"` // The information to be updated. UpdateZprPolicyDetails `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"` // Indicates that the request is a dry run, if set to "true". A dry run request does not modify the // configuration item details and is used only to perform validation on the submitted data. OpcDryRun *bool `mandatory:"false" contributesTo:"header" name:"opc-dry-run"` // 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 }
UpdateZprPolicyRequest wrapper for the UpdateZprPolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/UpdateZprPolicy.go.html to see an example of how to use UpdateZprPolicyRequest.
func (UpdateZprPolicyRequest) BinaryRequestBody ¶
func (request UpdateZprPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateZprPolicyRequest) HTTPRequest ¶
func (request UpdateZprPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateZprPolicyRequest) RetryPolicy ¶
func (request UpdateZprPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateZprPolicyRequest) String ¶
func (request UpdateZprPolicyRequest) String() string
func (UpdateZprPolicyRequest) ValidateEnumValue ¶
func (request UpdateZprPolicyRequest) 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 UpdateZprPolicyResponse ¶
type UpdateZprPolicyResponse 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"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
UpdateZprPolicyResponse wrapper for the UpdateZprPolicy operation
func (UpdateZprPolicyResponse) HTTPResponse ¶
func (response UpdateZprPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateZprPolicyResponse) String ¶
func (response UpdateZprPolicyResponse) String() string
type WorkRequest ¶
type WorkRequest struct { // The asynchronous operation tracked by this work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources that are affected by the work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Shows the progress of the operation tracked by the work request, as a percentage of the total work // that must be performed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was created, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request was updated, in the format defined by // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The date and time the work request was started, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request was finished, in the format defined by // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that lets you track each step in the operation's progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occurred. For a list of error codes, see // API Errors (https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error message. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while performing an operation that is tracked by a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // A list of work request errors. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
func (WorkRequestErrorCollection) ValidateEnumValue ¶
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // A human-readable log message. Message *string `mandatory:"true" json:"message"` // The date and time the log message was written, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry A log message from performing an operation that is tracked by a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // A list of work request log entries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
func (WorkRequestLogEntryCollection) ValidateEnumValue ¶
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResource ¶
type WorkRequestResource struct { // The resource type that the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the operation tracked in the work request. // A resource being created, updated, or deleted remains in the IN_PROGRESS state until // work is complete for that resource, at which point it transitions to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that you can use for a GET request to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` // Additional information that helps to explain the resource. Metadata map[string]string `mandatory:"false" json:"metadata"` }
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResourceMetadataKeyEnum ¶
type WorkRequestResourceMetadataKeyEnum string
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
const (
WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
func GetMappingWorkRequestResourceMetadataKeyEnum ¶
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues ¶
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
type WorkRequestStatusEnum ¶
type WorkRequestStatusEnum string
WorkRequestStatusEnum Enum with underlying type: string
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusWaiting WorkRequestStatusEnum = "WAITING" WorkRequestStatusNeedsAttention WorkRequestStatusEnum = "NEEDS_ATTENTION" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "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
type WorkRequestSummary ¶
type WorkRequestSummary struct { // The asynchronous operation tracked by this work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources that are affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Shows the progress of the operation tracked by the work request, as a percentage of the total work // that must be performed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was created, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request was started, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request was finished, in the format defined by // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The date and time the work request was updated, in the format defined by // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
WorkRequestSummary Summary information about an asynchronous work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct { // A list of work requests. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata.
func (WorkRequestSummaryCollection) String ¶
func (m WorkRequestSummaryCollection) String() string
func (WorkRequestSummaryCollection) ValidateEnumValue ¶
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ZprClient ¶
type ZprClient struct { common.BaseClient // contains filtered or unexported fields }
ZprClient a client for Zpr
func NewZprClientWithConfigurationProvider ¶
func NewZprClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ZprClient, err error)
NewZprClientWithConfigurationProvider Creates a new default Zpr client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewZprClientWithOboToken ¶
func NewZprClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ZprClient, err error)
NewZprClientWithOboToken Creates a new default Zpr 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 (*ZprClient) ConfigurationProvider ¶
func (client *ZprClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (ZprClient) CreateConfiguration ¶
func (client ZprClient) CreateConfiguration(ctx context.Context, request CreateConfigurationRequest) (response CreateConfigurationResponse, err error)
CreateConfiguration Initiates the process to onboard ZPR in a root compartment (the root compartment is the tenancy). It creates an object of ZPR configuration as part of onboarding.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/CreateConfiguration.go.html to see an example of how to use CreateConfiguration API. A default retry strategy applies to this operation CreateConfiguration()
func (ZprClient) CreateZprPolicy ¶
func (client ZprClient) CreateZprPolicy(ctx context.Context, request CreateZprPolicyRequest) (response CreateZprPolicyResponse, err error)
CreateZprPolicy Creates a ZprPolicy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/CreateZprPolicy.go.html to see an example of how to use CreateZprPolicy API. A default retry strategy applies to this operation CreateZprPolicy()
func (ZprClient) DeleteZprPolicy ¶
func (client ZprClient) DeleteZprPolicy(ctx context.Context, request DeleteZprPolicyRequest) (response DeleteZprPolicyResponse, err error)
DeleteZprPolicy Deletes a ZprPolicy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/DeleteZprPolicy.go.html to see an example of how to use DeleteZprPolicy API. A default retry strategy applies to this operation DeleteZprPolicy()
func (ZprClient) GetConfiguration ¶
func (client ZprClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)
GetConfiguration Retrieves the ZPR configuration details for the root compartment (the root compartment is the tenancy). Returns ZPR configuration for root compartment (the root compartment is the tenancy).
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/GetConfiguration.go.html to see an example of how to use GetConfiguration API. A default retry strategy applies to this operation GetConfiguration()
func (ZprClient) GetZprConfigurationWorkRequest ¶
func (client ZprClient) GetZprConfigurationWorkRequest(ctx context.Context, request GetZprConfigurationWorkRequestRequest) (response GetZprConfigurationWorkRequestResponse, err error)
GetZprConfigurationWorkRequest Gets the details of a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/GetZprConfigurationWorkRequest.go.html to see an example of how to use GetZprConfigurationWorkRequest API. A default retry strategy applies to this operation GetZprConfigurationWorkRequest()
func (ZprClient) GetZprPolicy ¶
func (client ZprClient) GetZprPolicy(ctx context.Context, request GetZprPolicyRequest) (response GetZprPolicyResponse, err error)
GetZprPolicy Gets information about a ZprPolicy.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/GetZprPolicy.go.html to see an example of how to use GetZprPolicy API. A default retry strategy applies to this operation GetZprPolicy()
func (ZprClient) GetZprPolicyWorkRequest ¶
func (client ZprClient) GetZprPolicyWorkRequest(ctx context.Context, request GetZprPolicyWorkRequestRequest) (response GetZprPolicyWorkRequestResponse, err error)
GetZprPolicyWorkRequest Gets the details of a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/GetZprPolicyWorkRequest.go.html to see an example of how to use GetZprPolicyWorkRequest API. A default retry strategy applies to this operation GetZprPolicyWorkRequest()
func (ZprClient) ListZprConfigurationWorkRequestErrors ¶
func (client ZprClient) ListZprConfigurationWorkRequestErrors(ctx context.Context, request ListZprConfigurationWorkRequestErrorsRequest) (response ListZprConfigurationWorkRequestErrorsResponse, err error)
ListZprConfigurationWorkRequestErrors Lists the errors for a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprConfigurationWorkRequestErrors.go.html to see an example of how to use ListZprConfigurationWorkRequestErrors API. A default retry strategy applies to this operation ListZprConfigurationWorkRequestErrors()
func (ZprClient) ListZprConfigurationWorkRequestLogs ¶
func (client ZprClient) ListZprConfigurationWorkRequestLogs(ctx context.Context, request ListZprConfigurationWorkRequestLogsRequest) (response ListZprConfigurationWorkRequestLogsResponse, err error)
ListZprConfigurationWorkRequestLogs Lists the logs for a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprConfigurationWorkRequestLogs.go.html to see an example of how to use ListZprConfigurationWorkRequestLogs API. A default retry strategy applies to this operation ListZprConfigurationWorkRequestLogs()
func (ZprClient) ListZprConfigurationWorkRequests ¶
func (client ZprClient) ListZprConfigurationWorkRequests(ctx context.Context, request ListZprConfigurationWorkRequestsRequest) (response ListZprConfigurationWorkRequestsResponse, err error)
ListZprConfigurationWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprConfigurationWorkRequests.go.html to see an example of how to use ListZprConfigurationWorkRequests API. A default retry strategy applies to this operation ListZprConfigurationWorkRequests()
func (ZprClient) ListZprPolicies ¶
func (client ZprClient) ListZprPolicies(ctx context.Context, request ListZprPoliciesRequest) (response ListZprPoliciesResponse, err error)
ListZprPolicies Gets a list of ZprPolicies.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprPolicies.go.html to see an example of how to use ListZprPolicies API. A default retry strategy applies to this operation ListZprPolicies()
func (ZprClient) ListZprPolicyWorkRequestErrors ¶
func (client ZprClient) ListZprPolicyWorkRequestErrors(ctx context.Context, request ListZprPolicyWorkRequestErrorsRequest) (response ListZprPolicyWorkRequestErrorsResponse, err error)
ListZprPolicyWorkRequestErrors Lists the errors for a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprPolicyWorkRequestErrors.go.html to see an example of how to use ListZprPolicyWorkRequestErrors API. A default retry strategy applies to this operation ListZprPolicyWorkRequestErrors()
func (ZprClient) ListZprPolicyWorkRequestLogs ¶
func (client ZprClient) ListZprPolicyWorkRequestLogs(ctx context.Context, request ListZprPolicyWorkRequestLogsRequest) (response ListZprPolicyWorkRequestLogsResponse, err error)
ListZprPolicyWorkRequestLogs Lists the logs for a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprPolicyWorkRequestLogs.go.html to see an example of how to use ListZprPolicyWorkRequestLogs API. A default retry strategy applies to this operation ListZprPolicyWorkRequestLogs()
func (ZprClient) ListZprPolicyWorkRequests ¶
func (client ZprClient) ListZprPolicyWorkRequests(ctx context.Context, request ListZprPolicyWorkRequestsRequest) (response ListZprPolicyWorkRequestsResponse, err error)
ListZprPolicyWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/ListZprPolicyWorkRequests.go.html to see an example of how to use ListZprPolicyWorkRequests API. A default retry strategy applies to this operation ListZprPolicyWorkRequests()
func (ZprClient) UpdateZprPolicy ¶
func (client ZprClient) UpdateZprPolicy(ctx context.Context, request UpdateZprPolicyRequest) (response UpdateZprPolicyResponse, err error)
UpdateZprPolicy Updates a specific ZprPolicy. If updating on statements, the entire list of policy statements is required, which will replace the existing policy statements associated with the policy ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/zpr/UpdateZprPolicy.go.html to see an example of how to use UpdateZprPolicy API. A default retry strategy applies to this operation UpdateZprPolicy()
type ZprPolicy ¶
type ZprPolicy struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. Id *string `mandatory:"true" json:"id"` // The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. Name *string `mandatory:"true" json:"name"` // The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. Statements []string `mandatory:"true" json:"statements"` // The current state of the ZprPolicy. LifecycleState ZprPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the ZprPolicy was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/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:"true" 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:"true" 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"` // A message that describes the current state of the ZprPolicy in more detail. For example, // can be used to provide actionable information for a resource in the Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The date and time the ZprPolicy was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
ZprPolicy A ZprPolicy is a rule that governs the communication between specific endpoints identified by their security attributes. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
func (ZprPolicy) ValidateEnumValue ¶
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 ZprPolicyCollection ¶
type ZprPolicyCollection struct { // List of zprPolicies. Items []ZprPolicySummary `mandatory:"true" json:"items"` }
ZprPolicyCollection Results of a zprPolicy search. Contains both ZprPolicySummary items and other information, such as metadata.
func (ZprPolicyCollection) String ¶
func (m ZprPolicyCollection) String() string
func (ZprPolicyCollection) ValidateEnumValue ¶
func (m ZprPolicyCollection) 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 ZprPolicyLifecycleStateEnum ¶
type ZprPolicyLifecycleStateEnum string
ZprPolicyLifecycleStateEnum Enum with underlying type: string
const ( ZprPolicyLifecycleStateActive ZprPolicyLifecycleStateEnum = "ACTIVE" ZprPolicyLifecycleStateCreating ZprPolicyLifecycleStateEnum = "CREATING" ZprPolicyLifecycleStateFailed ZprPolicyLifecycleStateEnum = "FAILED" ZprPolicyLifecycleStateUpdating ZprPolicyLifecycleStateEnum = "UPDATING" ZprPolicyLifecycleStateDeleting ZprPolicyLifecycleStateEnum = "DELETING" ZprPolicyLifecycleStateDeleted ZprPolicyLifecycleStateEnum = "DELETED" ZprPolicyLifecycleStateNeedsAttention ZprPolicyLifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for ZprPolicyLifecycleStateEnum
func GetMappingZprPolicyLifecycleStateEnum ¶
func GetMappingZprPolicyLifecycleStateEnum(val string) (ZprPolicyLifecycleStateEnum, bool)
GetMappingZprPolicyLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetZprPolicyLifecycleStateEnumValues ¶
func GetZprPolicyLifecycleStateEnumValues() []ZprPolicyLifecycleStateEnum
GetZprPolicyLifecycleStateEnumValues Enumerates the set of values for ZprPolicyLifecycleStateEnum
type ZprPolicySummary ¶
type ZprPolicySummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy. Id *string `mandatory:"true" json:"id"` // The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy. Name *string `mandatory:"true" json:"name"` // The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language. Statements []string `mandatory:"true" json:"statements"` // The current state of the ZprPolicy. LifecycleState ZprPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the ZprPolicy was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/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:"true" 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:"true" 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"` // A message that describes the current state of the ZprPolicy in more detail. For example, // can be used to provide actionable information for a resource in the Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The date and time the ZprPolicy was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
ZprPolicySummary Summary information about a ZprPolicy.
func (ZprPolicySummary) String ¶
func (m ZprPolicySummary) String() string
func (ZprPolicySummary) ValidateEnumValue ¶
func (m ZprPolicySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Source Files ¶
- action_type.go
- configuration.go
- create_configuration_details.go
- create_configuration_request_response.go
- create_zpr_policy_details.go
- create_zpr_policy_request_response.go
- delete_zpr_policy_request_response.go
- get_configuration_request_response.go
- get_zpr_configuration_work_request_request_response.go
- get_zpr_policy_request_response.go
- get_zpr_policy_work_request_request_response.go
- list_zpr_configuration_work_request_errors_request_response.go
- list_zpr_configuration_work_request_logs_request_response.go
- list_zpr_configuration_work_requests_request_response.go
- list_zpr_policies_request_response.go
- list_zpr_policy_work_request_errors_request_response.go
- list_zpr_policy_work_request_logs_request_response.go
- list_zpr_policy_work_requests_request_response.go
- operation_type.go
- sort_order.go
- update_zpr_policy_details.go
- update_zpr_policy_request_response.go
- work_request.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go
- work_request_resource_metadata_key.go
- work_request_status.go
- work_request_summary.go
- work_request_summary_collection.go
- zpr_client.go
- zpr_policy.go
- zpr_policy_collection.go
- zpr_policy_summary.go