func GetLimitsIncreaseItemRequestLifecycleStateEnumStringValues() []string
GetLimitsIncreaseItemRequestLifecycleStateEnumStringValues Enumerates the set of values in String for LimitsIncreaseItemRequestLifecycleStateEnum
func GetLimitsIncreaseQuestionSummaryQuestionTypeEnumStringValues() []string
GetLimitsIncreaseQuestionSummaryQuestionTypeEnumStringValues Enumerates the set of values in String for LimitsIncreaseQuestionSummaryQuestionTypeEnum
func GetLimitsIncreaseRequestCommentSenderTypeEnumStringValues() []string
GetLimitsIncreaseRequestCommentSenderTypeEnumStringValues Enumerates the set of values in String for LimitsIncreaseRequestCommentSenderTypeEnum
func GetLimitsIncreaseRequestLifecycleStateEnumStringValues() []string
GetLimitsIncreaseRequestLifecycleStateEnumStringValues Enumerates the set of values in String for LimitsIncreaseRequestLifecycleStateEnum
func GetListLimitsIncreaseItemRequestsSortByEnumStringValues() []string
GetListLimitsIncreaseItemRequestsSortByEnumStringValues Enumerates the set of values in String for ListLimitsIncreaseItemRequestsSortByEnum
func GetListLimitsIncreaseItemRequestsSortOrderEnumStringValues() []string
GetListLimitsIncreaseItemRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListLimitsIncreaseItemRequestsSortOrderEnum
func GetListLimitsIncreaseQuestionsSortByEnumStringValues() []string
GetListLimitsIncreaseQuestionsSortByEnumStringValues Enumerates the set of values in String for ListLimitsIncreaseQuestionsSortByEnum
func GetListLimitsIncreaseQuestionsSortOrderEnumStringValues() []string
GetListLimitsIncreaseQuestionsSortOrderEnumStringValues Enumerates the set of values in String for ListLimitsIncreaseQuestionsSortOrderEnum
func GetListLimitsIncreaseRequestsSortByEnumStringValues() []string
GetListLimitsIncreaseRequestsSortByEnumStringValues Enumerates the set of values in String for ListLimitsIncreaseRequestsSortByEnum
func GetListLimitsIncreaseRequestsSortOrderEnumStringValues() []string
GetListLimitsIncreaseRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListLimitsIncreaseRequestsSortOrderEnum
func GetPatchInstructionOperationEnumStringValues() []string
GetPatchInstructionOperationEnumStringValues Enumerates the set of values in String for PatchInstructionOperationEnum
CancelLimitsIncreaseItemRequestRequest wrapper for the CancelLimitsIncreaseItemRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/CancelLimitsIncreaseItemRequest.go.html to see an example of how to use CancelLimitsIncreaseItemRequestRequest.
type CancelLimitsIncreaseItemRequestRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
LimitsIncreaseItemRequestId *string `mandatory:"true" contributesTo:"path" name:"limitsIncreaseItemRequestId"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// This value (etag) should be passed when you want to ensure that no-one else has changed the value while you're making
// an update. To get the current etag, make a GET call and read the current etag header.
// If GET returns 404, and you still want to ensure that noone else has executed a SET operation, pass the following
// header instead: `if-none-match: *`
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Idempotency token to make sure that a second create operation won't fail if the first one succeeded.
// This can be any random string.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CancelLimitsIncreaseItemRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelLimitsIncreaseItemRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelLimitsIncreaseItemRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelLimitsIncreaseItemRequestRequest) String() string
func (request CancelLimitsIncreaseItemRequestRequest) 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
CancelLimitsIncreaseItemRequestResponse wrapper for the CancelLimitsIncreaseItemRequest operation
type CancelLimitsIncreaseItemRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The LimitsIncreaseItemRequest instance
LimitsIncreaseItemRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CancelLimitsIncreaseItemRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelLimitsIncreaseItemRequestResponse) String() string
CancelLimitsIncreaseRequestRequest wrapper for the CancelLimitsIncreaseRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/CancelLimitsIncreaseRequest.go.html to see an example of how to use CancelLimitsIncreaseRequestRequest.
type CancelLimitsIncreaseRequestRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
LimitsIncreaseRequestId *string `mandatory:"true" contributesTo:"path" name:"limitsIncreaseRequestId"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// This value (etag) should be passed when you want to ensure that no-one else has changed the value while you're making
// an update. To get the current etag, make a GET call and read the current etag header.
// If GET returns 404, and you still want to ensure that noone else has executed a SET operation, pass the following
// header instead: `if-none-match: *`
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Idempotency token to make sure that a second create operation won't fail if the first one succeeded.
// This can be any random string.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CancelLimitsIncreaseRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelLimitsIncreaseRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelLimitsIncreaseRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelLimitsIncreaseRequestRequest) String() string
func (request CancelLimitsIncreaseRequestRequest) 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
CancelLimitsIncreaseRequestResponse wrapper for the CancelLimitsIncreaseRequest operation
type CancelLimitsIncreaseRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The LimitsIncreaseRequest instance
LimitsIncreaseRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CancelLimitsIncreaseRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelLimitsIncreaseRequestResponse) String() string
CreateLimitsIncreaseItemRequestDetails The configuration details for creating a limit increase item within a limit increase request. For more information, see Creating a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/create-requests.htm).
type CreateLimitsIncreaseItemRequestDetails struct {
// The name of the service that owns the limit.
ServiceName *string `mandatory:"true" json:"serviceName"`
// The name of the limit to be increased.
LimitName *string `mandatory:"true" json:"limitName"`
// The region for the limit increase.
Region *string `mandatory:"true" json:"region"`
// The requested value of the increase.
Value *int64 `mandatory:"true" json:"value"`
// The scope of the limit increase item.
// For OCI, use the logical availability domain (AD) of the request.
// For Multicloud, use the availability zone (AZ) of the request
Scope *string `mandatory:"false" json:"scope"`
// List of questionnaire responses.
QuestionnaireResponse []LimitsIncreaseItemQuestionRequest `mandatory:"false" json:"questionnaireResponse"`
}
func (m CreateLimitsIncreaseItemRequestDetails) String() string
func (m CreateLimitsIncreaseItemRequestDetails) 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
CreateLimitsIncreaseRequestDetails The configuration details for creating a limit increase request.
type CreateLimitsIncreaseRequestDetails struct {
// The user-friendly name of the limit increase request. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the new limit increase request.
// Note: The tenancy is the root compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Reason for the limit increase request.
Justification *string `mandatory:"true" json:"justification"`
// List of items in the limit increase request.
LimitsIncreaseItemRequests []CreateLimitsIncreaseItemRequestDetails `mandatory:"true" json:"limitsIncreaseItemRequests"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy subscription for the limit increase request.
SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
// 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"`
}
func (m CreateLimitsIncreaseRequestDetails) String() string
func (m CreateLimitsIncreaseRequestDetails) 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
CreateLimitsIncreaseRequestRequest wrapper for the CreateLimitsIncreaseRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/CreateLimitsIncreaseRequest.go.html to see an example of how to use CreateLimitsIncreaseRequestRequest.
type CreateLimitsIncreaseRequestRequest struct {
// The new limit increase request details
CreateLimitsIncreaseRequestDetails `contributesTo:"body"`
// Idempotency token to make sure that a second create operation won't fail if the first one succeeded.
// This can be any random string.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateLimitsIncreaseRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateLimitsIncreaseRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateLimitsIncreaseRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateLimitsIncreaseRequestRequest) String() string
func (request CreateLimitsIncreaseRequestRequest) 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
CreateLimitsIncreaseRequestResponse wrapper for the CreateLimitsIncreaseRequest operation
type CreateLimitsIncreaseRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The LimitsIncreaseRequest instance
LimitsIncreaseRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response CreateLimitsIncreaseRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateLimitsIncreaseRequestResponse) String() string
DeleteLimitsIncreaseRequestRequest wrapper for the DeleteLimitsIncreaseRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/DeleteLimitsIncreaseRequest.go.html to see an example of how to use DeleteLimitsIncreaseRequestRequest.
type DeleteLimitsIncreaseRequestRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
LimitsIncreaseRequestId *string `mandatory:"true" contributesTo:"path" name:"limitsIncreaseRequestId"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// This value (etag) should be passed when you want to ensure that no-one else has changed the value while you're making
// an update. To get the current etag, make a GET call and read the current etag header.
// If GET returns 404, and you still want to ensure that noone else has executed a SET operation, pass the following
// header instead: `if-none-match: *`
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request DeleteLimitsIncreaseRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteLimitsIncreaseRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteLimitsIncreaseRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteLimitsIncreaseRequestRequest) String() string
func (request DeleteLimitsIncreaseRequestRequest) 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
DeleteLimitsIncreaseRequestResponse wrapper for the DeleteLimitsIncreaseRequest operation
type DeleteLimitsIncreaseRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response DeleteLimitsIncreaseRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteLimitsIncreaseRequestResponse) String() string
GetLimitsIncreaseItemRequestRequest wrapper for the GetLimitsIncreaseItemRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/GetLimitsIncreaseItemRequest.go.html to see an example of how to use GetLimitsIncreaseItemRequestRequest.
type GetLimitsIncreaseItemRequestRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
LimitsIncreaseItemRequestId *string `mandatory:"true" contributesTo:"path" name:"limitsIncreaseItemRequestId"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetLimitsIncreaseItemRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetLimitsIncreaseItemRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLimitsIncreaseItemRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLimitsIncreaseItemRequestRequest) String() string
func (request GetLimitsIncreaseItemRequestRequest) 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
GetLimitsIncreaseItemRequestResponse wrapper for the GetLimitsIncreaseItemRequest operation
type GetLimitsIncreaseItemRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The LimitsIncreaseItemRequest instance
LimitsIncreaseItemRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response GetLimitsIncreaseItemRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLimitsIncreaseItemRequestResponse) String() string
GetLimitsIncreaseRequestRequest wrapper for the GetLimitsIncreaseRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/GetLimitsIncreaseRequest.go.html to see an example of how to use GetLimitsIncreaseRequestRequest.
type GetLimitsIncreaseRequestRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
LimitsIncreaseRequestId *string `mandatory:"true" contributesTo:"path" name:"limitsIncreaseRequestId"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request GetLimitsIncreaseRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetLimitsIncreaseRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLimitsIncreaseRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLimitsIncreaseRequestRequest) String() string
func (request GetLimitsIncreaseRequestRequest) 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
GetLimitsIncreaseRequestResponse wrapper for the GetLimitsIncreaseRequest operation
type GetLimitsIncreaseRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The LimitsIncreaseRequest instance
LimitsIncreaseRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response GetLimitsIncreaseRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLimitsIncreaseRequestResponse) String() string
LimitsIncreaseClient a client for LimitsIncrease
type LimitsIncreaseClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewLimitsIncreaseClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LimitsIncreaseClient, err error)
NewLimitsIncreaseClientWithConfigurationProvider Creates a new default LimitsIncrease client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewLimitsIncreaseClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LimitsIncreaseClient, err error)
NewLimitsIncreaseClientWithOboToken Creates a new default LimitsIncrease 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 (client LimitsIncreaseClient) CancelLimitsIncreaseItemRequest(ctx context.Context, request CancelLimitsIncreaseItemRequestRequest) (response CancelLimitsIncreaseItemRequestResponse, err error)
CancelLimitsIncreaseItemRequest Withdraws the specified item from the limit increase request. For more information, see Withdrawing an Item from a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/withdraw-item-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/CancelLimitsIncreaseItemRequest.go.html to see an example of how to use CancelLimitsIncreaseItemRequest API. A default retry strategy applies to this operation CancelLimitsIncreaseItemRequest()
func (client LimitsIncreaseClient) CancelLimitsIncreaseRequest(ctx context.Context, request CancelLimitsIncreaseRequestRequest) (response CancelLimitsIncreaseRequestResponse, err error)
CancelLimitsIncreaseRequest Withdraws the specified limit increase request. For more information, see Withdrawing a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/withdraw-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/CancelLimitsIncreaseRequest.go.html to see an example of how to use CancelLimitsIncreaseRequest API. A default retry strategy applies to this operation CancelLimitsIncreaseRequest()
func (client *LimitsIncreaseClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client LimitsIncreaseClient) CreateLimitsIncreaseRequest(ctx context.Context, request CreateLimitsIncreaseRequestRequest) (response CreateLimitsIncreaseRequestResponse, err error)
CreateLimitsIncreaseRequest Creates a limit increase request in the specified compartment. For more information, see Creating a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/create-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/CreateLimitsIncreaseRequest.go.html to see an example of how to use CreateLimitsIncreaseRequest API. A default retry strategy applies to this operation CreateLimitsIncreaseRequest()
func (client LimitsIncreaseClient) DeleteLimitsIncreaseRequest(ctx context.Context, request DeleteLimitsIncreaseRequestRequest) (response DeleteLimitsIncreaseRequestResponse, err error)
DeleteLimitsIncreaseRequest Deletes the specified limit increase request. For more information, see Deleting a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/delete-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/DeleteLimitsIncreaseRequest.go.html to see an example of how to use DeleteLimitsIncreaseRequest API. A default retry strategy applies to this operation DeleteLimitsIncreaseRequest()
func (client LimitsIncreaseClient) GetLimitsIncreaseItemRequest(ctx context.Context, request GetLimitsIncreaseItemRequestRequest) (response GetLimitsIncreaseItemRequestResponse, err error)
GetLimitsIncreaseItemRequest Gets the specified item from the limit increase request. For more information, see Getting Details for a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/get-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/GetLimitsIncreaseItemRequest.go.html to see an example of how to use GetLimitsIncreaseItemRequest API. A default retry strategy applies to this operation GetLimitsIncreaseItemRequest()
func (client LimitsIncreaseClient) GetLimitsIncreaseRequest(ctx context.Context, request GetLimitsIncreaseRequestRequest) (response GetLimitsIncreaseRequestResponse, err error)
GetLimitsIncreaseRequest Gets the specified limit increase request. For more information, see Getting Details for a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/get-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/GetLimitsIncreaseRequest.go.html to see an example of how to use GetLimitsIncreaseRequest API. A default retry strategy applies to this operation GetLimitsIncreaseRequest()
func (client LimitsIncreaseClient) ListLimitsIncreaseItemRequests(ctx context.Context, request ListLimitsIncreaseItemRequestsRequest) (response ListLimitsIncreaseItemRequestsResponse, err error)
ListLimitsIncreaseItemRequests Lists items in the specified limit increase request. For more information, see Getting Details for a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/get-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/ListLimitsIncreaseItemRequests.go.html to see an example of how to use ListLimitsIncreaseItemRequests API. A default retry strategy applies to this operation ListLimitsIncreaseItemRequests()
func (client LimitsIncreaseClient) ListLimitsIncreaseQuestions(ctx context.Context, request ListLimitsIncreaseQuestionsRequest) (response ListLimitsIncreaseQuestionsResponse, err error)
ListLimitsIncreaseQuestions Gets the fields for the specified service and limit name. Service name is required if limit name is provided. If limit name is not provided, returns all questions for the specified service. If service name is not provided, returns all available questions. For more information, see Creating a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/create-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/ListLimitsIncreaseQuestions.go.html to see an example of how to use ListLimitsIncreaseQuestions API. A default retry strategy applies to this operation ListLimitsIncreaseQuestions()
func (client LimitsIncreaseClient) ListLimitsIncreaseRequests(ctx context.Context, request ListLimitsIncreaseRequestsRequest) (response ListLimitsIncreaseRequestsResponse, err error)
ListLimitsIncreaseRequests Lists limit increase requests in the specified compartment. For more information, see Listing Limit Increase Requests (https://docs.oracle.com/iaas/Content/General/service-limits/list-requests.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/ListLimitsIncreaseRequests.go.html to see an example of how to use ListLimitsIncreaseRequests API. A default retry strategy applies to this operation ListLimitsIncreaseRequests()
func (client LimitsIncreaseClient) PatchLimitsIncreaseRequest(ctx context.Context, request PatchLimitsIncreaseRequestRequest) (response PatchLimitsIncreaseRequestResponse, err error)
PatchLimitsIncreaseRequest Adds one or more comments to the specified limit increase request. For more information, see Adding Comments to a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/comment-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/PatchLimitsIncreaseRequest.go.html to see an example of how to use PatchLimitsIncreaseRequest API. A default retry strategy applies to this operation PatchLimitsIncreaseRequest()
func (client *LimitsIncreaseClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client LimitsIncreaseClient) UpdateLimitsIncreaseRequest(ctx context.Context, request UpdateLimitsIncreaseRequestRequest) (response UpdateLimitsIncreaseRequestResponse, err error)
UpdateLimitsIncreaseRequest Updates the limit increase request. For more information, see Updating a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/update-request.htm).
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/UpdateLimitsIncreaseRequest.go.html to see an example of how to use UpdateLimitsIncreaseRequest API. A default retry strategy applies to this operation UpdateLimitsIncreaseRequest()
LimitsIncreaseItemQuestionRequest A question response.
type LimitsIncreaseItemQuestionRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the question.
Id *string `mandatory:"true" json:"id"`
// The response to the question.
QuestionResponse *string `mandatory:"true" json:"questionResponse"`
}
func (m LimitsIncreaseItemQuestionRequest) String() string
func (m LimitsIncreaseItemQuestionRequest) 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
LimitsIncreaseItemQuestionResponse A question and its response.
type LimitsIncreaseItemQuestionResponse struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the question.
Id *string `mandatory:"true" json:"id"`
// The text of the question.
QuestionText *string `mandatory:"true" json:"questionText"`
// The response to the question.
QuestionResponse *string `mandatory:"true" json:"questionResponse"`
}
func (m LimitsIncreaseItemQuestionResponse) String() string
func (m LimitsIncreaseItemQuestionResponse) 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
LimitsIncreaseItemRequest The properties that define a limit increase item in a limit increase request. For information about limit increase requests, see Working with Limit Increase Requests (https://docs.oracle.com/iaas/Content/General/service-limits/requests.htm).
type LimitsIncreaseItemRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase item.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the limit increase item.
// Note: The tenancy is the root compartment).
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The region code for the limit increase item.
Region *string `mandatory:"true" json:"region"`
// The name of the service that owns the limit.
ServiceName *string `mandatory:"true" json:"serviceName"`
// The name of the limit to be increased.
LimitName *string `mandatory:"true" json:"limitName"`
// The value of the limit for the tenancy at the time of the request. Purely informative.
CurrentValue *int64 `mandatory:"true" json:"currentValue"`
// The new value requested for the limit.
Value *int64 `mandatory:"true" json:"value"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request that the limit increase item belongs to.
LimitsIncreaseRequestId *string `mandatory:"true" json:"limitsIncreaseRequestId"`
// The time that the limit increase item was created. Format defined by RFC3339.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The current status of the limit increase item.
LifecycleState LimitsIncreaseItemRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The scope of the limit increase item.
// For OCI, use the logical availability domain (AD) of the request.
// For Multicloud, use the availability zone (AZ) of the request
Scope *string `mandatory:"false" json:"scope"`
// The time that the limit increase item was resolved. Format defined by RFC3339.
TimeResolution *common.SDKTime `mandatory:"false" json:"timeResolution"`
// The time that the limit increase item was last updated. Format defined by RFC3339.
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// List of questionnaire responses for the limit increase item.
QuestionnaireResponse []LimitsIncreaseItemQuestionResponse `mandatory:"false" json:"questionnaireResponse"`
}
func (m LimitsIncreaseItemRequest) String() string
func (m LimitsIncreaseItemRequest) 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
LimitsIncreaseItemRequestCollection Collection of property summaries for limit increase items within the indicated limit increase request.
type LimitsIncreaseItemRequestCollection struct {
// List of limit increase items.
Items []LimitsIncreaseItemRequestSummary `mandatory:"true" json:"items"`
}
func (m LimitsIncreaseItemRequestCollection) String() string
func (m LimitsIncreaseItemRequestCollection) 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
LimitsIncreaseItemRequestLifecycleStateEnum Enum with underlying type: string
type LimitsIncreaseItemRequestLifecycleStateEnum string
Set of constants representing the allowable values for LimitsIncreaseItemRequestLifecycleStateEnum
const (
LimitsIncreaseItemRequestLifecycleStateAccepted LimitsIncreaseItemRequestLifecycleStateEnum = "ACCEPTED"
LimitsIncreaseItemRequestLifecycleStateInProgress LimitsIncreaseItemRequestLifecycleStateEnum = "IN_PROGRESS"
LimitsIncreaseItemRequestLifecycleStateSucceeded LimitsIncreaseItemRequestLifecycleStateEnum = "SUCCEEDED"
LimitsIncreaseItemRequestLifecycleStateCanceled LimitsIncreaseItemRequestLifecycleStateEnum = "CANCELED"
LimitsIncreaseItemRequestLifecycleStateFailed LimitsIncreaseItemRequestLifecycleStateEnum = "FAILED"
)
func GetLimitsIncreaseItemRequestLifecycleStateEnumValues() []LimitsIncreaseItemRequestLifecycleStateEnum
GetLimitsIncreaseItemRequestLifecycleStateEnumValues Enumerates the set of values for LimitsIncreaseItemRequestLifecycleStateEnum
func GetMappingLimitsIncreaseItemRequestLifecycleStateEnum(val string) (LimitsIncreaseItemRequestLifecycleStateEnum, bool)
GetMappingLimitsIncreaseItemRequestLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
LimitsIncreaseItemRequestSummary A summary of properties for a limit increase item within the indicated limit increase request.
type LimitsIncreaseItemRequestSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase item.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the limit increase item.
// Note: The tenancy is the root compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The region code for the limit increase item.
Region *string `mandatory:"true" json:"region"`
// The name of the service that owns the limit.
ServiceName *string `mandatory:"true" json:"serviceName"`
// The name of the limit to be increased.
LimitName *string `mandatory:"true" json:"limitName"`
// The requested value for the limit.
Value *int64 `mandatory:"true" json:"value"`
// The value of the limit for the tenancy at the time of the request. Purely informative.
CurrentValue *int64 `mandatory:"true" json:"currentValue"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request that the limit increase item belongs to.
LimitsIncreaseRequestId *string `mandatory:"true" json:"limitsIncreaseRequestId"`
// The time that the limit increase request was created. Format defined by RFC3339.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The current status of the limit increase item.
LifecycleState LimitsIncreaseItemRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The scope of the limit increase item.
// For OCI, use the logical availability domain (AD) of the request.
// For Multicloud, use the availability zone (AZ) of the request
Scope *string `mandatory:"false" json:"scope"`
}
func (m LimitsIncreaseItemRequestSummary) String() string
func (m LimitsIncreaseItemRequestSummary) 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
LimitsIncreaseQuestionCollection Collection of questions to be asked for certain limits. Example questions include database version for some limits in Autonomous AI Database or email domain for some limits in Email Delivery. For more information, see Creating a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/create-request.htm).
type LimitsIncreaseQuestionCollection struct {
// List of questions to be asked for certain limits.
Items []LimitsIncreaseQuestionSummary `mandatory:"true" json:"items"`
}
func (m LimitsIncreaseQuestionCollection) String() string
func (m LimitsIncreaseQuestionCollection) 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
LimitsIncreaseQuestionSummary A summary of properties for a question to be asked for a certain limit. Example questions include database version for some limits in Autonomous AI Database or email domain for some limits in Email Delivery. For more information, see Creating a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/create-request.htm).
type LimitsIncreaseQuestionSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the question.
Id *string `mandatory:"true" json:"id"`
// The name of the service for the question.
Service *string `mandatory:"true" json:"service"`
// The text for the question.
QuestionText *string `mandatory:"true" json:"questionText"`
// The type of question.
QuestionType LimitsIncreaseQuestionSummaryQuestionTypeEnum `mandatory:"true" json:"questionType"`
// When `true`, requires an answer to the question.
IsRequired *bool `mandatory:"true" json:"isRequired"`
// The name of the limit for the question (empty if the question is for the service).
LimitName *string `mandatory:"false" json:"limitName"`
// Set options for the question. Applies to questions that aren't free text.
Options map[string]string `mandatory:"false" json:"options"`
}
func (m LimitsIncreaseQuestionSummary) String() string
func (m LimitsIncreaseQuestionSummary) 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
LimitsIncreaseQuestionSummaryQuestionTypeEnum Enum with underlying type: string
type LimitsIncreaseQuestionSummaryQuestionTypeEnum string
Set of constants representing the allowable values for LimitsIncreaseQuestionSummaryQuestionTypeEnum
const (
LimitsIncreaseQuestionSummaryQuestionTypeText LimitsIncreaseQuestionSummaryQuestionTypeEnum = "TEXT"
LimitsIncreaseQuestionSummaryQuestionTypeNumber LimitsIncreaseQuestionSummaryQuestionTypeEnum = "NUMBER"
LimitsIncreaseQuestionSummaryQuestionTypeRadio LimitsIncreaseQuestionSummaryQuestionTypeEnum = "RADIO"
LimitsIncreaseQuestionSummaryQuestionTypeCheckbox LimitsIncreaseQuestionSummaryQuestionTypeEnum = "CHECKBOX"
)
func GetLimitsIncreaseQuestionSummaryQuestionTypeEnumValues() []LimitsIncreaseQuestionSummaryQuestionTypeEnum
GetLimitsIncreaseQuestionSummaryQuestionTypeEnumValues Enumerates the set of values for LimitsIncreaseQuestionSummaryQuestionTypeEnum
func GetMappingLimitsIncreaseQuestionSummaryQuestionTypeEnum(val string) (LimitsIncreaseQuestionSummaryQuestionTypeEnum, bool)
GetMappingLimitsIncreaseQuestionSummaryQuestionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
LimitsIncreaseRequest The properties that define a limit increase request. For information about limit increase requests, see Working with Limit Increase Requests (https://docs.oracle.com/iaas/Content/General/service-limits/requests.htm).
type LimitsIncreaseRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
Id *string `mandatory:"true" json:"id"`
// The user-friendly name of the limit increase request. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the limit increase request.
// Note: The tenancy is the root compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The current status of the limit increase request.
LifecycleState LimitsIncreaseRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// List of limit increase items within the limit increase request.
LimitsIncreaseItemRequests []LimitsIncreaseItemRequest `mandatory:"true" json:"limitsIncreaseItemRequests"`
// The time that the limit increase request was created. Format defined by RFC3339.
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"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy subscription for the limit increase request.
SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
// Reason for the limit increase request.
Justification *string `mandatory:"false" json:"justification"`
// The time that the limit increase request was updated. Format defined by RFC3339.
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// The time that the limit increase request was resolved (reached a terminal state). Format defined by RFC3339.
TimeResolution *common.SDKTime `mandatory:"false" json:"timeResolution"`
// List of comments in the limit increase request. A comment is typically between the requester and OCI Support.
CustomerComments []LimitsIncreaseRequestComment `mandatory:"false" json:"customerComments"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m LimitsIncreaseRequest) String() string
func (m LimitsIncreaseRequest) 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
LimitsIncreaseRequestCollection Collection of property summaries for limit increase requests.
type LimitsIncreaseRequestCollection struct {
// A list of limit increase requests.
Items []LimitsIncreaseRequestSummary `mandatory:"true" json:"items"`
}
func (m LimitsIncreaseRequestCollection) String() string
func (m LimitsIncreaseRequestCollection) 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
LimitsIncreaseRequestComment The properties that define a comment in a limit increase request.
type LimitsIncreaseRequestComment struct {
// The comment message.
Message *string `mandatory:"true" json:"message"`
// The time that the comment was created. Format defined by RFC3339.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The comment sender type.
SenderType LimitsIncreaseRequestCommentSenderTypeEnum `mandatory:"true" json:"senderType"`
}
func (m LimitsIncreaseRequestComment) String() string
func (m LimitsIncreaseRequestComment) 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
LimitsIncreaseRequestCommentSenderTypeEnum Enum with underlying type: string
type LimitsIncreaseRequestCommentSenderTypeEnum string
Set of constants representing the allowable values for LimitsIncreaseRequestCommentSenderTypeEnum
const (
LimitsIncreaseRequestCommentSenderTypeCustomer LimitsIncreaseRequestCommentSenderTypeEnum = "CUSTOMER"
LimitsIncreaseRequestCommentSenderTypeOracle LimitsIncreaseRequestCommentSenderTypeEnum = "ORACLE"
)
func GetLimitsIncreaseRequestCommentSenderTypeEnumValues() []LimitsIncreaseRequestCommentSenderTypeEnum
GetLimitsIncreaseRequestCommentSenderTypeEnumValues Enumerates the set of values for LimitsIncreaseRequestCommentSenderTypeEnum
func GetMappingLimitsIncreaseRequestCommentSenderTypeEnum(val string) (LimitsIncreaseRequestCommentSenderTypeEnum, bool)
GetMappingLimitsIncreaseRequestCommentSenderTypeEnum performs case Insensitive comparison on enum value and return the desired enum
LimitsIncreaseRequestLifecycleStateEnum Enum with underlying type: string
type LimitsIncreaseRequestLifecycleStateEnum string
Set of constants representing the allowable values for LimitsIncreaseRequestLifecycleStateEnum
const (
LimitsIncreaseRequestLifecycleStateAccepted LimitsIncreaseRequestLifecycleStateEnum = "ACCEPTED"
LimitsIncreaseRequestLifecycleStateInProgress LimitsIncreaseRequestLifecycleStateEnum = "IN_PROGRESS"
LimitsIncreaseRequestLifecycleStateSucceeded LimitsIncreaseRequestLifecycleStateEnum = "SUCCEEDED"
LimitsIncreaseRequestLifecycleStateCanceled LimitsIncreaseRequestLifecycleStateEnum = "CANCELED"
LimitsIncreaseRequestLifecycleStatePartiallySucceeded LimitsIncreaseRequestLifecycleStateEnum = "PARTIALLY_SUCCEEDED"
LimitsIncreaseRequestLifecycleStateFailed LimitsIncreaseRequestLifecycleStateEnum = "FAILED"
)
func GetLimitsIncreaseRequestLifecycleStateEnumValues() []LimitsIncreaseRequestLifecycleStateEnum
GetLimitsIncreaseRequestLifecycleStateEnumValues Enumerates the set of values for LimitsIncreaseRequestLifecycleStateEnum
func GetMappingLimitsIncreaseRequestLifecycleStateEnum(val string) (LimitsIncreaseRequestLifecycleStateEnum, bool)
GetMappingLimitsIncreaseRequestLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
LimitsIncreaseRequestSummary A summary of properties for a limit increase request.
type LimitsIncreaseRequestSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the limit increase request.
// Note: The tenancy is the root compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The current state of the limit increase request.
LifecycleState LimitsIncreaseRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// The user-friendly name of the limit increase request. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`
// Number of limit increase items in the limit increase request.
ItemsInRequest *int64 `mandatory:"true" json:"itemsInRequest"`
// The time that the limit increase request was created.
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"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy subscription for the limit increase request.
SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
// Reason for the limit increase request.
Justification *string `mandatory:"false" json:"justification"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m LimitsIncreaseRequestSummary) String() string
func (m LimitsIncreaseRequestSummary) 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
ListLimitsIncreaseItemRequestsRequest wrapper for the ListLimitsIncreaseItemRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/ListLimitsIncreaseItemRequests.go.html to see an example of how to use ListLimitsIncreaseItemRequestsRequest.
type ListLimitsIncreaseItemRequestsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent compartment.
// Note: The tenancy is the root compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Name of service that owns the limit.
Service *string `mandatory:"false" contributesTo:"query" name:"service"`
// Lifecycle state of the limit increase request.
LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
LimitsIncreaseRequestId *string `mandatory:"false" contributesTo:"query" name:"limitsIncreaseRequestId"`
// The sort order to use, either 'asc' or 'desc'. By default, it is ascending.
SortOrder ListLimitsIncreaseItemRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. You can specify only one sort order. The default order for `timeCreated` is descending.
SortBy ListLimitsIncreaseItemRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Maximum number of items returned in a page.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The next page token.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListLimitsIncreaseItemRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLimitsIncreaseItemRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLimitsIncreaseItemRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLimitsIncreaseItemRequestsRequest) String() string
func (request ListLimitsIncreaseItemRequestsRequest) 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
ListLimitsIncreaseItemRequestsResponse wrapper for the ListLimitsIncreaseItemRequests operation
type ListLimitsIncreaseItemRequestsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of LimitsIncreaseItemRequestCollection instances
LimitsIncreaseItemRequestCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For list pagination. When this header appears in the response, additional pages
// of results remain. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListLimitsIncreaseItemRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLimitsIncreaseItemRequestsResponse) String() string
ListLimitsIncreaseItemRequestsSortByEnum Enum with underlying type: string
type ListLimitsIncreaseItemRequestsSortByEnum string
Set of constants representing the allowable values for ListLimitsIncreaseItemRequestsSortByEnum
const (
ListLimitsIncreaseItemRequestsSortByTimecreated ListLimitsIncreaseItemRequestsSortByEnum = "timeCreated"
)
func GetListLimitsIncreaseItemRequestsSortByEnumValues() []ListLimitsIncreaseItemRequestsSortByEnum
GetListLimitsIncreaseItemRequestsSortByEnumValues Enumerates the set of values for ListLimitsIncreaseItemRequestsSortByEnum
func GetMappingListLimitsIncreaseItemRequestsSortByEnum(val string) (ListLimitsIncreaseItemRequestsSortByEnum, bool)
GetMappingListLimitsIncreaseItemRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListLimitsIncreaseItemRequestsSortOrderEnum Enum with underlying type: string
type ListLimitsIncreaseItemRequestsSortOrderEnum string
Set of constants representing the allowable values for ListLimitsIncreaseItemRequestsSortOrderEnum
const (
ListLimitsIncreaseItemRequestsSortOrderAsc ListLimitsIncreaseItemRequestsSortOrderEnum = "ASC"
ListLimitsIncreaseItemRequestsSortOrderDesc ListLimitsIncreaseItemRequestsSortOrderEnum = "DESC"
)
func GetListLimitsIncreaseItemRequestsSortOrderEnumValues() []ListLimitsIncreaseItemRequestsSortOrderEnum
GetListLimitsIncreaseItemRequestsSortOrderEnumValues Enumerates the set of values for ListLimitsIncreaseItemRequestsSortOrderEnum
func GetMappingListLimitsIncreaseItemRequestsSortOrderEnum(val string) (ListLimitsIncreaseItemRequestsSortOrderEnum, bool)
GetMappingListLimitsIncreaseItemRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListLimitsIncreaseQuestionsRequest wrapper for the ListLimitsIncreaseQuestions operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/ListLimitsIncreaseQuestions.go.html to see an example of how to use ListLimitsIncreaseQuestionsRequest.
type ListLimitsIncreaseQuestionsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent compartment.
// Note: The tenancy is the root compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The name of the service.
ServiceName *string `mandatory:"false" contributesTo:"query" name:"serviceName"`
// The name of the limit.
LimitName *string `mandatory:"false" contributesTo:"query" name:"limitName"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// The sort order to use, either 'asc' or 'desc'. By default, it is ascending.
SortOrder ListLimitsIncreaseQuestionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Both fields will sort alphabetically
SortBy ListLimitsIncreaseQuestionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Maximum number of items returned in a page.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The next page token.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListLimitsIncreaseQuestionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLimitsIncreaseQuestionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLimitsIncreaseQuestionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLimitsIncreaseQuestionsRequest) String() string
func (request ListLimitsIncreaseQuestionsRequest) 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
ListLimitsIncreaseQuestionsResponse wrapper for the ListLimitsIncreaseQuestions operation
type ListLimitsIncreaseQuestionsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of LimitsIncreaseQuestionCollection instances
LimitsIncreaseQuestionCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For list pagination. When this header appears in the response, additional pages
// of results remain. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListLimitsIncreaseQuestionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLimitsIncreaseQuestionsResponse) String() string
ListLimitsIncreaseQuestionsSortByEnum Enum with underlying type: string
type ListLimitsIncreaseQuestionsSortByEnum string
Set of constants representing the allowable values for ListLimitsIncreaseQuestionsSortByEnum
const (
ListLimitsIncreaseQuestionsSortByServicename ListLimitsIncreaseQuestionsSortByEnum = "serviceName"
ListLimitsIncreaseQuestionsSortByLimitname ListLimitsIncreaseQuestionsSortByEnum = "limitName"
)
func GetListLimitsIncreaseQuestionsSortByEnumValues() []ListLimitsIncreaseQuestionsSortByEnum
GetListLimitsIncreaseQuestionsSortByEnumValues Enumerates the set of values for ListLimitsIncreaseQuestionsSortByEnum
func GetMappingListLimitsIncreaseQuestionsSortByEnum(val string) (ListLimitsIncreaseQuestionsSortByEnum, bool)
GetMappingListLimitsIncreaseQuestionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListLimitsIncreaseQuestionsSortOrderEnum Enum with underlying type: string
type ListLimitsIncreaseQuestionsSortOrderEnum string
Set of constants representing the allowable values for ListLimitsIncreaseQuestionsSortOrderEnum
const (
ListLimitsIncreaseQuestionsSortOrderAsc ListLimitsIncreaseQuestionsSortOrderEnum = "ASC"
ListLimitsIncreaseQuestionsSortOrderDesc ListLimitsIncreaseQuestionsSortOrderEnum = "DESC"
)
func GetListLimitsIncreaseQuestionsSortOrderEnumValues() []ListLimitsIncreaseQuestionsSortOrderEnum
GetListLimitsIncreaseQuestionsSortOrderEnumValues Enumerates the set of values for ListLimitsIncreaseQuestionsSortOrderEnum
func GetMappingListLimitsIncreaseQuestionsSortOrderEnum(val string) (ListLimitsIncreaseQuestionsSortOrderEnum, bool)
GetMappingListLimitsIncreaseQuestionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListLimitsIncreaseRequestsRequest wrapper for the ListLimitsIncreaseRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/ListLimitsIncreaseRequests.go.html to see an example of how to use ListLimitsIncreaseRequestsRequest.
type ListLimitsIncreaseRequestsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent compartment.
// Note: The tenancy is the root compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Lifecycle state of the limit increase request.
LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"`
// A filter to return only the resources that match the entire display name specified.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// The sort order to use, either 'asc' or 'desc'. By default, it is ascending.
SortOrder ListLimitsIncreaseRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. You can specify only one sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending.
SortBy ListLimitsIncreaseRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Maximum number of items returned in a page.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The next page token.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListLimitsIncreaseRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLimitsIncreaseRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLimitsIncreaseRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLimitsIncreaseRequestsRequest) String() string
func (request ListLimitsIncreaseRequestsRequest) 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
ListLimitsIncreaseRequestsResponse wrapper for the ListLimitsIncreaseRequests operation
type ListLimitsIncreaseRequestsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of LimitsIncreaseRequestCollection instances
LimitsIncreaseRequestCollection `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For list pagination. When this header appears in the response, additional pages
// of results remain. For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}
func (response ListLimitsIncreaseRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLimitsIncreaseRequestsResponse) String() string
ListLimitsIncreaseRequestsSortByEnum Enum with underlying type: string
type ListLimitsIncreaseRequestsSortByEnum string
Set of constants representing the allowable values for ListLimitsIncreaseRequestsSortByEnum
const (
ListLimitsIncreaseRequestsSortByTimecreated ListLimitsIncreaseRequestsSortByEnum = "timeCreated"
ListLimitsIncreaseRequestsSortByDisplayname ListLimitsIncreaseRequestsSortByEnum = "displayName"
)
func GetListLimitsIncreaseRequestsSortByEnumValues() []ListLimitsIncreaseRequestsSortByEnum
GetListLimitsIncreaseRequestsSortByEnumValues Enumerates the set of values for ListLimitsIncreaseRequestsSortByEnum
func GetMappingListLimitsIncreaseRequestsSortByEnum(val string) (ListLimitsIncreaseRequestsSortByEnum, bool)
GetMappingListLimitsIncreaseRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListLimitsIncreaseRequestsSortOrderEnum Enum with underlying type: string
type ListLimitsIncreaseRequestsSortOrderEnum string
Set of constants representing the allowable values for ListLimitsIncreaseRequestsSortOrderEnum
const (
ListLimitsIncreaseRequestsSortOrderAsc ListLimitsIncreaseRequestsSortOrderEnum = "ASC"
ListLimitsIncreaseRequestsSortOrderDesc ListLimitsIncreaseRequestsSortOrderEnum = "DESC"
)
func GetListLimitsIncreaseRequestsSortOrderEnumValues() []ListLimitsIncreaseRequestsSortOrderEnum
GetListLimitsIncreaseRequestsSortOrderEnumValues Enumerates the set of values for ListLimitsIncreaseRequestsSortOrderEnum
func GetMappingListLimitsIncreaseRequestsSortOrderEnum(val string) (ListLimitsIncreaseRequestsSortOrderEnum, bool)
GetMappingListLimitsIncreaseRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
PatchInsertInstruction An operation in a single patch instruction for a new comment to be added to the limit increase request. The operation inserts a value into an array, shifting array items as necessary and handling `NOT_FOUND` exceptions by creating the implied containing structure.
type PatchInsertInstruction struct {
// The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
// An operation fails if the selection yields an exception, except as otherwise specified.
// Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
Selection *string `mandatory:"true" json:"selection"`
// A value to be inserted into the target.
Value *interface{} `mandatory:"true" json:"value"`
}
func (m PatchInsertInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchInsertInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchInsertInstruction) String() string
func (m PatchInsertInstruction) 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
PatchInstruction A single patch instruction for a new comment to be added to the limit increase request.
type PatchInstruction interface {
// The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource.
// An operation fails if the selection yields an exception, except as otherwise specified.
// Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
GetSelection() *string
}
PatchInstructionOperationEnum Enum with underlying type: string
type PatchInstructionOperationEnum string
Set of constants representing the allowable values for PatchInstructionOperationEnum
const (
PatchInstructionOperationInsert PatchInstructionOperationEnum = "INSERT"
)
func GetMappingPatchInstructionOperationEnum(val string) (PatchInstructionOperationEnum, bool)
GetMappingPatchInstructionOperationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchInstructionOperationEnumValues() []PatchInstructionOperationEnum
GetPatchInstructionOperationEnumValues Enumerates the set of values for PatchInstructionOperationEnum
PatchLimitsIncreaseRequestDetails Configuration details for new comments to be added to the limit increase request. For more information, see Adding Comments to a Limit Increase Request (https://docs.oracle.com/iaas/Content/General/service-limits/comment-request.htm).
type PatchLimitsIncreaseRequestDetails struct {
// List of patch instructions for adding comments.
Items []PatchInstruction `mandatory:"false" json:"items"`
}
func (m PatchLimitsIncreaseRequestDetails) String() string
func (m *PatchLimitsIncreaseRequestDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m PatchLimitsIncreaseRequestDetails) 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
PatchLimitsIncreaseRequestRequest wrapper for the PatchLimitsIncreaseRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/PatchLimitsIncreaseRequest.go.html to see an example of how to use PatchLimitsIncreaseRequestRequest.
type PatchLimitsIncreaseRequestRequest struct {
// The payload containing instructions to patch the Limits Increase Request
PatchLimitsIncreaseRequestDetails `contributesTo:"body"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
LimitsIncreaseRequestId *string `mandatory:"true" contributesTo:"path" name:"limitsIncreaseRequestId"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// This value (etag) should be passed when you want to ensure that no-one else has changed the value while you're making
// an update. To get the current etag, make a GET call and read the current etag header.
// If GET returns 404, and you still want to ensure that noone else has executed a SET operation, pass the following
// header instead: `if-none-match: *`
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request PatchLimitsIncreaseRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PatchLimitsIncreaseRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PatchLimitsIncreaseRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PatchLimitsIncreaseRequestRequest) String() string
func (request PatchLimitsIncreaseRequestRequest) 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
PatchLimitsIncreaseRequestResponse wrapper for the PatchLimitsIncreaseRequest operation
type PatchLimitsIncreaseRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The LimitsIncreaseRequest instance
LimitsIncreaseRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response PatchLimitsIncreaseRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PatchLimitsIncreaseRequestResponse) String() string
UpdateLimitsIncreaseRequestDetails The configuration details for updating a limit increase request.
type UpdateLimitsIncreaseRequestDetails struct {
// 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"`
}
func (m UpdateLimitsIncreaseRequestDetails) String() string
func (m UpdateLimitsIncreaseRequestDetails) 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
UpdateLimitsIncreaseRequestRequest wrapper for the UpdateLimitsIncreaseRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/limitsincrease/UpdateLimitsIncreaseRequest.go.html to see an example of how to use UpdateLimitsIncreaseRequestRequest.
type UpdateLimitsIncreaseRequestRequest struct {
// Details for updating Limits Increase request
UpdateLimitsIncreaseRequestDetails `contributesTo:"body"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the limit increase request.
LimitsIncreaseRequestId *string `mandatory:"true" contributesTo:"path" name:"limitsIncreaseRequestId"`
// Override request id for request tracking purposes.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// This value (etag) should be passed when you want to ensure that no-one else has changed the value while you're making
// an update. To get the current etag, make a GET call and read the current etag header.
// If GET returns 404, and you still want to ensure that noone else has executed a SET operation, pass the following
// header instead: `if-none-match: *`
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request UpdateLimitsIncreaseRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateLimitsIncreaseRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateLimitsIncreaseRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateLimitsIncreaseRequestRequest) String() string
func (request UpdateLimitsIncreaseRequestRequest) 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
UpdateLimitsIncreaseRequestResponse wrapper for the UpdateLimitsIncreaseRequest operation
type UpdateLimitsIncreaseRequestResponse struct {
// The underlying http response
RawResponse *http.Response
// The LimitsIncreaseRequest instance
LimitsIncreaseRequest `presentIn:"body"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
func (response UpdateLimitsIncreaseRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateLimitsIncreaseRequestResponse) String() string