waa

package
v65.71.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBackendTypeEnumStringValues

func GetBackendTypeEnumStringValues() []string

GetBackendTypeEnumStringValues Enumerates the set of values in String for BackendTypeEnum

func GetListWebAppAccelerationPoliciesSortByEnumStringValues

func GetListWebAppAccelerationPoliciesSortByEnumStringValues() []string

GetListWebAppAccelerationPoliciesSortByEnumStringValues Enumerates the set of values in String for ListWebAppAccelerationPoliciesSortByEnum

func GetListWebAppAccelerationPoliciesSortOrderEnumStringValues

func GetListWebAppAccelerationPoliciesSortOrderEnumStringValues() []string

GetListWebAppAccelerationPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListWebAppAccelerationPoliciesSortOrderEnum

func GetListWebAppAccelerationsSortByEnumStringValues

func GetListWebAppAccelerationsSortByEnumStringValues() []string

GetListWebAppAccelerationsSortByEnumStringValues Enumerates the set of values in String for ListWebAppAccelerationsSortByEnum

func GetListWebAppAccelerationsSortOrderEnumStringValues

func GetListWebAppAccelerationsSortOrderEnumStringValues() []string

GetListWebAppAccelerationsSortOrderEnumStringValues Enumerates the set of values in String for ListWebAppAccelerationsSortOrderEnum

func GetPurgeWebAppAccelerationCacheDetailsPurgeTypeEnumStringValues

func GetPurgeWebAppAccelerationCacheDetailsPurgeTypeEnumStringValues() []string

GetPurgeWebAppAccelerationCacheDetailsPurgeTypeEnumStringValues Enumerates the set of values in String for PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetWebAppAccelerationLifecycleStateEnumStringValues

func GetWebAppAccelerationLifecycleStateEnumStringValues() []string

GetWebAppAccelerationLifecycleStateEnumStringValues Enumerates the set of values in String for WebAppAccelerationLifecycleStateEnum

func GetWebAppAccelerationPolicyLifecycleStateEnumStringValues

func GetWebAppAccelerationPolicyLifecycleStateEnumStringValues() []string

GetWebAppAccelerationPolicyLifecycleStateEnumStringValues Enumerates the set of values in String for WebAppAccelerationPolicyLifecycleStateEnum

func GetWorkRequestOperationTypeEnumStringValues

func GetWorkRequestOperationTypeEnumStringValues() []string

GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum

func GetWorkRequestResourceActionTypeEnumStringValues

func GetWorkRequestResourceActionTypeEnumStringValues() []string

GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum

func GetWorkRequestStatusEnumStringValues

func GetWorkRequestStatusEnumStringValues() []string

GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum

Types

type BackendTypeEnum

type BackendTypeEnum string

BackendTypeEnum Enum with underlying type: string

const (
	BackendTypeLoadBalancer BackendTypeEnum = "LOAD_BALANCER"
)

Set of constants representing the allowable values for BackendTypeEnum

func GetBackendTypeEnumValues

func GetBackendTypeEnumValues() []BackendTypeEnum

GetBackendTypeEnumValues Enumerates the set of values for BackendTypeEnum

func GetMappingBackendTypeEnum

func GetMappingBackendTypeEnum(val string) (BackendTypeEnum, bool)

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

type ChangeResourceCompartmentDetails

type ChangeResourceCompartmentDetails struct {

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

ChangeResourceCompartmentDetails Updates compartmentId of resource.

func (ChangeResourceCompartmentDetails) String

func (ChangeResourceCompartmentDetails) ValidateEnumValue

func (m ChangeResourceCompartmentDetails) 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 ChangeWebAppAccelerationCompartmentDetails

type ChangeWebAppAccelerationCompartmentDetails struct {

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

ChangeWebAppAccelerationCompartmentDetails Updates compartmentId of resource.

func (ChangeWebAppAccelerationCompartmentDetails) String

func (ChangeWebAppAccelerationCompartmentDetails) ValidateEnumValue

func (m ChangeWebAppAccelerationCompartmentDetails) 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 ChangeWebAppAccelerationCompartmentRequest

type ChangeWebAppAccelerationCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAcceleration.
	WebAppAccelerationId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationId"`

	// The information to be updated.
	ChangeWebAppAccelerationCompartmentDetails `contributesTo:"body"`

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

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

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

ChangeWebAppAccelerationCompartmentRequest wrapper for the ChangeWebAppAccelerationCompartment operation

See also

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

func (ChangeWebAppAccelerationCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeWebAppAccelerationCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeWebAppAccelerationCompartmentRequest) RetryPolicy

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

func (ChangeWebAppAccelerationCompartmentRequest) String

func (ChangeWebAppAccelerationCompartmentRequest) ValidateEnumValue

func (request ChangeWebAppAccelerationCompartmentRequest) 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 ChangeWebAppAccelerationCompartmentResponse

type ChangeWebAppAccelerationCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ChangeWebAppAccelerationCompartmentResponse wrapper for the ChangeWebAppAccelerationCompartment operation

func (ChangeWebAppAccelerationCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeWebAppAccelerationCompartmentResponse) String

type ChangeWebAppAccelerationPolicyCompartmentDetails

type ChangeWebAppAccelerationPolicyCompartmentDetails struct {

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

ChangeWebAppAccelerationPolicyCompartmentDetails Updates compartmentId of resource.

func (ChangeWebAppAccelerationPolicyCompartmentDetails) String

func (ChangeWebAppAccelerationPolicyCompartmentDetails) 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 ChangeWebAppAccelerationPolicyCompartmentRequest

type ChangeWebAppAccelerationPolicyCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAccelerationPolicy.
	WebAppAccelerationPolicyId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationPolicyId"`

	// The information to be updated.
	ChangeWebAppAccelerationPolicyCompartmentDetails `contributesTo:"body"`

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

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

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

ChangeWebAppAccelerationPolicyCompartmentRequest wrapper for the ChangeWebAppAccelerationPolicyCompartment operation

See also

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

func (ChangeWebAppAccelerationPolicyCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeWebAppAccelerationPolicyCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeWebAppAccelerationPolicyCompartmentRequest) RetryPolicy

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

func (ChangeWebAppAccelerationPolicyCompartmentRequest) String

func (ChangeWebAppAccelerationPolicyCompartmentRequest) ValidateEnumValue

func (request ChangeWebAppAccelerationPolicyCompartmentRequest) 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 ChangeWebAppAccelerationPolicyCompartmentResponse

type ChangeWebAppAccelerationPolicyCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ChangeWebAppAccelerationPolicyCompartmentResponse wrapper for the ChangeWebAppAccelerationPolicyCompartment operation

func (ChangeWebAppAccelerationPolicyCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeWebAppAccelerationPolicyCompartmentResponse) String

type CreateWebAppAccelerationDetails

type CreateWebAppAccelerationDetails interface {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	GetCompartmentId() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppAccelerationPolicy, which is attached to the resource.
	GetWebAppAccelerationPolicyId() *string

	// WebAppAcceleration display name, can be renamed.
	GetDisplayName() *string

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

CreateWebAppAccelerationDetails The information about new WebAppAcceleration.

type CreateWebAppAccelerationLoadBalancerDetails

type CreateWebAppAccelerationLoadBalancerDetails struct {

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppAccelerationPolicy, which is attached to the resource.
	WebAppAccelerationPolicyId *string `mandatory:"true" json:"webAppAccelerationPolicyId"`

	// LoadBalancer OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to which the WebAppAccelerationPolicy is attached to.
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// WebAppAcceleration display name, can be renamed.
	DisplayName *string `mandatory:"false" json:"displayName"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

CreateWebAppAccelerationLoadBalancerDetails The information about new WebAppAccelerationLoadBalancer.

func (CreateWebAppAccelerationLoadBalancerDetails) GetCompartmentId

GetCompartmentId returns CompartmentId

func (CreateWebAppAccelerationLoadBalancerDetails) GetDefinedTags

func (m CreateWebAppAccelerationLoadBalancerDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateWebAppAccelerationLoadBalancerDetails) GetDisplayName

GetDisplayName returns DisplayName

func (CreateWebAppAccelerationLoadBalancerDetails) GetFreeformTags

GetFreeformTags returns FreeformTags

func (CreateWebAppAccelerationLoadBalancerDetails) GetSystemTags

func (m CreateWebAppAccelerationLoadBalancerDetails) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (CreateWebAppAccelerationLoadBalancerDetails) GetWebAppAccelerationPolicyId

func (m CreateWebAppAccelerationLoadBalancerDetails) GetWebAppAccelerationPolicyId() *string

GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId

func (CreateWebAppAccelerationLoadBalancerDetails) MarshalJSON

func (m CreateWebAppAccelerationLoadBalancerDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateWebAppAccelerationLoadBalancerDetails) String

func (CreateWebAppAccelerationLoadBalancerDetails) ValidateEnumValue

func (m CreateWebAppAccelerationLoadBalancerDetails) 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 CreateWebAppAccelerationPolicyDetails

type CreateWebAppAccelerationPolicyDetails struct {

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

	// WebAppAccelerationPolicy display name, can be renamed.
	DisplayName *string `mandatory:"false" json:"displayName"`

	ResponseCachingPolicy *ResponseCachingPolicy `mandatory:"false" json:"responseCachingPolicy"`

	ResponseCompressionPolicy *ResponseCompressionPolicy `mandatory:"false" json:"responseCompressionPolicy"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

CreateWebAppAccelerationPolicyDetails The information about new WebAppAccelerationPolicy.

func (CreateWebAppAccelerationPolicyDetails) String

func (CreateWebAppAccelerationPolicyDetails) ValidateEnumValue

func (m CreateWebAppAccelerationPolicyDetails) 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 CreateWebAppAccelerationPolicyRequest

type CreateWebAppAccelerationPolicyRequest struct {

	// Details for the new WebAppAccelerationPolicy.
	CreateWebAppAccelerationPolicyDetails `contributesTo:"body"`

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

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

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

CreateWebAppAccelerationPolicyRequest wrapper for the CreateWebAppAccelerationPolicy operation

See also

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

func (CreateWebAppAccelerationPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateWebAppAccelerationPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateWebAppAccelerationPolicyRequest) RetryPolicy

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

func (CreateWebAppAccelerationPolicyRequest) String

func (CreateWebAppAccelerationPolicyRequest) ValidateEnumValue

func (request CreateWebAppAccelerationPolicyRequest) 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 CreateWebAppAccelerationPolicyResponse

type CreateWebAppAccelerationPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

	// Location of the resource.
	Location *string `presentIn:"header" name:"location"`

	// Content Location of the resource.
	ContentLocation *string `presentIn:"header" name:"content-location"`
}

CreateWebAppAccelerationPolicyResponse wrapper for the CreateWebAppAccelerationPolicy operation

func (CreateWebAppAccelerationPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateWebAppAccelerationPolicyResponse) String

type CreateWebAppAccelerationRequest

type CreateWebAppAccelerationRequest struct {

	// Details for the new WebAppAcceleration.
	CreateWebAppAccelerationDetails `contributesTo:"body"`

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

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

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

CreateWebAppAccelerationRequest wrapper for the CreateWebAppAcceleration operation

See also

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

func (CreateWebAppAccelerationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateWebAppAccelerationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateWebAppAccelerationRequest) RetryPolicy

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

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

func (CreateWebAppAccelerationRequest) String

func (request CreateWebAppAccelerationRequest) String() string

func (CreateWebAppAccelerationRequest) ValidateEnumValue

func (request CreateWebAppAccelerationRequest) 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 CreateWebAppAccelerationResponse

type CreateWebAppAccelerationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

	// Location of the resource.
	Location *string `presentIn:"header" name:"location"`

	// Content Location of the resource.
	ContentLocation *string `presentIn:"header" name:"content-location"`
}

CreateWebAppAccelerationResponse wrapper for the CreateWebAppAcceleration operation

func (CreateWebAppAccelerationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateWebAppAccelerationResponse) String

func (response CreateWebAppAccelerationResponse) String() string

type DeleteWebAppAccelerationPolicyRequest

type DeleteWebAppAccelerationPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAccelerationPolicy.
	WebAppAccelerationPolicyId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationPolicyId"`

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

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

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

DeleteWebAppAccelerationPolicyRequest wrapper for the DeleteWebAppAccelerationPolicy operation

See also

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

func (DeleteWebAppAccelerationPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteWebAppAccelerationPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteWebAppAccelerationPolicyRequest) RetryPolicy

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

func (DeleteWebAppAccelerationPolicyRequest) String

func (DeleteWebAppAccelerationPolicyRequest) ValidateEnumValue

func (request DeleteWebAppAccelerationPolicyRequest) 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 DeleteWebAppAccelerationPolicyResponse

type DeleteWebAppAccelerationPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteWebAppAccelerationPolicyResponse wrapper for the DeleteWebAppAccelerationPolicy operation

func (DeleteWebAppAccelerationPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWebAppAccelerationPolicyResponse) String

type DeleteWebAppAccelerationRequest

type DeleteWebAppAccelerationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAcceleration.
	WebAppAccelerationId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationId"`

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

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

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

DeleteWebAppAccelerationRequest wrapper for the DeleteWebAppAcceleration operation

See also

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

func (DeleteWebAppAccelerationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteWebAppAccelerationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteWebAppAccelerationRequest) RetryPolicy

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

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

func (DeleteWebAppAccelerationRequest) String

func (request DeleteWebAppAccelerationRequest) String() string

func (DeleteWebAppAccelerationRequest) ValidateEnumValue

func (request DeleteWebAppAccelerationRequest) 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 DeleteWebAppAccelerationResponse

type DeleteWebAppAccelerationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

DeleteWebAppAccelerationResponse wrapper for the DeleteWebAppAcceleration operation

func (DeleteWebAppAccelerationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWebAppAccelerationResponse) String

func (response DeleteWebAppAccelerationResponse) String() string

type GetWebAppAccelerationPolicyRequest

type GetWebAppAccelerationPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAccelerationPolicy.
	WebAppAccelerationPolicyId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationPolicyId"`

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

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

GetWebAppAccelerationPolicyRequest wrapper for the GetWebAppAccelerationPolicy operation

See also

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

func (GetWebAppAccelerationPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWebAppAccelerationPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWebAppAccelerationPolicyRequest) RetryPolicy

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

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

func (GetWebAppAccelerationPolicyRequest) String

func (request GetWebAppAccelerationPolicyRequest) String() string

func (GetWebAppAccelerationPolicyRequest) ValidateEnumValue

func (request GetWebAppAccelerationPolicyRequest) 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 GetWebAppAccelerationPolicyResponse

type GetWebAppAccelerationPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetWebAppAccelerationPolicyResponse wrapper for the GetWebAppAccelerationPolicy operation

func (GetWebAppAccelerationPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWebAppAccelerationPolicyResponse) String

func (response GetWebAppAccelerationPolicyResponse) String() string

type GetWebAppAccelerationRequest

type GetWebAppAccelerationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAcceleration.
	WebAppAccelerationId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationId"`

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

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

GetWebAppAccelerationRequest wrapper for the GetWebAppAcceleration operation

See also

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

func (GetWebAppAccelerationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWebAppAccelerationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWebAppAccelerationRequest) RetryPolicy

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

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

func (GetWebAppAccelerationRequest) String

func (request GetWebAppAccelerationRequest) String() string

func (GetWebAppAccelerationRequest) ValidateEnumValue

func (request GetWebAppAccelerationRequest) 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 GetWebAppAccelerationResponse

type GetWebAppAccelerationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetWebAppAccelerationResponse wrapper for the GetWebAppAcceleration operation

func (GetWebAppAccelerationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWebAppAccelerationResponse) String

func (response GetWebAppAccelerationResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

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

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

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type GzipCompressionPolicy

type GzipCompressionPolicy struct {

	// When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the
	// client indicates support for gzip via the "Accept-Encoding: gzip" request header.
	// When false, support for gzip compression is disabled and HTTP responses will not be compressed with gzip
	// even if the client indicates support for gzip.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}

GzipCompressionPolicy An object that specifies the gzip compression policy.

func (GzipCompressionPolicy) String

func (m GzipCompressionPolicy) String() string

func (GzipCompressionPolicy) ValidateEnumValue

func (m GzipCompressionPolicy) 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 ListWebAppAccelerationPoliciesRequest

type ListWebAppAccelerationPoliciesRequest struct {

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

	// A filter to return only resources that match the given lifecycleState.
	LifecycleState []WebAppAccelerationPolicyLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

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

	// A filter to return only the WebAppAccelerationPolicy with the given OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

	// A token representing the position at which to start retrieving results.
	// This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListWebAppAccelerationPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

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

ListWebAppAccelerationPoliciesRequest wrapper for the ListWebAppAccelerationPolicies operation

See also

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

func (ListWebAppAccelerationPoliciesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWebAppAccelerationPoliciesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWebAppAccelerationPoliciesRequest) RetryPolicy

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

func (ListWebAppAccelerationPoliciesRequest) String

func (ListWebAppAccelerationPoliciesRequest) ValidateEnumValue

func (request ListWebAppAccelerationPoliciesRequest) 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 ListWebAppAccelerationPoliciesResponse

type ListWebAppAccelerationPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWebAppAccelerationPoliciesResponse wrapper for the ListWebAppAccelerationPolicies operation

func (ListWebAppAccelerationPoliciesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWebAppAccelerationPoliciesResponse) String

type ListWebAppAccelerationPoliciesSortByEnum

type ListWebAppAccelerationPoliciesSortByEnum string

ListWebAppAccelerationPoliciesSortByEnum Enum with underlying type: string

const (
	ListWebAppAccelerationPoliciesSortByTimecreated ListWebAppAccelerationPoliciesSortByEnum = "timeCreated"
	ListWebAppAccelerationPoliciesSortByDisplayname ListWebAppAccelerationPoliciesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWebAppAccelerationPoliciesSortByEnum

func GetListWebAppAccelerationPoliciesSortByEnumValues

func GetListWebAppAccelerationPoliciesSortByEnumValues() []ListWebAppAccelerationPoliciesSortByEnum

GetListWebAppAccelerationPoliciesSortByEnumValues Enumerates the set of values for ListWebAppAccelerationPoliciesSortByEnum

func GetMappingListWebAppAccelerationPoliciesSortByEnum

func GetMappingListWebAppAccelerationPoliciesSortByEnum(val string) (ListWebAppAccelerationPoliciesSortByEnum, bool)

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

type ListWebAppAccelerationPoliciesSortOrderEnum

type ListWebAppAccelerationPoliciesSortOrderEnum string

ListWebAppAccelerationPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListWebAppAccelerationPoliciesSortOrderAsc  ListWebAppAccelerationPoliciesSortOrderEnum = "ASC"
	ListWebAppAccelerationPoliciesSortOrderDesc ListWebAppAccelerationPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWebAppAccelerationPoliciesSortOrderEnum

func GetListWebAppAccelerationPoliciesSortOrderEnumValues

func GetListWebAppAccelerationPoliciesSortOrderEnumValues() []ListWebAppAccelerationPoliciesSortOrderEnum

GetListWebAppAccelerationPoliciesSortOrderEnumValues Enumerates the set of values for ListWebAppAccelerationPoliciesSortOrderEnum

func GetMappingListWebAppAccelerationPoliciesSortOrderEnum

func GetMappingListWebAppAccelerationPoliciesSortOrderEnum(val string) (ListWebAppAccelerationPoliciesSortOrderEnum, bool)

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

type ListWebAppAccelerationsRequest

type ListWebAppAccelerationsRequest struct {

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

	// A filter to return only the WebAppAcceleration with the given OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// A filter to return only the WebAppAcceleration with the given
	// OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of related WebAppAccelerationPolicy.
	WebAppAccelerationPolicyId *string `mandatory:"false" contributesTo:"query" name:"webAppAccelerationPolicyId"`

	// A filter to return only resources that match the given lifecycleState.
	LifecycleState []WebAppAccelerationLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

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

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

	// A token representing the position at which to start retrieving results.
	// This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListWebAppAccelerationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

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

ListWebAppAccelerationsRequest wrapper for the ListWebAppAccelerations operation

See also

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

func (ListWebAppAccelerationsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWebAppAccelerationsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWebAppAccelerationsRequest) RetryPolicy

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

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

func (ListWebAppAccelerationsRequest) String

func (request ListWebAppAccelerationsRequest) String() string

func (ListWebAppAccelerationsRequest) ValidateEnumValue

func (request ListWebAppAccelerationsRequest) 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 ListWebAppAccelerationsResponse

type ListWebAppAccelerationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWebAppAccelerationsResponse wrapper for the ListWebAppAccelerations operation

func (ListWebAppAccelerationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWebAppAccelerationsResponse) String

func (response ListWebAppAccelerationsResponse) String() string

type ListWebAppAccelerationsSortByEnum

type ListWebAppAccelerationsSortByEnum string

ListWebAppAccelerationsSortByEnum Enum with underlying type: string

const (
	ListWebAppAccelerationsSortByTimecreated ListWebAppAccelerationsSortByEnum = "timeCreated"
	ListWebAppAccelerationsSortByDisplayname ListWebAppAccelerationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListWebAppAccelerationsSortByEnum

func GetListWebAppAccelerationsSortByEnumValues

func GetListWebAppAccelerationsSortByEnumValues() []ListWebAppAccelerationsSortByEnum

GetListWebAppAccelerationsSortByEnumValues Enumerates the set of values for ListWebAppAccelerationsSortByEnum

func GetMappingListWebAppAccelerationsSortByEnum

func GetMappingListWebAppAccelerationsSortByEnum(val string) (ListWebAppAccelerationsSortByEnum, bool)

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

type ListWebAppAccelerationsSortOrderEnum

type ListWebAppAccelerationsSortOrderEnum string

ListWebAppAccelerationsSortOrderEnum Enum with underlying type: string

const (
	ListWebAppAccelerationsSortOrderAsc  ListWebAppAccelerationsSortOrderEnum = "ASC"
	ListWebAppAccelerationsSortOrderDesc ListWebAppAccelerationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWebAppAccelerationsSortOrderEnum

func GetListWebAppAccelerationsSortOrderEnumValues

func GetListWebAppAccelerationsSortOrderEnumValues() []ListWebAppAccelerationsSortOrderEnum

GetListWebAppAccelerationsSortOrderEnumValues Enumerates the set of values for ListWebAppAccelerationsSortOrderEnum

func GetMappingListWebAppAccelerationsSortOrderEnum

func GetMappingListWebAppAccelerationsSortOrderEnum(val string) (ListWebAppAccelerationsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

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

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

	// A token representing the position at which to start retrieving results.
	// This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

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

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

	// A token representing the position at which to start retrieving results.
	// This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

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

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

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

	// A token representing the position at which to start retrieving results.
	// This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type PurgeEntireWebAppAccelerationCacheDetails

type PurgeEntireWebAppAccelerationCacheDetails struct {
}

PurgeEntireWebAppAccelerationCacheDetails Clears all resources from the cache of the WebAppAcceleration.

func (PurgeEntireWebAppAccelerationCacheDetails) MarshalJSON

func (m PurgeEntireWebAppAccelerationCacheDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PurgeEntireWebAppAccelerationCacheDetails) String

func (PurgeEntireWebAppAccelerationCacheDetails) ValidateEnumValue

func (m PurgeEntireWebAppAccelerationCacheDetails) 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 PurgeWebAppAccelerationCacheDetails

type PurgeWebAppAccelerationCacheDetails interface {
}

PurgeWebAppAccelerationCacheDetails Specifies options for a cache purge.

type PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum

type PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum string

PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum Enum with underlying type: string

const (
	PurgeWebAppAccelerationCacheDetailsPurgeTypeEntireCache PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum = "ENTIRE_CACHE"
)

Set of constants representing the allowable values for PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum

func GetMappingPurgeWebAppAccelerationCacheDetailsPurgeTypeEnum

func GetMappingPurgeWebAppAccelerationCacheDetailsPurgeTypeEnum(val string) (PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum, bool)

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

func GetPurgeWebAppAccelerationCacheDetailsPurgeTypeEnumValues

func GetPurgeWebAppAccelerationCacheDetailsPurgeTypeEnumValues() []PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum

GetPurgeWebAppAccelerationCacheDetailsPurgeTypeEnumValues Enumerates the set of values for PurgeWebAppAccelerationCacheDetailsPurgeTypeEnum

type PurgeWebAppAccelerationCacheRequest

type PurgeWebAppAccelerationCacheRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAcceleration.
	WebAppAccelerationId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationId"`

	// Options for the cache purge.
	PurgeWebAppAccelerationCacheDetails `contributesTo:"body"`

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

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

PurgeWebAppAccelerationCacheRequest wrapper for the PurgeWebAppAccelerationCache operation

See also

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

func (PurgeWebAppAccelerationCacheRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PurgeWebAppAccelerationCacheRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PurgeWebAppAccelerationCacheRequest) RetryPolicy

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

func (PurgeWebAppAccelerationCacheRequest) String

func (PurgeWebAppAccelerationCacheRequest) ValidateEnumValue

func (request PurgeWebAppAccelerationCacheRequest) 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 PurgeWebAppAccelerationCacheResponse

type PurgeWebAppAccelerationCacheResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

PurgeWebAppAccelerationCacheResponse wrapper for the PurgeWebAppAccelerationCache operation

func (PurgeWebAppAccelerationCacheResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PurgeWebAppAccelerationCacheResponse) String

func (response PurgeWebAppAccelerationCacheResponse) String() string

type ResponseCachingPolicy

type ResponseCachingPolicy struct {

	// When false, responses will not be cached by the backend based on response headers.
	// When true, responses that contain one of the supported cache control headers will be cached according to the
	// values specified in the cache control headers.
	// The "X-Accel-Expires" header field sets caching time of a response in seconds. The zero value disables
	// caching for a response. If the value starts with the @ prefix, it sets an absolute time in seconds since
	// Epoch, up to which the response may be cached.
	// If the header does not include the "X-Accel-Expires" field, parameters of caching may be set in the header
	// fields "Expires" or "Cache-Control".
	// If the header includes the "Set-Cookie" field, such a response will not be cached.
	// If the header includes the "Vary" field with the special value "*", such a response will not be cached. If the
	// header includes the "Vary" field with another value, such a response will be cached taking into account the
	// corresponding request header fields.
	IsResponseHeaderBasedCachingEnabled *bool `mandatory:"false" json:"isResponseHeaderBasedCachingEnabled"`
}

ResponseCachingPolicy An object that specifies an HTTP response caching policy.

func (ResponseCachingPolicy) String

func (m ResponseCachingPolicy) String() string

func (ResponseCachingPolicy) ValidateEnumValue

func (m ResponseCachingPolicy) 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 ResponseCompressionPolicy

type ResponseCompressionPolicy struct {
	GzipCompression *GzipCompressionPolicy `mandatory:"false" json:"gzipCompression"`
}

ResponseCompressionPolicy An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client. This compression policy can be used to enable support for HTTP response compression algorithms like gzip and configure the conditions of when a compression algorithm will be used. HTTP responses will only be compressed if the client indicates support for one of the enabled compression algorithms via the "Accept-Encoding" request header.

func (ResponseCompressionPolicy) String

func (m ResponseCompressionPolicy) String() string

func (ResponseCompressionPolicy) ValidateEnumValue

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

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

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateWebAppAccelerationDetails

type UpdateWebAppAccelerationDetails struct {

	// WebAppAcceleration display name, can be renamed.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppAccelerationPolicy, which is attached to the resource.
	// This update guarantees that the resource always has WebAppAccelerationPolicy attached at any time.
	WebAppAccelerationPolicyId *string `mandatory:"false" json:"webAppAccelerationPolicyId"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

UpdateWebAppAccelerationDetails The information to be updated for WebAppAcceleration.

func (UpdateWebAppAccelerationDetails) String

func (UpdateWebAppAccelerationDetails) ValidateEnumValue

func (m UpdateWebAppAccelerationDetails) 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 UpdateWebAppAccelerationPolicyDetails

type UpdateWebAppAccelerationPolicyDetails struct {

	// WebAppAccelerationPolicy display name, can be renamed.
	DisplayName *string `mandatory:"false" json:"displayName"`

	ResponseCachingPolicy *ResponseCachingPolicy `mandatory:"false" json:"responseCachingPolicy"`

	ResponseCompressionPolicy *ResponseCompressionPolicy `mandatory:"false" json:"responseCompressionPolicy"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

UpdateWebAppAccelerationPolicyDetails The information to be updated. When updating WebAppAccelerationPolicy, shallow merge is used for all top-level fields, meaning that top-level fields with defined values are completely overwritten and top-level fields without defined values are unchanged.

func (UpdateWebAppAccelerationPolicyDetails) String

func (UpdateWebAppAccelerationPolicyDetails) ValidateEnumValue

func (m UpdateWebAppAccelerationPolicyDetails) 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 UpdateWebAppAccelerationPolicyRequest

type UpdateWebAppAccelerationPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAccelerationPolicy.
	WebAppAccelerationPolicyId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationPolicyId"`

	// The information to be updated.
	UpdateWebAppAccelerationPolicyDetails `contributesTo:"body"`

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

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

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

UpdateWebAppAccelerationPolicyRequest wrapper for the UpdateWebAppAccelerationPolicy operation

See also

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

func (UpdateWebAppAccelerationPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateWebAppAccelerationPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateWebAppAccelerationPolicyRequest) RetryPolicy

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

func (UpdateWebAppAccelerationPolicyRequest) String

func (UpdateWebAppAccelerationPolicyRequest) ValidateEnumValue

func (request UpdateWebAppAccelerationPolicyRequest) 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 UpdateWebAppAccelerationPolicyResponse

type UpdateWebAppAccelerationPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

UpdateWebAppAccelerationPolicyResponse wrapper for the UpdateWebAppAccelerationPolicy operation

func (UpdateWebAppAccelerationPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateWebAppAccelerationPolicyResponse) String

type UpdateWebAppAccelerationRequest

type UpdateWebAppAccelerationRequest struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAcceleration.
	WebAppAccelerationId *string `mandatory:"true" contributesTo:"path" name:"webAppAccelerationId"`

	// The information to be updated.
	UpdateWebAppAccelerationDetails `contributesTo:"body"`

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

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

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

UpdateWebAppAccelerationRequest wrapper for the UpdateWebAppAcceleration operation

See also

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

func (UpdateWebAppAccelerationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateWebAppAccelerationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateWebAppAccelerationRequest) RetryPolicy

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

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

func (UpdateWebAppAccelerationRequest) String

func (request UpdateWebAppAccelerationRequest) String() string

func (UpdateWebAppAccelerationRequest) ValidateEnumValue

func (request UpdateWebAppAccelerationRequest) 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 UpdateWebAppAccelerationResponse

type UpdateWebAppAccelerationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

UpdateWebAppAccelerationResponse wrapper for the UpdateWebAppAcceleration operation

func (UpdateWebAppAccelerationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateWebAppAccelerationResponse) String

func (response UpdateWebAppAccelerationResponse) String() string

type WaaClient

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

WaaClient a client for Waa

func NewWaaClientWithConfigurationProvider

func NewWaaClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client WaaClient, err error)

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

func NewWaaClientWithOboToken

func NewWaaClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client WaaClient, err error)

NewWaaClientWithOboToken Creates a new default Waa 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 (WaaClient) ChangeWebAppAccelerationCompartment

func (client WaaClient) ChangeWebAppAccelerationCompartment(ctx context.Context, request ChangeWebAppAccelerationCompartmentRequest) (response ChangeWebAppAccelerationCompartmentResponse, err error)

ChangeWebAppAccelerationCompartment Moves a Web App Acceleration resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

See also

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

func (WaaClient) ChangeWebAppAccelerationPolicyCompartment

func (client WaaClient) ChangeWebAppAccelerationPolicyCompartment(ctx context.Context, request ChangeWebAppAccelerationPolicyCompartmentRequest) (response ChangeWebAppAccelerationPolicyCompartmentResponse, err error)

ChangeWebAppAccelerationPolicyCompartment Moves a WebAppAccelerationfPolicy resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

See also

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

func (*WaaClient) ConfigurationProvider

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

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

func (WaaClient) CreateWebAppAcceleration

func (client WaaClient) CreateWebAppAcceleration(ctx context.Context, request CreateWebAppAccelerationRequest) (response CreateWebAppAccelerationResponse, err error)

CreateWebAppAcceleration Creates a new WebAppAcceleration.

See also

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

func (WaaClient) CreateWebAppAccelerationPolicy

func (client WaaClient) CreateWebAppAccelerationPolicy(ctx context.Context, request CreateWebAppAccelerationPolicyRequest) (response CreateWebAppAccelerationPolicyResponse, err error)

CreateWebAppAccelerationPolicy Creates a new WebAppAccelerationPolicy.

See also

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

func (WaaClient) DeleteWebAppAcceleration

func (client WaaClient) DeleteWebAppAcceleration(ctx context.Context, request DeleteWebAppAccelerationRequest) (response DeleteWebAppAccelerationResponse, err error)

DeleteWebAppAcceleration Deletes a WebAppAcceleration resource identified by the OCID.

See also

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

func (WaaClient) DeleteWebAppAccelerationPolicy

func (client WaaClient) DeleteWebAppAccelerationPolicy(ctx context.Context, request DeleteWebAppAccelerationPolicyRequest) (response DeleteWebAppAccelerationPolicyResponse, err error)

DeleteWebAppAccelerationPolicy Deletes a WebAppAccelerationPolicy resource identified by the OCID.

See also

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

func (WaaClient) GetWebAppAcceleration

func (client WaaClient) GetWebAppAcceleration(ctx context.Context, request GetWebAppAccelerationRequest) (response GetWebAppAccelerationResponse, err error)

GetWebAppAcceleration Gets a WebAppAcceleration by OCID.

See also

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

func (WaaClient) GetWebAppAccelerationPolicy

func (client WaaClient) GetWebAppAccelerationPolicy(ctx context.Context, request GetWebAppAccelerationPolicyRequest) (response GetWebAppAccelerationPolicyResponse, err error)

GetWebAppAccelerationPolicy Gets a WebAppAccelerationPolicy with the given OCID.

See also

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

func (WaaClient) ListWebAppAccelerationPolicies

func (client WaaClient) ListWebAppAccelerationPolicies(ctx context.Context, request ListWebAppAccelerationPoliciesRequest) (response ListWebAppAccelerationPoliciesResponse, err error)

ListWebAppAccelerationPolicies Gets a list of all WebAppAccelerationPolicies in a compartment.

See also

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

func (WaaClient) ListWebAppAccelerations

func (client WaaClient) ListWebAppAccelerations(ctx context.Context, request ListWebAppAccelerationsRequest) (response ListWebAppAccelerationsResponse, err error)

ListWebAppAccelerations Gets a list of all WebAppAccelerations in a compartment.

See also

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

func (WaaClient) PurgeWebAppAccelerationCache

func (client WaaClient) PurgeWebAppAccelerationCache(ctx context.Context, request PurgeWebAppAccelerationCacheRequest) (response PurgeWebAppAccelerationCacheResponse, err error)

PurgeWebAppAccelerationCache Clears resources from the cache of the WebAppAcceleration. Each new request for a purged resource will be forwarded to the origin server to fetch a new version of the resource.

See also

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

func (*WaaClient) SetRegion

func (client *WaaClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (WaaClient) UpdateWebAppAcceleration

func (client WaaClient) UpdateWebAppAcceleration(ctx context.Context, request UpdateWebAppAccelerationRequest) (response UpdateWebAppAccelerationResponse, err error)

UpdateWebAppAcceleration Updates the WebAppAcceleration identified by the OCID.

See also

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

func (WaaClient) UpdateWebAppAccelerationPolicy

func (client WaaClient) UpdateWebAppAccelerationPolicy(ctx context.Context, request UpdateWebAppAccelerationPolicyRequest) (response UpdateWebAppAccelerationPolicyResponse, err error)

UpdateWebAppAccelerationPolicy Update the WebAppAccelerationPolicy identified by the OCID.

See also

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

type WebAppAcceleration

type WebAppAcceleration interface {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAcceleration.
	GetId() *string

	// WebAppAcceleration display name, can be renamed.
	GetDisplayName() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	GetCompartmentId() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppAccelerationPolicy, which is attached to the resource.
	GetWebAppAccelerationPolicyId() *string

	// The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
	GetTimeCreated() *common.SDKTime

	// The current state of the WebAppAcceleration.
	GetLifecycleState() WebAppAccelerationLifecycleStateEnum

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}

	// The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
	GetTimeUpdated() *common.SDKTime

	// A message describing the current state in more detail.
	// For example, can be used to provide actionable information for a resource in FAILED state.
	GetLifecycleDetails() *string
}

WebAppAcceleration A resource connecting a WebAppAccelerationPolicy to a backend of particular type, applying that policy's coverage to the backend.

type WebAppAccelerationCollection

type WebAppAccelerationCollection struct {

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

WebAppAccelerationCollection Result of a WebAppAcceleration list operation.

func (WebAppAccelerationCollection) String

func (*WebAppAccelerationCollection) UnmarshalJSON

func (m *WebAppAccelerationCollection) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (WebAppAccelerationCollection) ValidateEnumValue

func (m WebAppAccelerationCollection) 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 WebAppAccelerationLifecycleStateEnum

type WebAppAccelerationLifecycleStateEnum string

WebAppAccelerationLifecycleStateEnum Enum with underlying type: string

const (
	WebAppAccelerationLifecycleStateCreating WebAppAccelerationLifecycleStateEnum = "CREATING"
	WebAppAccelerationLifecycleStateUpdating WebAppAccelerationLifecycleStateEnum = "UPDATING"
	WebAppAccelerationLifecycleStateActive   WebAppAccelerationLifecycleStateEnum = "ACTIVE"
	WebAppAccelerationLifecycleStateDeleting WebAppAccelerationLifecycleStateEnum = "DELETING"
	WebAppAccelerationLifecycleStateDeleted  WebAppAccelerationLifecycleStateEnum = "DELETED"
	WebAppAccelerationLifecycleStateFailed   WebAppAccelerationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for WebAppAccelerationLifecycleStateEnum

func GetMappingWebAppAccelerationLifecycleStateEnum

func GetMappingWebAppAccelerationLifecycleStateEnum(val string) (WebAppAccelerationLifecycleStateEnum, bool)

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

func GetWebAppAccelerationLifecycleStateEnumValues

func GetWebAppAccelerationLifecycleStateEnumValues() []WebAppAccelerationLifecycleStateEnum

GetWebAppAccelerationLifecycleStateEnumValues Enumerates the set of values for WebAppAccelerationLifecycleStateEnum

type WebAppAccelerationLoadBalancer

type WebAppAccelerationLoadBalancer struct {

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

	// WebAppAcceleration display name, can be renamed.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppAccelerationPolicy, which is attached to the resource.
	WebAppAccelerationPolicyId *string `mandatory:"true" json:"webAppAccelerationPolicyId"`

	// The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

	// LoadBalancer OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to which the WebAppAccelerationPolicy is attached to.
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail.
	// For example, can be used to provide actionable information for a resource in FAILED state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The current state of the WebAppAcceleration.
	LifecycleState WebAppAccelerationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

WebAppAccelerationLoadBalancer WebAppAcceleration to a LoadBalancer resource.

func (WebAppAccelerationLoadBalancer) GetCompartmentId

func (m WebAppAccelerationLoadBalancer) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (WebAppAccelerationLoadBalancer) GetDefinedTags

func (m WebAppAccelerationLoadBalancer) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (WebAppAccelerationLoadBalancer) GetDisplayName

func (m WebAppAccelerationLoadBalancer) GetDisplayName() *string

GetDisplayName returns DisplayName

func (WebAppAccelerationLoadBalancer) GetFreeformTags

func (m WebAppAccelerationLoadBalancer) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (WebAppAccelerationLoadBalancer) GetId

GetId returns Id

func (WebAppAccelerationLoadBalancer) GetLifecycleDetails

func (m WebAppAccelerationLoadBalancer) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (WebAppAccelerationLoadBalancer) GetLifecycleState

GetLifecycleState returns LifecycleState

func (WebAppAccelerationLoadBalancer) GetSystemTags

func (m WebAppAccelerationLoadBalancer) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (WebAppAccelerationLoadBalancer) GetTimeCreated

func (m WebAppAccelerationLoadBalancer) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (WebAppAccelerationLoadBalancer) GetTimeUpdated

func (m WebAppAccelerationLoadBalancer) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (WebAppAccelerationLoadBalancer) GetWebAppAccelerationPolicyId

func (m WebAppAccelerationLoadBalancer) GetWebAppAccelerationPolicyId() *string

GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId

func (WebAppAccelerationLoadBalancer) MarshalJSON

func (m WebAppAccelerationLoadBalancer) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (WebAppAccelerationLoadBalancer) String

func (WebAppAccelerationLoadBalancer) ValidateEnumValue

func (m WebAppAccelerationLoadBalancer) 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 WebAppAccelerationLoadBalancerSummary

type WebAppAccelerationLoadBalancerSummary struct {

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

	// WebAppAcceleration display name, can be renamed.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppAccelerationPolicy, which is attached to the resource.
	WebAppAccelerationPolicyId *string `mandatory:"true" json:"webAppAccelerationPolicyId"`

	// The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

	// LoadBalancer OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to which the WebAppAccelerationPolicy is attached to.
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail.
	// For example, can be used to provide actionable information for a resource in FAILED state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The current state of the WebAppAcceleration.
	LifecycleState WebAppAccelerationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

WebAppAccelerationLoadBalancerSummary Summary of the WebAppAccelerationLoadBalancer.

func (WebAppAccelerationLoadBalancerSummary) GetCompartmentId

func (m WebAppAccelerationLoadBalancerSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (WebAppAccelerationLoadBalancerSummary) GetDefinedTags

func (m WebAppAccelerationLoadBalancerSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (WebAppAccelerationLoadBalancerSummary) GetDisplayName

func (m WebAppAccelerationLoadBalancerSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (WebAppAccelerationLoadBalancerSummary) GetFreeformTags

func (m WebAppAccelerationLoadBalancerSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (WebAppAccelerationLoadBalancerSummary) GetId

GetId returns Id

func (WebAppAccelerationLoadBalancerSummary) GetLifecycleDetails

func (m WebAppAccelerationLoadBalancerSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (WebAppAccelerationLoadBalancerSummary) GetLifecycleState

GetLifecycleState returns LifecycleState

func (WebAppAccelerationLoadBalancerSummary) GetSystemTags

func (m WebAppAccelerationLoadBalancerSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (WebAppAccelerationLoadBalancerSummary) GetTimeCreated

GetTimeCreated returns TimeCreated

func (WebAppAccelerationLoadBalancerSummary) GetTimeUpdated

GetTimeUpdated returns TimeUpdated

func (WebAppAccelerationLoadBalancerSummary) GetWebAppAccelerationPolicyId

func (m WebAppAccelerationLoadBalancerSummary) GetWebAppAccelerationPolicyId() *string

GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId

func (WebAppAccelerationLoadBalancerSummary) MarshalJSON

func (m WebAppAccelerationLoadBalancerSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (WebAppAccelerationLoadBalancerSummary) String

func (WebAppAccelerationLoadBalancerSummary) ValidateEnumValue

func (m WebAppAccelerationLoadBalancerSummary) 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 WebAppAccelerationPolicy

type WebAppAccelerationPolicy struct {

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

	// WebAppAccelerationPolicy display name, can be renamed.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the WebAppAccelerationPolicy.
	LifecycleState WebAppAccelerationPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

	// The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail.
	// For example, can be used to provide actionable information for a resource in FAILED state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	ResponseCachingPolicy *ResponseCachingPolicy `mandatory:"false" json:"responseCachingPolicy"`

	ResponseCompressionPolicy *ResponseCompressionPolicy `mandatory:"false" json:"responseCompressionPolicy"`
}

WebAppAccelerationPolicy The details of WebAppAccelerationPolicy. A policy is comprised of rules, which allows enablement of Caching and Compression of HTTP response. Caching can be enabled for a particular path Compression is enabled at global level

func (WebAppAccelerationPolicy) String

func (m WebAppAccelerationPolicy) String() string

func (WebAppAccelerationPolicy) ValidateEnumValue

func (m WebAppAccelerationPolicy) 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 WebAppAccelerationPolicyCollection

type WebAppAccelerationPolicyCollection struct {

	// A list of WebAppAccelerationPolicySummary objects.
	Items []WebAppAccelerationPolicySummary `mandatory:"true" json:"items"`
}

WebAppAccelerationPolicyCollection Contains WebAppAccelerationPolicySummary items.

func (WebAppAccelerationPolicyCollection) String

func (WebAppAccelerationPolicyCollection) ValidateEnumValue

func (m WebAppAccelerationPolicyCollection) 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 WebAppAccelerationPolicyLifecycleStateEnum

type WebAppAccelerationPolicyLifecycleStateEnum string

WebAppAccelerationPolicyLifecycleStateEnum Enum with underlying type: string

const (
	WebAppAccelerationPolicyLifecycleStateCreating WebAppAccelerationPolicyLifecycleStateEnum = "CREATING"
	WebAppAccelerationPolicyLifecycleStateUpdating WebAppAccelerationPolicyLifecycleStateEnum = "UPDATING"
	WebAppAccelerationPolicyLifecycleStateActive   WebAppAccelerationPolicyLifecycleStateEnum = "ACTIVE"
	WebAppAccelerationPolicyLifecycleStateDeleting WebAppAccelerationPolicyLifecycleStateEnum = "DELETING"
	WebAppAccelerationPolicyLifecycleStateDeleted  WebAppAccelerationPolicyLifecycleStateEnum = "DELETED"
	WebAppAccelerationPolicyLifecycleStateFailed   WebAppAccelerationPolicyLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for WebAppAccelerationPolicyLifecycleStateEnum

func GetMappingWebAppAccelerationPolicyLifecycleStateEnum

func GetMappingWebAppAccelerationPolicyLifecycleStateEnum(val string) (WebAppAccelerationPolicyLifecycleStateEnum, bool)

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

func GetWebAppAccelerationPolicyLifecycleStateEnumValues

func GetWebAppAccelerationPolicyLifecycleStateEnumValues() []WebAppAccelerationPolicyLifecycleStateEnum

GetWebAppAccelerationPolicyLifecycleStateEnumValues Enumerates the set of values for WebAppAccelerationPolicyLifecycleStateEnum

type WebAppAccelerationPolicySummary

type WebAppAccelerationPolicySummary struct {

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

	// WebAppAccelerationPolicy display name, can be renamed.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the WebAppAccelerationPolicy.
	LifecycleState WebAppAccelerationPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

	// The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail.
	// For example, can be used to provide actionable information for a resource in FAILED state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

WebAppAccelerationPolicySummary Summary of the WebAppAccelerationPolicy.

func (WebAppAccelerationPolicySummary) String

func (WebAppAccelerationPolicySummary) ValidateEnumValue

func (m WebAppAccelerationPolicySummary) 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 WebAppAccelerationSummary

type WebAppAccelerationSummary interface {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAcceleration.
	GetId() *string

	// WebAppAcceleration display name, can be renamed.
	GetDisplayName() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
	GetCompartmentId() *string

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppAccelerationPolicy, which is attached to the resource.
	GetWebAppAccelerationPolicyId() *string

	// The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
	GetTimeCreated() *common.SDKTime

	// The current state of the WebAppAcceleration.
	GetLifecycleState() WebAppAccelerationLifecycleStateEnum

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}

	// The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
	GetTimeUpdated() *common.SDKTime

	// A message describing the current state in more detail.
	// For example, can be used to provide actionable information for a resource in FAILED state.
	GetLifecycleDetails() *string
}

WebAppAccelerationSummary Summary of the WebAppAcceleration.

type WorkRequest

type WorkRequest struct {

	// Type of the WorkRequest
	OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status WorkRequestStatusEnum `mandatory:"true" json:"status"`

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the WorkRequest.
	// WorkRequests should be scoped to the same compartment as the resource the work request affects.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources affected by this WorkRequest.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the request was created, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the request was started, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest A description of WorkRequest status

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestClient

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

WorkRequestClient a client for WorkRequest

func NewWorkRequestClientWithConfigurationProvider

func NewWorkRequestClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client WorkRequestClient, err error)

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

func NewWorkRequestClientWithOboToken

func NewWorkRequestClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client WorkRequestClient, err error)

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

as well as reading the region

func (*WorkRequestClient) ConfigurationProvider

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

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

func (WorkRequestClient) GetWorkRequest

func (client WorkRequestClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the status of the WorkRequest with the given OCID.

See also

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

func (WorkRequestClient) ListWorkRequestErrors

func (client WorkRequestClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given WorkRequest.

See also

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

func (WorkRequestClient) ListWorkRequestLogs

func (client WorkRequestClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Return a (paginated) list of logs for a given WorkRequest.

See also

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

func (WorkRequestClient) ListWorkRequests

func (client WorkRequestClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the WorkRequests in a compartment.

See also

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

func (*WorkRequestClient) SetRegion

func (client *WorkRequestClient) SetRegion(region string)

SetRegion overrides the region of this client.

type WorkRequestCollection

type WorkRequestCollection struct {

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

WorkRequestCollection Result of a WorkRequest search. Contains both WorkRequest items and other information, such as metadata.

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

func (m WorkRequestCollection) 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 occured. Error codes are listed on
	// https://docs.cloud.oracle.com/Content/API/References/apierrors.htm.
	Code *string `mandatory:"true" json:"code"`

	// A human readable description of the issue encountered.
	Message *string `mandatory:"true" json:"message"`

	// The time the error occured. An RFC3339 formatted datetime string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing a WorkRequest.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

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

WorkRequestErrorCollection Result of a WorkRequestError search. Contains both WorkRequestError items and other information, such as metadata.

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

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

	// The time the log message was written. An RFC3339 formatted datetime string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from the execution of a WorkRequest.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

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

WorkRequestLogEntryCollection Result of a WorkRequestLog search. Contains both WorkRequestLog items and other information, such as metadata.

func (WorkRequestLogEntryCollection) 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 WorkRequestOperationTypeEnum

type WorkRequestOperationTypeEnum string

WorkRequestOperationTypeEnum Enum with underlying type: string

const (
	WorkRequestOperationTypeCreateWaaPolicy              WorkRequestOperationTypeEnum = "CREATE_WAA_POLICY"
	WorkRequestOperationTypeUpdateWaaPolicy              WorkRequestOperationTypeEnum = "UPDATE_WAA_POLICY"
	WorkRequestOperationTypeDeleteWaaPolicy              WorkRequestOperationTypeEnum = "DELETE_WAA_POLICY"
	WorkRequestOperationTypeMoveWaaPolicy                WorkRequestOperationTypeEnum = "MOVE_WAA_POLICY"
	WorkRequestOperationTypeCreateWebAppAcceleration     WorkRequestOperationTypeEnum = "CREATE_WEB_APP_ACCELERATION"
	WorkRequestOperationTypeUpdateWebAppAcceleration     WorkRequestOperationTypeEnum = "UPDATE_WEB_APP_ACCELERATION"
	WorkRequestOperationTypeDeleteWebAppAcceleration     WorkRequestOperationTypeEnum = "DELETE_WEB_APP_ACCELERATION"
	WorkRequestOperationTypeMoveWebAppAcceleration       WorkRequestOperationTypeEnum = "MOVE_WEB_APP_ACCELERATION"
	WorkRequestOperationTypePurgeWebAppAccelerationCache WorkRequestOperationTypeEnum = "PURGE_WEB_APP_ACCELERATION_CACHE"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

func GetMappingWorkRequestOperationTypeEnum

func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)

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

func GetWorkRequestOperationTypeEnumValues

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource

type WorkRequestResource struct {

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

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

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource the WorkRequest affects.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that the user can do a GET on to access the resource metadata.
	EntityUri *string `mandatory:"false" json:"entityUri"`
}

WorkRequestResource A resource created or operated on by a WorkRequest.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceActionTypeEnum

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

const (
	WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
	WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
	WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
	WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
	WorkRequestResourceActionTypeRelated    WorkRequestResourceActionTypeEnum = "RELATED"
)

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)

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

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestStatusEnum

type WorkRequestStatusEnum string

WorkRequestStatusEnum Enum with underlying type: string

const (
	WorkRequestStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
	WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
	WorkRequestStatusFailed     WorkRequestStatusEnum = "FAILED"
	WorkRequestStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
	WorkRequestStatusCanceling  WorkRequestStatusEnum = "CANCELING"
	WorkRequestStatusCanceled   WorkRequestStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for WorkRequestStatusEnum

func GetMappingWorkRequestStatusEnum

func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)

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

func GetWorkRequestStatusEnumValues

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

Source Files

Jump to

Keyboard shortcuts

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