...

Package capacitymanagement

import "github.com/oracle/oci-go-sdk/capacitymanagement"
Overview
Index

Overview ▾

Index ▾

func GetCreateOccCapacityRequestDetailsRequestStateEnumStringValues() []string
func GetCreateOccCustomerDetailsStatusEnumStringValues() []string
func GetCreateOccCustomerGroupDetailsStatusEnumStringValues() []string
func GetListInternalNamespaceOccOverviewsNamespaceEnumStringValues() []string
func GetListInternalNamespaceOccOverviewsSortByEnumStringValues() []string
func GetListInternalNamespaceOccOverviewsSortOrderEnumStringValues() []string
func GetListInternalOccHandoverResourceBlockDetailsSortByEnumStringValues() []string
func GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumStringValues() []string
func GetListInternalOccHandoverResourceBlocksNamespaceEnumStringValues() []string
func GetListInternalOccHandoverResourceBlocksSortByEnumStringValues() []string
func GetListInternalOccHandoverResourceBlocksSortOrderEnumStringValues() []string
func GetListOccAvailabilitiesSortByEnumStringValues() []string
func GetListOccAvailabilitiesSortOrderEnumStringValues() []string
func GetListOccAvailabilityCatalogsInternalNamespaceEnumStringValues() []string
func GetListOccAvailabilityCatalogsInternalSortByEnumStringValues() []string
func GetListOccAvailabilityCatalogsInternalSortOrderEnumStringValues() []string
func GetListOccAvailabilityCatalogsNamespaceEnumStringValues() []string
func GetListOccAvailabilityCatalogsSortByEnumStringValues() []string
func GetListOccAvailabilityCatalogsSortOrderEnumStringValues() []string
func GetListOccCapacityRequestsInternalNamespaceEnumStringValues() []string
func GetListOccCapacityRequestsInternalSortByEnumStringValues() []string
func GetListOccCapacityRequestsInternalSortOrderEnumStringValues() []string
func GetListOccCapacityRequestsNamespaceEnumStringValues() []string
func GetListOccCapacityRequestsSortByEnumStringValues() []string
func GetListOccCapacityRequestsSortOrderEnumStringValues() []string
func GetListOccCustomerGroupsSortByEnumStringValues() []string
func GetListOccCustomerGroupsSortOrderEnumStringValues() []string
func GetListOccHandoverResourceBlockDetailsSortByEnumStringValues() []string
func GetListOccHandoverResourceBlockDetailsSortOrderEnumStringValues() []string
func GetListOccHandoverResourceBlocksNamespaceEnumStringValues() []string
func GetListOccHandoverResourceBlocksSortByEnumStringValues() []string
func GetListOccHandoverResourceBlocksSortOrderEnumStringValues() []string
func GetListOccOverviewsNamespaceEnumStringValues() []string
func GetListOccOverviewsSortByEnumStringValues() []string
func GetListOccOverviewsSortOrderEnumStringValues() []string
func GetMetadataDetailsFormatVersionEnumStringValues() []string
func GetNamespaceEnumStringValues() []string
func GetOccAvailabilityCatalogCatalogStateEnumStringValues() []string
func GetOccAvailabilityCatalogLifecycleStateEnumStringValues() []string
func GetOccCapacityRequestLifecycleStateEnumStringValues() []string
func GetOccCapacityRequestRequestStateEnumStringValues() []string
func GetOccCapacityRequestRequestTypeEnumStringValues() []string
func GetOccCustomerGroupLifecycleStateEnumStringValues() []string
func GetOccCustomerGroupStatusEnumStringValues() []string
func GetOccCustomerStatusEnumStringValues() []string
func GetPatchInsertInstructionPositionEnumStringValues() []string
func GetPatchInsertMultipleInstructionPositionEnumStringValues() []string
func GetPatchInstructionOperationEnumStringValues() []string
func GetPatchMoveInstructionPositionEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumStringValues() []string
func GetUpdateOccCapacityRequestDetailsRequestStateEnumStringValues() []string
func GetUpdateOccCustomerDetailsStatusEnumStringValues() []string
func GetUpdateOccCustomerGroupDetailsStatusEnumStringValues() []string
type AssociatedCapacityRequestDetails
    func (m AssociatedCapacityRequestDetails) String() string
    func (m AssociatedCapacityRequestDetails) ValidateEnumValue() (bool, error)
type AssociatedOccHandoverResourceBlock
    func (m AssociatedOccHandoverResourceBlock) String() string
    func (m AssociatedOccHandoverResourceBlock) ValidateEnumValue() (bool, error)
type CapacityManagementClient
    func NewCapacityManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CapacityManagementClient, err error)
    func NewCapacityManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CapacityManagementClient, err error)
    func (client *CapacityManagementClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client CapacityManagementClient) CreateOccAvailabilityCatalog(ctx context.Context, request CreateOccAvailabilityCatalogRequest) (response CreateOccAvailabilityCatalogResponse, err error)
    func (client CapacityManagementClient) CreateOccCapacityRequest(ctx context.Context, request CreateOccCapacityRequestRequest) (response CreateOccCapacityRequestResponse, err error)
    func (client CapacityManagementClient) CreateOccCustomer(ctx context.Context, request CreateOccCustomerRequest) (response CreateOccCustomerResponse, err error)
    func (client CapacityManagementClient) CreateOccCustomerGroup(ctx context.Context, request CreateOccCustomerGroupRequest) (response CreateOccCustomerGroupResponse, err error)
    func (client CapacityManagementClient) DeleteOccAvailabilityCatalog(ctx context.Context, request DeleteOccAvailabilityCatalogRequest) (response DeleteOccAvailabilityCatalogResponse, err error)
    func (client CapacityManagementClient) DeleteOccCapacityRequest(ctx context.Context, request DeleteOccCapacityRequestRequest) (response DeleteOccCapacityRequestResponse, err error)
    func (client CapacityManagementClient) DeleteOccCustomer(ctx context.Context, request DeleteOccCustomerRequest) (response DeleteOccCustomerResponse, err error)
    func (client CapacityManagementClient) DeleteOccCustomerGroup(ctx context.Context, request DeleteOccCustomerGroupRequest) (response DeleteOccCustomerGroupResponse, err error)
    func (client CapacityManagementClient) GetOccAvailabilityCatalog(ctx context.Context, request GetOccAvailabilityCatalogRequest) (response GetOccAvailabilityCatalogResponse, err error)
    func (client CapacityManagementClient) GetOccAvailabilityCatalogContent(ctx context.Context, request GetOccAvailabilityCatalogContentRequest) (response GetOccAvailabilityCatalogContentResponse, err error)
    func (client CapacityManagementClient) GetOccCapacityRequest(ctx context.Context, request GetOccCapacityRequestRequest) (response GetOccCapacityRequestResponse, err error)
    func (client CapacityManagementClient) GetOccCustomerGroup(ctx context.Context, request GetOccCustomerGroupRequest) (response GetOccCustomerGroupResponse, err error)
    func (client CapacityManagementClient) ListInternalNamespaceOccOverviews(ctx context.Context, request ListInternalNamespaceOccOverviewsRequest) (response ListInternalNamespaceOccOverviewsResponse, err error)
    func (client CapacityManagementClient) ListInternalOccHandoverResourceBlockDetails(ctx context.Context, request ListInternalOccHandoverResourceBlockDetailsRequest) (response ListInternalOccHandoverResourceBlockDetailsResponse, err error)
    func (client CapacityManagementClient) ListInternalOccHandoverResourceBlocks(ctx context.Context, request ListInternalOccHandoverResourceBlocksRequest) (response ListInternalOccHandoverResourceBlocksResponse, err error)
    func (client CapacityManagementClient) ListOccAvailabilities(ctx context.Context, request ListOccAvailabilitiesRequest) (response ListOccAvailabilitiesResponse, err error)
    func (client CapacityManagementClient) ListOccAvailabilityCatalogs(ctx context.Context, request ListOccAvailabilityCatalogsRequest) (response ListOccAvailabilityCatalogsResponse, err error)
    func (client CapacityManagementClient) ListOccAvailabilityCatalogsInternal(ctx context.Context, request ListOccAvailabilityCatalogsInternalRequest) (response ListOccAvailabilityCatalogsInternalResponse, err error)
    func (client CapacityManagementClient) ListOccCapacityRequests(ctx context.Context, request ListOccCapacityRequestsRequest) (response ListOccCapacityRequestsResponse, err error)
    func (client CapacityManagementClient) ListOccCapacityRequestsInternal(ctx context.Context, request ListOccCapacityRequestsInternalRequest) (response ListOccCapacityRequestsInternalResponse, err error)
    func (client CapacityManagementClient) ListOccCustomerGroups(ctx context.Context, request ListOccCustomerGroupsRequest) (response ListOccCustomerGroupsResponse, err error)
    func (client CapacityManagementClient) ListOccHandoverResourceBlockDetails(ctx context.Context, request ListOccHandoverResourceBlockDetailsRequest) (response ListOccHandoverResourceBlockDetailsResponse, err error)
    func (client CapacityManagementClient) ListOccHandoverResourceBlocks(ctx context.Context, request ListOccHandoverResourceBlocksRequest) (response ListOccHandoverResourceBlocksResponse, err error)
    func (client CapacityManagementClient) ListOccOverviews(ctx context.Context, request ListOccOverviewsRequest) (response ListOccOverviewsResponse, err error)
    func (client CapacityManagementClient) PatchInternalOccCapacityRequest(ctx context.Context, request PatchInternalOccCapacityRequestRequest) (response PatchInternalOccCapacityRequestResponse, err error)
    func (client CapacityManagementClient) PatchOccCapacityRequest(ctx context.Context, request PatchOccCapacityRequestRequest) (response PatchOccCapacityRequestResponse, err error)
    func (client CapacityManagementClient) PublishOccAvailabilityCatalog(ctx context.Context, request PublishOccAvailabilityCatalogRequest) (response PublishOccAvailabilityCatalogResponse, err error)
    func (client *CapacityManagementClient) SetRegion(region string)
    func (client CapacityManagementClient) UpdateInternalOccCapacityRequest(ctx context.Context, request UpdateInternalOccCapacityRequestRequest) (response UpdateInternalOccCapacityRequestResponse, err error)
    func (client CapacityManagementClient) UpdateOccAvailabilityCatalog(ctx context.Context, request UpdateOccAvailabilityCatalogRequest) (response UpdateOccAvailabilityCatalogResponse, err error)
    func (client CapacityManagementClient) UpdateOccCapacityRequest(ctx context.Context, request UpdateOccCapacityRequestRequest) (response UpdateOccCapacityRequestResponse, err error)
    func (client CapacityManagementClient) UpdateOccCustomer(ctx context.Context, request UpdateOccCustomerRequest) (response UpdateOccCustomerResponse, err error)
    func (client CapacityManagementClient) UpdateOccCustomerGroup(ctx context.Context, request UpdateOccCustomerGroupRequest) (response UpdateOccCustomerGroupResponse, err error)
type CreateOccAvailabilityCatalogDetails
    func (m CreateOccAvailabilityCatalogDetails) String() string
    func (m CreateOccAvailabilityCatalogDetails) ValidateEnumValue() (bool, error)
type CreateOccAvailabilityCatalogRequest
    func (request CreateOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOccAvailabilityCatalogRequest) String() string
    func (request CreateOccAvailabilityCatalogRequest) ValidateEnumValue() (bool, error)
type CreateOccAvailabilityCatalogResponse
    func (response CreateOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
    func (response CreateOccAvailabilityCatalogResponse) String() string
type CreateOccCapacityRequestDetails
    func (m CreateOccCapacityRequestDetails) String() string
    func (m CreateOccCapacityRequestDetails) ValidateEnumValue() (bool, error)
type CreateOccCapacityRequestDetailsRequestStateEnum
    func GetCreateOccCapacityRequestDetailsRequestStateEnumValues() []CreateOccCapacityRequestDetailsRequestStateEnum
    func GetMappingCreateOccCapacityRequestDetailsRequestStateEnum(val string) (CreateOccCapacityRequestDetailsRequestStateEnum, bool)
type CreateOccCapacityRequestRequest
    func (request CreateOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOccCapacityRequestRequest) String() string
    func (request CreateOccCapacityRequestRequest) ValidateEnumValue() (bool, error)
type CreateOccCapacityRequestResponse
    func (response CreateOccCapacityRequestResponse) HTTPResponse() *http.Response
    func (response CreateOccCapacityRequestResponse) String() string
type CreateOccCustomerDetails
    func (m CreateOccCustomerDetails) String() string
    func (m CreateOccCustomerDetails) ValidateEnumValue() (bool, error)
type CreateOccCustomerDetailsStatusEnum
    func GetCreateOccCustomerDetailsStatusEnumValues() []CreateOccCustomerDetailsStatusEnum
    func GetMappingCreateOccCustomerDetailsStatusEnum(val string) (CreateOccCustomerDetailsStatusEnum, bool)
type CreateOccCustomerGroupDetails
    func (m CreateOccCustomerGroupDetails) String() string
    func (m CreateOccCustomerGroupDetails) ValidateEnumValue() (bool, error)
type CreateOccCustomerGroupDetailsStatusEnum
    func GetCreateOccCustomerGroupDetailsStatusEnumValues() []CreateOccCustomerGroupDetailsStatusEnum
    func GetMappingCreateOccCustomerGroupDetailsStatusEnum(val string) (CreateOccCustomerGroupDetailsStatusEnum, bool)
type CreateOccCustomerGroupRequest
    func (request CreateOccCustomerGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOccCustomerGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOccCustomerGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOccCustomerGroupRequest) String() string
    func (request CreateOccCustomerGroupRequest) ValidateEnumValue() (bool, error)
type CreateOccCustomerGroupResponse
    func (response CreateOccCustomerGroupResponse) HTTPResponse() *http.Response
    func (response CreateOccCustomerGroupResponse) String() string
type CreateOccCustomerRequest
    func (request CreateOccCustomerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOccCustomerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOccCustomerRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOccCustomerRequest) String() string
    func (request CreateOccCustomerRequest) ValidateEnumValue() (bool, error)
type CreateOccCustomerResponse
    func (response CreateOccCustomerResponse) HTTPResponse() *http.Response
    func (response CreateOccCustomerResponse) String() string
type DeleteOccAvailabilityCatalogRequest
    func (request DeleteOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOccAvailabilityCatalogRequest) String() string
    func (request DeleteOccAvailabilityCatalogRequest) ValidateEnumValue() (bool, error)
type DeleteOccAvailabilityCatalogResponse
    func (response DeleteOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
    func (response DeleteOccAvailabilityCatalogResponse) String() string
type DeleteOccCapacityRequestRequest
    func (request DeleteOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOccCapacityRequestRequest) String() string
    func (request DeleteOccCapacityRequestRequest) ValidateEnumValue() (bool, error)
type DeleteOccCapacityRequestResponse
    func (response DeleteOccCapacityRequestResponse) HTTPResponse() *http.Response
    func (response DeleteOccCapacityRequestResponse) String() string
type DeleteOccCustomerGroupRequest
    func (request DeleteOccCustomerGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOccCustomerGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOccCustomerGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOccCustomerGroupRequest) String() string
    func (request DeleteOccCustomerGroupRequest) ValidateEnumValue() (bool, error)
type DeleteOccCustomerGroupResponse
    func (response DeleteOccCustomerGroupResponse) HTTPResponse() *http.Response
    func (response DeleteOccCustomerGroupResponse) String() string
type DeleteOccCustomerRequest
    func (request DeleteOccCustomerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOccCustomerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOccCustomerRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOccCustomerRequest) String() string
    func (request DeleteOccCustomerRequest) ValidateEnumValue() (bool, error)
type DeleteOccCustomerResponse
    func (response DeleteOccCustomerResponse) HTTPResponse() *http.Response
    func (response DeleteOccCustomerResponse) String() string
type GetOccAvailabilityCatalogContentRequest
    func (request GetOccAvailabilityCatalogContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOccAvailabilityCatalogContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOccAvailabilityCatalogContentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOccAvailabilityCatalogContentRequest) String() string
    func (request GetOccAvailabilityCatalogContentRequest) ValidateEnumValue() (bool, error)
type GetOccAvailabilityCatalogContentResponse
    func (response GetOccAvailabilityCatalogContentResponse) HTTPResponse() *http.Response
    func (response GetOccAvailabilityCatalogContentResponse) String() string
type GetOccAvailabilityCatalogRequest
    func (request GetOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOccAvailabilityCatalogRequest) String() string
    func (request GetOccAvailabilityCatalogRequest) ValidateEnumValue() (bool, error)
type GetOccAvailabilityCatalogResponse
    func (response GetOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
    func (response GetOccAvailabilityCatalogResponse) String() string
type GetOccCapacityRequestRequest
    func (request GetOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOccCapacityRequestRequest) String() string
    func (request GetOccCapacityRequestRequest) ValidateEnumValue() (bool, error)
type GetOccCapacityRequestResponse
    func (response GetOccCapacityRequestResponse) HTTPResponse() *http.Response
    func (response GetOccCapacityRequestResponse) String() string
type GetOccCustomerGroupRequest
    func (request GetOccCustomerGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOccCustomerGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOccCustomerGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOccCustomerGroupRequest) String() string
    func (request GetOccCustomerGroupRequest) ValidateEnumValue() (bool, error)
type GetOccCustomerGroupResponse
    func (response GetOccCustomerGroupResponse) HTTPResponse() *http.Response
    func (response GetOccCustomerGroupResponse) String() string
type ListInternalNamespaceOccOverviewsNamespaceEnum
    func GetListInternalNamespaceOccOverviewsNamespaceEnumValues() []ListInternalNamespaceOccOverviewsNamespaceEnum
    func GetMappingListInternalNamespaceOccOverviewsNamespaceEnum(val string) (ListInternalNamespaceOccOverviewsNamespaceEnum, bool)
type ListInternalNamespaceOccOverviewsRequest
    func (request ListInternalNamespaceOccOverviewsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListInternalNamespaceOccOverviewsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListInternalNamespaceOccOverviewsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListInternalNamespaceOccOverviewsRequest) String() string
    func (request ListInternalNamespaceOccOverviewsRequest) ValidateEnumValue() (bool, error)
type ListInternalNamespaceOccOverviewsResponse
    func (response ListInternalNamespaceOccOverviewsResponse) HTTPResponse() *http.Response
    func (response ListInternalNamespaceOccOverviewsResponse) String() string
type ListInternalNamespaceOccOverviewsSortByEnum
    func GetListInternalNamespaceOccOverviewsSortByEnumValues() []ListInternalNamespaceOccOverviewsSortByEnum
    func GetMappingListInternalNamespaceOccOverviewsSortByEnum(val string) (ListInternalNamespaceOccOverviewsSortByEnum, bool)
type ListInternalNamespaceOccOverviewsSortOrderEnum
    func GetListInternalNamespaceOccOverviewsSortOrderEnumValues() []ListInternalNamespaceOccOverviewsSortOrderEnum
    func GetMappingListInternalNamespaceOccOverviewsSortOrderEnum(val string) (ListInternalNamespaceOccOverviewsSortOrderEnum, bool)
type ListInternalOccHandoverResourceBlockDetailsRequest
    func (request ListInternalOccHandoverResourceBlockDetailsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListInternalOccHandoverResourceBlockDetailsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListInternalOccHandoverResourceBlockDetailsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListInternalOccHandoverResourceBlockDetailsRequest) String() string
    func (request ListInternalOccHandoverResourceBlockDetailsRequest) ValidateEnumValue() (bool, error)
type ListInternalOccHandoverResourceBlockDetailsResponse
    func (response ListInternalOccHandoverResourceBlockDetailsResponse) HTTPResponse() *http.Response
    func (response ListInternalOccHandoverResourceBlockDetailsResponse) String() string
type ListInternalOccHandoverResourceBlockDetailsSortByEnum
    func GetListInternalOccHandoverResourceBlockDetailsSortByEnumValues() []ListInternalOccHandoverResourceBlockDetailsSortByEnum
    func GetMappingListInternalOccHandoverResourceBlockDetailsSortByEnum(val string) (ListInternalOccHandoverResourceBlockDetailsSortByEnum, bool)
type ListInternalOccHandoverResourceBlockDetailsSortOrderEnum
    func GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumValues() []ListInternalOccHandoverResourceBlockDetailsSortOrderEnum
    func GetMappingListInternalOccHandoverResourceBlockDetailsSortOrderEnum(val string) (ListInternalOccHandoverResourceBlockDetailsSortOrderEnum, bool)
type ListInternalOccHandoverResourceBlocksNamespaceEnum
    func GetListInternalOccHandoverResourceBlocksNamespaceEnumValues() []ListInternalOccHandoverResourceBlocksNamespaceEnum
    func GetMappingListInternalOccHandoverResourceBlocksNamespaceEnum(val string) (ListInternalOccHandoverResourceBlocksNamespaceEnum, bool)
type ListInternalOccHandoverResourceBlocksRequest
    func (request ListInternalOccHandoverResourceBlocksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListInternalOccHandoverResourceBlocksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListInternalOccHandoverResourceBlocksRequest) RetryPolicy() *common.RetryPolicy
    func (request ListInternalOccHandoverResourceBlocksRequest) String() string
    func (request ListInternalOccHandoverResourceBlocksRequest) ValidateEnumValue() (bool, error)
type ListInternalOccHandoverResourceBlocksResponse
    func (response ListInternalOccHandoverResourceBlocksResponse) HTTPResponse() *http.Response
    func (response ListInternalOccHandoverResourceBlocksResponse) String() string
type ListInternalOccHandoverResourceBlocksSortByEnum
    func GetListInternalOccHandoverResourceBlocksSortByEnumValues() []ListInternalOccHandoverResourceBlocksSortByEnum
    func GetMappingListInternalOccHandoverResourceBlocksSortByEnum(val string) (ListInternalOccHandoverResourceBlocksSortByEnum, bool)
type ListInternalOccHandoverResourceBlocksSortOrderEnum
    func GetListInternalOccHandoverResourceBlocksSortOrderEnumValues() []ListInternalOccHandoverResourceBlocksSortOrderEnum
    func GetMappingListInternalOccHandoverResourceBlocksSortOrderEnum(val string) (ListInternalOccHandoverResourceBlocksSortOrderEnum, bool)
type ListOccAvailabilitiesRequest
    func (request ListOccAvailabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccAvailabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccAvailabilitiesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccAvailabilitiesRequest) String() string
    func (request ListOccAvailabilitiesRequest) ValidateEnumValue() (bool, error)
type ListOccAvailabilitiesResponse
    func (response ListOccAvailabilitiesResponse) HTTPResponse() *http.Response
    func (response ListOccAvailabilitiesResponse) String() string
type ListOccAvailabilitiesSortByEnum
    func GetListOccAvailabilitiesSortByEnumValues() []ListOccAvailabilitiesSortByEnum
    func GetMappingListOccAvailabilitiesSortByEnum(val string) (ListOccAvailabilitiesSortByEnum, bool)
type ListOccAvailabilitiesSortOrderEnum
    func GetListOccAvailabilitiesSortOrderEnumValues() []ListOccAvailabilitiesSortOrderEnum
    func GetMappingListOccAvailabilitiesSortOrderEnum(val string) (ListOccAvailabilitiesSortOrderEnum, bool)
type ListOccAvailabilityCatalogsInternalNamespaceEnum
    func GetListOccAvailabilityCatalogsInternalNamespaceEnumValues() []ListOccAvailabilityCatalogsInternalNamespaceEnum
    func GetMappingListOccAvailabilityCatalogsInternalNamespaceEnum(val string) (ListOccAvailabilityCatalogsInternalNamespaceEnum, bool)
type ListOccAvailabilityCatalogsInternalRequest
    func (request ListOccAvailabilityCatalogsInternalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccAvailabilityCatalogsInternalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccAvailabilityCatalogsInternalRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccAvailabilityCatalogsInternalRequest) String() string
    func (request ListOccAvailabilityCatalogsInternalRequest) ValidateEnumValue() (bool, error)
type ListOccAvailabilityCatalogsInternalResponse
    func (response ListOccAvailabilityCatalogsInternalResponse) HTTPResponse() *http.Response
    func (response ListOccAvailabilityCatalogsInternalResponse) String() string
type ListOccAvailabilityCatalogsInternalSortByEnum
    func GetListOccAvailabilityCatalogsInternalSortByEnumValues() []ListOccAvailabilityCatalogsInternalSortByEnum
    func GetMappingListOccAvailabilityCatalogsInternalSortByEnum(val string) (ListOccAvailabilityCatalogsInternalSortByEnum, bool)
type ListOccAvailabilityCatalogsInternalSortOrderEnum
    func GetListOccAvailabilityCatalogsInternalSortOrderEnumValues() []ListOccAvailabilityCatalogsInternalSortOrderEnum
    func GetMappingListOccAvailabilityCatalogsInternalSortOrderEnum(val string) (ListOccAvailabilityCatalogsInternalSortOrderEnum, bool)
type ListOccAvailabilityCatalogsNamespaceEnum
    func GetListOccAvailabilityCatalogsNamespaceEnumValues() []ListOccAvailabilityCatalogsNamespaceEnum
    func GetMappingListOccAvailabilityCatalogsNamespaceEnum(val string) (ListOccAvailabilityCatalogsNamespaceEnum, bool)
type ListOccAvailabilityCatalogsRequest
    func (request ListOccAvailabilityCatalogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccAvailabilityCatalogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccAvailabilityCatalogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccAvailabilityCatalogsRequest) String() string
    func (request ListOccAvailabilityCatalogsRequest) ValidateEnumValue() (bool, error)
type ListOccAvailabilityCatalogsResponse
    func (response ListOccAvailabilityCatalogsResponse) HTTPResponse() *http.Response
    func (response ListOccAvailabilityCatalogsResponse) String() string
type ListOccAvailabilityCatalogsSortByEnum
    func GetListOccAvailabilityCatalogsSortByEnumValues() []ListOccAvailabilityCatalogsSortByEnum
    func GetMappingListOccAvailabilityCatalogsSortByEnum(val string) (ListOccAvailabilityCatalogsSortByEnum, bool)
type ListOccAvailabilityCatalogsSortOrderEnum
    func GetListOccAvailabilityCatalogsSortOrderEnumValues() []ListOccAvailabilityCatalogsSortOrderEnum
    func GetMappingListOccAvailabilityCatalogsSortOrderEnum(val string) (ListOccAvailabilityCatalogsSortOrderEnum, bool)
type ListOccCapacityRequestsInternalNamespaceEnum
    func GetListOccCapacityRequestsInternalNamespaceEnumValues() []ListOccCapacityRequestsInternalNamespaceEnum
    func GetMappingListOccCapacityRequestsInternalNamespaceEnum(val string) (ListOccCapacityRequestsInternalNamespaceEnum, bool)
type ListOccCapacityRequestsInternalRequest
    func (request ListOccCapacityRequestsInternalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccCapacityRequestsInternalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccCapacityRequestsInternalRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccCapacityRequestsInternalRequest) String() string
    func (request ListOccCapacityRequestsInternalRequest) ValidateEnumValue() (bool, error)
type ListOccCapacityRequestsInternalResponse
    func (response ListOccCapacityRequestsInternalResponse) HTTPResponse() *http.Response
    func (response ListOccCapacityRequestsInternalResponse) String() string
type ListOccCapacityRequestsInternalSortByEnum
    func GetListOccCapacityRequestsInternalSortByEnumValues() []ListOccCapacityRequestsInternalSortByEnum
    func GetMappingListOccCapacityRequestsInternalSortByEnum(val string) (ListOccCapacityRequestsInternalSortByEnum, bool)
type ListOccCapacityRequestsInternalSortOrderEnum
    func GetListOccCapacityRequestsInternalSortOrderEnumValues() []ListOccCapacityRequestsInternalSortOrderEnum
    func GetMappingListOccCapacityRequestsInternalSortOrderEnum(val string) (ListOccCapacityRequestsInternalSortOrderEnum, bool)
type ListOccCapacityRequestsNamespaceEnum
    func GetListOccCapacityRequestsNamespaceEnumValues() []ListOccCapacityRequestsNamespaceEnum
    func GetMappingListOccCapacityRequestsNamespaceEnum(val string) (ListOccCapacityRequestsNamespaceEnum, bool)
type ListOccCapacityRequestsRequest
    func (request ListOccCapacityRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccCapacityRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccCapacityRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccCapacityRequestsRequest) String() string
    func (request ListOccCapacityRequestsRequest) ValidateEnumValue() (bool, error)
type ListOccCapacityRequestsResponse
    func (response ListOccCapacityRequestsResponse) HTTPResponse() *http.Response
    func (response ListOccCapacityRequestsResponse) String() string
type ListOccCapacityRequestsSortByEnum
    func GetListOccCapacityRequestsSortByEnumValues() []ListOccCapacityRequestsSortByEnum
    func GetMappingListOccCapacityRequestsSortByEnum(val string) (ListOccCapacityRequestsSortByEnum, bool)
type ListOccCapacityRequestsSortOrderEnum
    func GetListOccCapacityRequestsSortOrderEnumValues() []ListOccCapacityRequestsSortOrderEnum
    func GetMappingListOccCapacityRequestsSortOrderEnum(val string) (ListOccCapacityRequestsSortOrderEnum, bool)
type ListOccCustomerGroupsRequest
    func (request ListOccCustomerGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccCustomerGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccCustomerGroupsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccCustomerGroupsRequest) String() string
    func (request ListOccCustomerGroupsRequest) ValidateEnumValue() (bool, error)
type ListOccCustomerGroupsResponse
    func (response ListOccCustomerGroupsResponse) HTTPResponse() *http.Response
    func (response ListOccCustomerGroupsResponse) String() string
type ListOccCustomerGroupsSortByEnum
    func GetListOccCustomerGroupsSortByEnumValues() []ListOccCustomerGroupsSortByEnum
    func GetMappingListOccCustomerGroupsSortByEnum(val string) (ListOccCustomerGroupsSortByEnum, bool)
type ListOccCustomerGroupsSortOrderEnum
    func GetListOccCustomerGroupsSortOrderEnumValues() []ListOccCustomerGroupsSortOrderEnum
    func GetMappingListOccCustomerGroupsSortOrderEnum(val string) (ListOccCustomerGroupsSortOrderEnum, bool)
type ListOccHandoverResourceBlockDetailsRequest
    func (request ListOccHandoverResourceBlockDetailsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccHandoverResourceBlockDetailsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccHandoverResourceBlockDetailsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccHandoverResourceBlockDetailsRequest) String() string
    func (request ListOccHandoverResourceBlockDetailsRequest) ValidateEnumValue() (bool, error)
type ListOccHandoverResourceBlockDetailsResponse
    func (response ListOccHandoverResourceBlockDetailsResponse) HTTPResponse() *http.Response
    func (response ListOccHandoverResourceBlockDetailsResponse) String() string
type ListOccHandoverResourceBlockDetailsSortByEnum
    func GetListOccHandoverResourceBlockDetailsSortByEnumValues() []ListOccHandoverResourceBlockDetailsSortByEnum
    func GetMappingListOccHandoverResourceBlockDetailsSortByEnum(val string) (ListOccHandoverResourceBlockDetailsSortByEnum, bool)
type ListOccHandoverResourceBlockDetailsSortOrderEnum
    func GetListOccHandoverResourceBlockDetailsSortOrderEnumValues() []ListOccHandoverResourceBlockDetailsSortOrderEnum
    func GetMappingListOccHandoverResourceBlockDetailsSortOrderEnum(val string) (ListOccHandoverResourceBlockDetailsSortOrderEnum, bool)
type ListOccHandoverResourceBlocksNamespaceEnum
    func GetListOccHandoverResourceBlocksNamespaceEnumValues() []ListOccHandoverResourceBlocksNamespaceEnum
    func GetMappingListOccHandoverResourceBlocksNamespaceEnum(val string) (ListOccHandoverResourceBlocksNamespaceEnum, bool)
type ListOccHandoverResourceBlocksRequest
    func (request ListOccHandoverResourceBlocksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccHandoverResourceBlocksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccHandoverResourceBlocksRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccHandoverResourceBlocksRequest) String() string
    func (request ListOccHandoverResourceBlocksRequest) ValidateEnumValue() (bool, error)
type ListOccHandoverResourceBlocksResponse
    func (response ListOccHandoverResourceBlocksResponse) HTTPResponse() *http.Response
    func (response ListOccHandoverResourceBlocksResponse) String() string
type ListOccHandoverResourceBlocksSortByEnum
    func GetListOccHandoverResourceBlocksSortByEnumValues() []ListOccHandoverResourceBlocksSortByEnum
    func GetMappingListOccHandoverResourceBlocksSortByEnum(val string) (ListOccHandoverResourceBlocksSortByEnum, bool)
type ListOccHandoverResourceBlocksSortOrderEnum
    func GetListOccHandoverResourceBlocksSortOrderEnumValues() []ListOccHandoverResourceBlocksSortOrderEnum
    func GetMappingListOccHandoverResourceBlocksSortOrderEnum(val string) (ListOccHandoverResourceBlocksSortOrderEnum, bool)
type ListOccOverviewsNamespaceEnum
    func GetListOccOverviewsNamespaceEnumValues() []ListOccOverviewsNamespaceEnum
    func GetMappingListOccOverviewsNamespaceEnum(val string) (ListOccOverviewsNamespaceEnum, bool)
type ListOccOverviewsRequest
    func (request ListOccOverviewsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOccOverviewsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOccOverviewsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOccOverviewsRequest) String() string
    func (request ListOccOverviewsRequest) ValidateEnumValue() (bool, error)
type ListOccOverviewsResponse
    func (response ListOccOverviewsResponse) HTTPResponse() *http.Response
    func (response ListOccOverviewsResponse) String() string
type ListOccOverviewsSortByEnum
    func GetListOccOverviewsSortByEnumValues() []ListOccOverviewsSortByEnum
    func GetMappingListOccOverviewsSortByEnum(val string) (ListOccOverviewsSortByEnum, bool)
type ListOccOverviewsSortOrderEnum
    func GetListOccOverviewsSortOrderEnumValues() []ListOccOverviewsSortOrderEnum
    func GetMappingListOccOverviewsSortOrderEnum(val string) (ListOccOverviewsSortOrderEnum, bool)
type MetadataDetails
    func (m MetadataDetails) String() string
    func (m MetadataDetails) ValidateEnumValue() (bool, error)
type MetadataDetailsFormatVersionEnum
    func GetMappingMetadataDetailsFormatVersionEnum(val string) (MetadataDetailsFormatVersionEnum, bool)
    func GetMetadataDetailsFormatVersionEnumValues() []MetadataDetailsFormatVersionEnum
type NamespaceEnum
    func GetMappingNamespaceEnum(val string) (NamespaceEnum, bool)
    func GetNamespaceEnumValues() []NamespaceEnum
type OccAvailabilityCatalog
    func (m OccAvailabilityCatalog) String() string
    func (m OccAvailabilityCatalog) ValidateEnumValue() (bool, error)
type OccAvailabilityCatalogCatalogStateEnum
    func GetMappingOccAvailabilityCatalogCatalogStateEnum(val string) (OccAvailabilityCatalogCatalogStateEnum, bool)
    func GetOccAvailabilityCatalogCatalogStateEnumValues() []OccAvailabilityCatalogCatalogStateEnum
type OccAvailabilityCatalogCollection
    func (m OccAvailabilityCatalogCollection) String() string
    func (m OccAvailabilityCatalogCollection) ValidateEnumValue() (bool, error)
type OccAvailabilityCatalogLifecycleStateEnum
    func GetMappingOccAvailabilityCatalogLifecycleStateEnum(val string) (OccAvailabilityCatalogLifecycleStateEnum, bool)
    func GetOccAvailabilityCatalogLifecycleStateEnumValues() []OccAvailabilityCatalogLifecycleStateEnum
type OccAvailabilityCatalogSummary
    func (m OccAvailabilityCatalogSummary) String() string
    func (m OccAvailabilityCatalogSummary) ValidateEnumValue() (bool, error)
type OccAvailabilityCollection
    func (m OccAvailabilityCollection) String() string
    func (m OccAvailabilityCollection) ValidateEnumValue() (bool, error)
type OccAvailabilitySummary
    func (m OccAvailabilitySummary) String() string
    func (m OccAvailabilitySummary) ValidateEnumValue() (bool, error)
type OccCapacityRequest
    func (m OccCapacityRequest) String() string
    func (m OccCapacityRequest) ValidateEnumValue() (bool, error)
type OccCapacityRequestBaseDetails
    func (m OccCapacityRequestBaseDetails) String() string
    func (m OccCapacityRequestBaseDetails) ValidateEnumValue() (bool, error)
type OccCapacityRequestCollection
    func (m OccCapacityRequestCollection) String() string
    func (m OccCapacityRequestCollection) ValidateEnumValue() (bool, error)
type OccCapacityRequestLifecycleStateEnum
    func GetMappingOccCapacityRequestLifecycleStateEnum(val string) (OccCapacityRequestLifecycleStateEnum, bool)
    func GetOccCapacityRequestLifecycleStateEnumValues() []OccCapacityRequestLifecycleStateEnum
type OccCapacityRequestRequestStateEnum
    func GetMappingOccCapacityRequestRequestStateEnum(val string) (OccCapacityRequestRequestStateEnum, bool)
    func GetOccCapacityRequestRequestStateEnumValues() []OccCapacityRequestRequestStateEnum
type OccCapacityRequestRequestTypeEnum
    func GetMappingOccCapacityRequestRequestTypeEnum(val string) (OccCapacityRequestRequestTypeEnum, bool)
    func GetOccCapacityRequestRequestTypeEnumValues() []OccCapacityRequestRequestTypeEnum
type OccCapacityRequestSummary
    func (m OccCapacityRequestSummary) String() string
    func (m OccCapacityRequestSummary) ValidateEnumValue() (bool, error)
type OccCustomer
    func (m OccCustomer) String() string
    func (m OccCustomer) ValidateEnumValue() (bool, error)
type OccCustomerGroup
    func (m OccCustomerGroup) String() string
    func (m OccCustomerGroup) ValidateEnumValue() (bool, error)
type OccCustomerGroupCollection
    func (m OccCustomerGroupCollection) String() string
    func (m OccCustomerGroupCollection) ValidateEnumValue() (bool, error)
type OccCustomerGroupLifecycleStateEnum
    func GetMappingOccCustomerGroupLifecycleStateEnum(val string) (OccCustomerGroupLifecycleStateEnum, bool)
    func GetOccCustomerGroupLifecycleStateEnumValues() []OccCustomerGroupLifecycleStateEnum
type OccCustomerGroupStatusEnum
    func GetMappingOccCustomerGroupStatusEnum(val string) (OccCustomerGroupStatusEnum, bool)
    func GetOccCustomerGroupStatusEnumValues() []OccCustomerGroupStatusEnum
type OccCustomerGroupSummary
    func (m OccCustomerGroupSummary) String() string
    func (m OccCustomerGroupSummary) ValidateEnumValue() (bool, error)
type OccCustomerStatusEnum
    func GetMappingOccCustomerStatusEnum(val string) (OccCustomerStatusEnum, bool)
    func GetOccCustomerStatusEnumValues() []OccCustomerStatusEnum
type OccHandoverResourceBlockCollection
    func (m OccHandoverResourceBlockCollection) String() string
    func (m OccHandoverResourceBlockCollection) ValidateEnumValue() (bool, error)
type OccHandoverResourceBlockDetailCollection
    func (m OccHandoverResourceBlockDetailCollection) String() string
    func (m OccHandoverResourceBlockDetailCollection) ValidateEnumValue() (bool, error)
type OccHandoverResourceBlockDetailSummary
    func (m OccHandoverResourceBlockDetailSummary) String() string
    func (m OccHandoverResourceBlockDetailSummary) ValidateEnumValue() (bool, error)
type OccHandoverResourceBlockSummary
    func (m OccHandoverResourceBlockSummary) String() string
    func (m OccHandoverResourceBlockSummary) ValidateEnumValue() (bool, error)
type OccOverviewCollection
    func (m OccOverviewCollection) String() string
    func (m OccOverviewCollection) ValidateEnumValue() (bool, error)
type OccOverviewSummary
    func (m OccOverviewSummary) String() string
    func (m OccOverviewSummary) ValidateEnumValue() (bool, error)
type PatchInsertInstruction
    func (m PatchInsertInstruction) GetSelection() *string
    func (m PatchInsertInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchInsertInstruction) String() string
    func (m PatchInsertInstruction) ValidateEnumValue() (bool, error)
type PatchInsertInstructionPositionEnum
    func GetMappingPatchInsertInstructionPositionEnum(val string) (PatchInsertInstructionPositionEnum, bool)
    func GetPatchInsertInstructionPositionEnumValues() []PatchInsertInstructionPositionEnum
type PatchInsertMultipleInstruction
    func (m PatchInsertMultipleInstruction) GetSelection() *string
    func (m PatchInsertMultipleInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchInsertMultipleInstruction) String() string
    func (m PatchInsertMultipleInstruction) ValidateEnumValue() (bool, error)
type PatchInsertMultipleInstructionPositionEnum
    func GetMappingPatchInsertMultipleInstructionPositionEnum(val string) (PatchInsertMultipleInstructionPositionEnum, bool)
    func GetPatchInsertMultipleInstructionPositionEnumValues() []PatchInsertMultipleInstructionPositionEnum
type PatchInstruction
type PatchInstructionOperationEnum
    func GetMappingPatchInstructionOperationEnum(val string) (PatchInstructionOperationEnum, bool)
    func GetPatchInstructionOperationEnumValues() []PatchInstructionOperationEnum
type PatchInternalOccCapacityRequestRequest
    func (request PatchInternalOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PatchInternalOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PatchInternalOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request PatchInternalOccCapacityRequestRequest) String() string
    func (request PatchInternalOccCapacityRequestRequest) ValidateEnumValue() (bool, error)
type PatchInternalOccCapacityRequestResponse
    func (response PatchInternalOccCapacityRequestResponse) HTTPResponse() *http.Response
    func (response PatchInternalOccCapacityRequestResponse) String() string
type PatchMergeInstruction
    func (m PatchMergeInstruction) GetSelection() *string
    func (m PatchMergeInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchMergeInstruction) String() string
    func (m PatchMergeInstruction) ValidateEnumValue() (bool, error)
type PatchMoveInstruction
    func (m PatchMoveInstruction) GetSelection() *string
    func (m PatchMoveInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchMoveInstruction) String() string
    func (m PatchMoveInstruction) ValidateEnumValue() (bool, error)
type PatchMoveInstructionPositionEnum
    func GetMappingPatchMoveInstructionPositionEnum(val string) (PatchMoveInstructionPositionEnum, bool)
    func GetPatchMoveInstructionPositionEnumValues() []PatchMoveInstructionPositionEnum
type PatchOccCapacityRequestDetails
    func (m PatchOccCapacityRequestDetails) String() string
    func (m *PatchOccCapacityRequestDetails) UnmarshalJSON(data []byte) (e error)
    func (m PatchOccCapacityRequestDetails) ValidateEnumValue() (bool, error)
type PatchOccCapacityRequestRequest
    func (request PatchOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PatchOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PatchOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request PatchOccCapacityRequestRequest) String() string
    func (request PatchOccCapacityRequestRequest) ValidateEnumValue() (bool, error)
type PatchOccCapacityRequestResponse
    func (response PatchOccCapacityRequestResponse) HTTPResponse() *http.Response
    func (response PatchOccCapacityRequestResponse) String() string
type PatchProhibitInstruction
    func (m PatchProhibitInstruction) GetSelection() *string
    func (m PatchProhibitInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchProhibitInstruction) String() string
    func (m PatchProhibitInstruction) ValidateEnumValue() (bool, error)
type PatchRemoveInstruction
    func (m PatchRemoveInstruction) GetSelection() *string
    func (m PatchRemoveInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchRemoveInstruction) String() string
    func (m PatchRemoveInstruction) ValidateEnumValue() (bool, error)
type PatchReplaceInstruction
    func (m PatchReplaceInstruction) GetSelection() *string
    func (m PatchReplaceInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchReplaceInstruction) String() string
    func (m PatchReplaceInstruction) ValidateEnumValue() (bool, error)
type PatchRequireInstruction
    func (m PatchRequireInstruction) GetSelection() *string
    func (m PatchRequireInstruction) MarshalJSON() (buff []byte, e error)
    func (m PatchRequireInstruction) String() string
    func (m PatchRequireInstruction) ValidateEnumValue() (bool, error)
type PlacementDetails
    func (m PlacementDetails) String() string
    func (m PlacementDetails) ValidateEnumValue() (bool, error)
type PublishOccAvailabilityCatalogRequest
    func (request PublishOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PublishOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PublishOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
    func (request PublishOccAvailabilityCatalogRequest) String() string
    func (request PublishOccAvailabilityCatalogRequest) ValidateEnumValue() (bool, error)
type PublishOccAvailabilityCatalogResponse
    func (response PublishOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
    func (response PublishOccAvailabilityCatalogResponse) String() string
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateInternalOccCapacityRequestDetails
    func (m UpdateInternalOccCapacityRequestDetails) String() string
    func (m UpdateInternalOccCapacityRequestDetails) ValidateEnumValue() (bool, error)
type UpdateInternalOccCapacityRequestDetailsRequestStateEnum
    func GetMappingUpdateInternalOccCapacityRequestDetailsRequestStateEnum(val string) (UpdateInternalOccCapacityRequestDetailsRequestStateEnum, bool)
    func GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumValues() []UpdateInternalOccCapacityRequestDetailsRequestStateEnum
type UpdateInternalOccCapacityRequestRequest
    func (request UpdateInternalOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateInternalOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateInternalOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateInternalOccCapacityRequestRequest) String() string
    func (request UpdateInternalOccCapacityRequestRequest) ValidateEnumValue() (bool, error)
type UpdateInternalOccCapacityRequestResponse
    func (response UpdateInternalOccCapacityRequestResponse) HTTPResponse() *http.Response
    func (response UpdateInternalOccCapacityRequestResponse) String() string
type UpdateOccAvailabilityCatalogDetails
    func (m UpdateOccAvailabilityCatalogDetails) String() string
    func (m UpdateOccAvailabilityCatalogDetails) ValidateEnumValue() (bool, error)
type UpdateOccAvailabilityCatalogRequest
    func (request UpdateOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOccAvailabilityCatalogRequest) String() string
    func (request UpdateOccAvailabilityCatalogRequest) ValidateEnumValue() (bool, error)
type UpdateOccAvailabilityCatalogResponse
    func (response UpdateOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
    func (response UpdateOccAvailabilityCatalogResponse) String() string
type UpdateOccCapacityRequestDetails
    func (m UpdateOccCapacityRequestDetails) String() string
    func (m UpdateOccCapacityRequestDetails) ValidateEnumValue() (bool, error)
type UpdateOccCapacityRequestDetailsRequestStateEnum
    func GetMappingUpdateOccCapacityRequestDetailsRequestStateEnum(val string) (UpdateOccCapacityRequestDetailsRequestStateEnum, bool)
    func GetUpdateOccCapacityRequestDetailsRequestStateEnumValues() []UpdateOccCapacityRequestDetailsRequestStateEnum
type UpdateOccCapacityRequestRequest
    func (request UpdateOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOccCapacityRequestRequest) String() string
    func (request UpdateOccCapacityRequestRequest) ValidateEnumValue() (bool, error)
type UpdateOccCapacityRequestResponse
    func (response UpdateOccCapacityRequestResponse) HTTPResponse() *http.Response
    func (response UpdateOccCapacityRequestResponse) String() string
type UpdateOccCustomerDetails
    func (m UpdateOccCustomerDetails) String() string
    func (m UpdateOccCustomerDetails) ValidateEnumValue() (bool, error)
type UpdateOccCustomerDetailsStatusEnum
    func GetMappingUpdateOccCustomerDetailsStatusEnum(val string) (UpdateOccCustomerDetailsStatusEnum, bool)
    func GetUpdateOccCustomerDetailsStatusEnumValues() []UpdateOccCustomerDetailsStatusEnum
type UpdateOccCustomerGroupDetails
    func (m UpdateOccCustomerGroupDetails) String() string
    func (m UpdateOccCustomerGroupDetails) ValidateEnumValue() (bool, error)
type UpdateOccCustomerGroupDetailsStatusEnum
    func GetMappingUpdateOccCustomerGroupDetailsStatusEnum(val string) (UpdateOccCustomerGroupDetailsStatusEnum, bool)
    func GetUpdateOccCustomerGroupDetailsStatusEnumValues() []UpdateOccCustomerGroupDetailsStatusEnum
type UpdateOccCustomerGroupRequest
    func (request UpdateOccCustomerGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOccCustomerGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOccCustomerGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOccCustomerGroupRequest) String() string
    func (request UpdateOccCustomerGroupRequest) ValidateEnumValue() (bool, error)
type UpdateOccCustomerGroupResponse
    func (response UpdateOccCustomerGroupResponse) HTTPResponse() *http.Response
    func (response UpdateOccCustomerGroupResponse) String() string
type UpdateOccCustomerRequest
    func (request UpdateOccCustomerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOccCustomerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOccCustomerRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOccCustomerRequest) String() string
    func (request UpdateOccCustomerRequest) ValidateEnumValue() (bool, error)
type UpdateOccCustomerResponse
    func (response UpdateOccCustomerResponse) HTTPResponse() *http.Response
    func (response UpdateOccCustomerResponse) String() string

Package files

associated_capacity_request_details.go associated_occ_handover_resource_block.go capacitymanagement_client.go create_occ_availability_catalog_details.go create_occ_availability_catalog_request_response.go create_occ_capacity_request_details.go create_occ_capacity_request_request_response.go create_occ_customer_details.go create_occ_customer_group_details.go create_occ_customer_group_request_response.go create_occ_customer_request_response.go delete_occ_availability_catalog_request_response.go delete_occ_capacity_request_request_response.go delete_occ_customer_group_request_response.go delete_occ_customer_request_response.go get_occ_availability_catalog_content_request_response.go get_occ_availability_catalog_request_response.go get_occ_capacity_request_request_response.go get_occ_customer_group_request_response.go list_internal_namespace_occ_overviews_request_response.go list_internal_occ_handover_resource_block_details_request_response.go list_internal_occ_handover_resource_blocks_request_response.go list_occ_availabilities_request_response.go list_occ_availability_catalogs_internal_request_response.go list_occ_availability_catalogs_request_response.go list_occ_capacity_requests_internal_request_response.go list_occ_capacity_requests_request_response.go list_occ_customer_groups_request_response.go list_occ_handover_resource_block_details_request_response.go list_occ_handover_resource_blocks_request_response.go list_occ_overviews_request_response.go metadata_details.go namespace.go occ_availability_catalog.go occ_availability_catalog_collection.go occ_availability_catalog_summary.go occ_availability_collection.go occ_availability_summary.go occ_capacity_request.go occ_capacity_request_base_details.go occ_capacity_request_collection.go occ_capacity_request_summary.go occ_customer.go occ_customer_group.go occ_customer_group_collection.go occ_customer_group_summary.go occ_handover_resource_block_collection.go occ_handover_resource_block_detail_collection.go occ_handover_resource_block_detail_summary.go occ_handover_resource_block_summary.go occ_overview_collection.go occ_overview_summary.go patch_insert_instruction.go patch_insert_multiple_instruction.go patch_instruction.go patch_internal_occ_capacity_request_request_response.go patch_merge_instruction.go patch_move_instruction.go patch_occ_capacity_request_details.go patch_occ_capacity_request_request_response.go patch_prohibit_instruction.go patch_remove_instruction.go patch_replace_instruction.go patch_require_instruction.go placement_details.go publish_occ_availability_catalog_request_response.go sort_order.go update_internal_occ_capacity_request_details.go update_internal_occ_capacity_request_request_response.go update_occ_availability_catalog_details.go update_occ_availability_catalog_request_response.go update_occ_capacity_request_details.go update_occ_capacity_request_request_response.go update_occ_customer_details.go update_occ_customer_group_details.go update_occ_customer_group_request_response.go update_occ_customer_request_response.go

func GetCreateOccCapacityRequestDetailsRequestStateEnumStringValues

func GetCreateOccCapacityRequestDetailsRequestStateEnumStringValues() []string

GetCreateOccCapacityRequestDetailsRequestStateEnumStringValues Enumerates the set of values in String for CreateOccCapacityRequestDetailsRequestStateEnum

func GetCreateOccCustomerDetailsStatusEnumStringValues

func GetCreateOccCustomerDetailsStatusEnumStringValues() []string

GetCreateOccCustomerDetailsStatusEnumStringValues Enumerates the set of values in String for CreateOccCustomerDetailsStatusEnum

func GetCreateOccCustomerGroupDetailsStatusEnumStringValues

func GetCreateOccCustomerGroupDetailsStatusEnumStringValues() []string

GetCreateOccCustomerGroupDetailsStatusEnumStringValues Enumerates the set of values in String for CreateOccCustomerGroupDetailsStatusEnum

func GetListInternalNamespaceOccOverviewsNamespaceEnumStringValues

func GetListInternalNamespaceOccOverviewsNamespaceEnumStringValues() []string

GetListInternalNamespaceOccOverviewsNamespaceEnumStringValues Enumerates the set of values in String for ListInternalNamespaceOccOverviewsNamespaceEnum

func GetListInternalNamespaceOccOverviewsSortByEnumStringValues

func GetListInternalNamespaceOccOverviewsSortByEnumStringValues() []string

GetListInternalNamespaceOccOverviewsSortByEnumStringValues Enumerates the set of values in String for ListInternalNamespaceOccOverviewsSortByEnum

func GetListInternalNamespaceOccOverviewsSortOrderEnumStringValues

func GetListInternalNamespaceOccOverviewsSortOrderEnumStringValues() []string

GetListInternalNamespaceOccOverviewsSortOrderEnumStringValues Enumerates the set of values in String for ListInternalNamespaceOccOverviewsSortOrderEnum

func GetListInternalOccHandoverResourceBlockDetailsSortByEnumStringValues

func GetListInternalOccHandoverResourceBlockDetailsSortByEnumStringValues() []string

GetListInternalOccHandoverResourceBlockDetailsSortByEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlockDetailsSortByEnum

func GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumStringValues

func GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumStringValues() []string

GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlockDetailsSortOrderEnum

func GetListInternalOccHandoverResourceBlocksNamespaceEnumStringValues

func GetListInternalOccHandoverResourceBlocksNamespaceEnumStringValues() []string

GetListInternalOccHandoverResourceBlocksNamespaceEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlocksNamespaceEnum

func GetListInternalOccHandoverResourceBlocksSortByEnumStringValues

func GetListInternalOccHandoverResourceBlocksSortByEnumStringValues() []string

GetListInternalOccHandoverResourceBlocksSortByEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlocksSortByEnum

func GetListInternalOccHandoverResourceBlocksSortOrderEnumStringValues

func GetListInternalOccHandoverResourceBlocksSortOrderEnumStringValues() []string

GetListInternalOccHandoverResourceBlocksSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlocksSortOrderEnum

func GetListOccAvailabilitiesSortByEnumStringValues

func GetListOccAvailabilitiesSortByEnumStringValues() []string

GetListOccAvailabilitiesSortByEnumStringValues Enumerates the set of values in String for ListOccAvailabilitiesSortByEnum

func GetListOccAvailabilitiesSortOrderEnumStringValues

func GetListOccAvailabilitiesSortOrderEnumStringValues() []string

GetListOccAvailabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListOccAvailabilitiesSortOrderEnum

func GetListOccAvailabilityCatalogsInternalNamespaceEnumStringValues

func GetListOccAvailabilityCatalogsInternalNamespaceEnumStringValues() []string

GetListOccAvailabilityCatalogsInternalNamespaceEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsInternalNamespaceEnum

func GetListOccAvailabilityCatalogsInternalSortByEnumStringValues

func GetListOccAvailabilityCatalogsInternalSortByEnumStringValues() []string

GetListOccAvailabilityCatalogsInternalSortByEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsInternalSortByEnum

func GetListOccAvailabilityCatalogsInternalSortOrderEnumStringValues

func GetListOccAvailabilityCatalogsInternalSortOrderEnumStringValues() []string

GetListOccAvailabilityCatalogsInternalSortOrderEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsInternalSortOrderEnum

func GetListOccAvailabilityCatalogsNamespaceEnumStringValues

func GetListOccAvailabilityCatalogsNamespaceEnumStringValues() []string

GetListOccAvailabilityCatalogsNamespaceEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsNamespaceEnum

func GetListOccAvailabilityCatalogsSortByEnumStringValues

func GetListOccAvailabilityCatalogsSortByEnumStringValues() []string

GetListOccAvailabilityCatalogsSortByEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsSortByEnum

func GetListOccAvailabilityCatalogsSortOrderEnumStringValues

func GetListOccAvailabilityCatalogsSortOrderEnumStringValues() []string

GetListOccAvailabilityCatalogsSortOrderEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsSortOrderEnum

func GetListOccCapacityRequestsInternalNamespaceEnumStringValues

func GetListOccCapacityRequestsInternalNamespaceEnumStringValues() []string

GetListOccCapacityRequestsInternalNamespaceEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsInternalNamespaceEnum

func GetListOccCapacityRequestsInternalSortByEnumStringValues

func GetListOccCapacityRequestsInternalSortByEnumStringValues() []string

GetListOccCapacityRequestsInternalSortByEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsInternalSortByEnum

func GetListOccCapacityRequestsInternalSortOrderEnumStringValues

func GetListOccCapacityRequestsInternalSortOrderEnumStringValues() []string

GetListOccCapacityRequestsInternalSortOrderEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsInternalSortOrderEnum

func GetListOccCapacityRequestsNamespaceEnumStringValues

func GetListOccCapacityRequestsNamespaceEnumStringValues() []string

GetListOccCapacityRequestsNamespaceEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsNamespaceEnum

func GetListOccCapacityRequestsSortByEnumStringValues

func GetListOccCapacityRequestsSortByEnumStringValues() []string

GetListOccCapacityRequestsSortByEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsSortByEnum

func GetListOccCapacityRequestsSortOrderEnumStringValues

func GetListOccCapacityRequestsSortOrderEnumStringValues() []string

GetListOccCapacityRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsSortOrderEnum

func GetListOccCustomerGroupsSortByEnumStringValues

func GetListOccCustomerGroupsSortByEnumStringValues() []string

GetListOccCustomerGroupsSortByEnumStringValues Enumerates the set of values in String for ListOccCustomerGroupsSortByEnum

func GetListOccCustomerGroupsSortOrderEnumStringValues

func GetListOccCustomerGroupsSortOrderEnumStringValues() []string

GetListOccCustomerGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListOccCustomerGroupsSortOrderEnum

func GetListOccHandoverResourceBlockDetailsSortByEnumStringValues

func GetListOccHandoverResourceBlockDetailsSortByEnumStringValues() []string

GetListOccHandoverResourceBlockDetailsSortByEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlockDetailsSortByEnum

func GetListOccHandoverResourceBlockDetailsSortOrderEnumStringValues

func GetListOccHandoverResourceBlockDetailsSortOrderEnumStringValues() []string

GetListOccHandoverResourceBlockDetailsSortOrderEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlockDetailsSortOrderEnum

func GetListOccHandoverResourceBlocksNamespaceEnumStringValues

func GetListOccHandoverResourceBlocksNamespaceEnumStringValues() []string

GetListOccHandoverResourceBlocksNamespaceEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlocksNamespaceEnum

func GetListOccHandoverResourceBlocksSortByEnumStringValues

func GetListOccHandoverResourceBlocksSortByEnumStringValues() []string

GetListOccHandoverResourceBlocksSortByEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlocksSortByEnum

func GetListOccHandoverResourceBlocksSortOrderEnumStringValues

func GetListOccHandoverResourceBlocksSortOrderEnumStringValues() []string

GetListOccHandoverResourceBlocksSortOrderEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlocksSortOrderEnum

func GetListOccOverviewsNamespaceEnumStringValues

func GetListOccOverviewsNamespaceEnumStringValues() []string

GetListOccOverviewsNamespaceEnumStringValues Enumerates the set of values in String for ListOccOverviewsNamespaceEnum

func GetListOccOverviewsSortByEnumStringValues

func GetListOccOverviewsSortByEnumStringValues() []string

GetListOccOverviewsSortByEnumStringValues Enumerates the set of values in String for ListOccOverviewsSortByEnum

func GetListOccOverviewsSortOrderEnumStringValues

func GetListOccOverviewsSortOrderEnumStringValues() []string

GetListOccOverviewsSortOrderEnumStringValues Enumerates the set of values in String for ListOccOverviewsSortOrderEnum

func GetMetadataDetailsFormatVersionEnumStringValues

func GetMetadataDetailsFormatVersionEnumStringValues() []string

GetMetadataDetailsFormatVersionEnumStringValues Enumerates the set of values in String for MetadataDetailsFormatVersionEnum

func GetNamespaceEnumStringValues

func GetNamespaceEnumStringValues() []string

GetNamespaceEnumStringValues Enumerates the set of values in String for NamespaceEnum

func GetOccAvailabilityCatalogCatalogStateEnumStringValues

func GetOccAvailabilityCatalogCatalogStateEnumStringValues() []string

GetOccAvailabilityCatalogCatalogStateEnumStringValues Enumerates the set of values in String for OccAvailabilityCatalogCatalogStateEnum

func GetOccAvailabilityCatalogLifecycleStateEnumStringValues

func GetOccAvailabilityCatalogLifecycleStateEnumStringValues() []string

GetOccAvailabilityCatalogLifecycleStateEnumStringValues Enumerates the set of values in String for OccAvailabilityCatalogLifecycleStateEnum

func GetOccCapacityRequestLifecycleStateEnumStringValues

func GetOccCapacityRequestLifecycleStateEnumStringValues() []string

GetOccCapacityRequestLifecycleStateEnumStringValues Enumerates the set of values in String for OccCapacityRequestLifecycleStateEnum

func GetOccCapacityRequestRequestStateEnumStringValues

func GetOccCapacityRequestRequestStateEnumStringValues() []string

GetOccCapacityRequestRequestStateEnumStringValues Enumerates the set of values in String for OccCapacityRequestRequestStateEnum

func GetOccCapacityRequestRequestTypeEnumStringValues

func GetOccCapacityRequestRequestTypeEnumStringValues() []string

GetOccCapacityRequestRequestTypeEnumStringValues Enumerates the set of values in String for OccCapacityRequestRequestTypeEnum

func GetOccCustomerGroupLifecycleStateEnumStringValues

func GetOccCustomerGroupLifecycleStateEnumStringValues() []string

GetOccCustomerGroupLifecycleStateEnumStringValues Enumerates the set of values in String for OccCustomerGroupLifecycleStateEnum

func GetOccCustomerGroupStatusEnumStringValues

func GetOccCustomerGroupStatusEnumStringValues() []string

GetOccCustomerGroupStatusEnumStringValues Enumerates the set of values in String for OccCustomerGroupStatusEnum

func GetOccCustomerStatusEnumStringValues

func GetOccCustomerStatusEnumStringValues() []string

GetOccCustomerStatusEnumStringValues Enumerates the set of values in String for OccCustomerStatusEnum

func GetPatchInsertInstructionPositionEnumStringValues

func GetPatchInsertInstructionPositionEnumStringValues() []string

GetPatchInsertInstructionPositionEnumStringValues Enumerates the set of values in String for PatchInsertInstructionPositionEnum

func GetPatchInsertMultipleInstructionPositionEnumStringValues

func GetPatchInsertMultipleInstructionPositionEnumStringValues() []string

GetPatchInsertMultipleInstructionPositionEnumStringValues Enumerates the set of values in String for PatchInsertMultipleInstructionPositionEnum

func GetPatchInstructionOperationEnumStringValues

func GetPatchInstructionOperationEnumStringValues() []string

GetPatchInstructionOperationEnumStringValues Enumerates the set of values in String for PatchInstructionOperationEnum

func GetPatchMoveInstructionPositionEnumStringValues

func GetPatchMoveInstructionPositionEnumStringValues() []string

GetPatchMoveInstructionPositionEnumStringValues Enumerates the set of values in String for PatchMoveInstructionPositionEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumStringValues

func GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumStringValues() []string

GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumStringValues Enumerates the set of values in String for UpdateInternalOccCapacityRequestDetailsRequestStateEnum

func GetUpdateOccCapacityRequestDetailsRequestStateEnumStringValues

func GetUpdateOccCapacityRequestDetailsRequestStateEnumStringValues() []string

GetUpdateOccCapacityRequestDetailsRequestStateEnumStringValues Enumerates the set of values in String for UpdateOccCapacityRequestDetailsRequestStateEnum

func GetUpdateOccCustomerDetailsStatusEnumStringValues

func GetUpdateOccCustomerDetailsStatusEnumStringValues() []string

GetUpdateOccCustomerDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateOccCustomerDetailsStatusEnum

func GetUpdateOccCustomerGroupDetailsStatusEnumStringValues

func GetUpdateOccCustomerGroupDetailsStatusEnumStringValues() []string

GetUpdateOccCustomerGroupDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateOccCustomerGroupDetailsStatusEnum

type AssociatedCapacityRequestDetails

AssociatedCapacityRequestDetails Details about the associated capacity requests against which the resources were provisioned by oracle.

type AssociatedCapacityRequestDetails struct {

    // The OCID of the capacity request against which the resources were provisioned.
    OccCapacityRequestId *string `mandatory:"true" json:"occCapacityRequestId"`

    // The total quantity of the bare metal hardware that was made available corresponding to the capacity request ocid.
    HandoverQuantity *int64 `mandatory:"true" json:"handoverQuantity"`
}

func (AssociatedCapacityRequestDetails) String

func (m AssociatedCapacityRequestDetails) String() string

func (AssociatedCapacityRequestDetails) ValidateEnumValue

func (m AssociatedCapacityRequestDetails) 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 AssociatedOccHandoverResourceBlock

AssociatedOccHandoverResourceBlock Details about the resource block that was handed over.

type AssociatedOccHandoverResourceBlock struct {

    // The OCID of the handed over resource block.
    OccHandoverResourceBlockId *string `mandatory:"false" json:"occHandoverResourceBlockId"`

    // The total quantity of the resource that was made available to the customer as part of this resource block
    HandoverQuantity *int64 `mandatory:"false" json:"handoverQuantity"`
}

func (AssociatedOccHandoverResourceBlock) String

func (m AssociatedOccHandoverResourceBlock) String() string

func (AssociatedOccHandoverResourceBlock) ValidateEnumValue

func (m AssociatedOccHandoverResourceBlock) 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 CapacityManagementClient

CapacityManagementClient a client for CapacityManagement

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

func NewCapacityManagementClientWithConfigurationProvider

func NewCapacityManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CapacityManagementClient, err error)

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

func NewCapacityManagementClientWithOboToken

func NewCapacityManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CapacityManagementClient, err error)

NewCapacityManagementClientWithOboToken Creates a new default CapacityManagement 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 (*CapacityManagementClient) ConfigurationProvider

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

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

func (CapacityManagementClient) CreateOccAvailabilityCatalog

func (client CapacityManagementClient) CreateOccAvailabilityCatalog(ctx context.Context, request CreateOccAvailabilityCatalogRequest) (response CreateOccAvailabilityCatalogResponse, err error)

CreateOccAvailabilityCatalog Create availability catalog

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/CreateOccAvailabilityCatalog.go.html to see an example of how to use CreateOccAvailabilityCatalog API. A default retry strategy applies to this operation CreateOccAvailabilityCatalog()

func (CapacityManagementClient) CreateOccCapacityRequest

func (client CapacityManagementClient) CreateOccCapacityRequest(ctx context.Context, request CreateOccCapacityRequestRequest) (response CreateOccCapacityRequestResponse, err error)

CreateOccCapacityRequest Create Capacity Request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/CreateOccCapacityRequest.go.html to see an example of how to use CreateOccCapacityRequest API. A default retry strategy applies to this operation CreateOccCapacityRequest()

func (CapacityManagementClient) CreateOccCustomer

func (client CapacityManagementClient) CreateOccCustomer(ctx context.Context, request CreateOccCustomerRequest) (response CreateOccCustomerResponse, err error)

CreateOccCustomer Create customer.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/CreateOccCustomer.go.html to see an example of how to use CreateOccCustomer API. A default retry strategy applies to this operation CreateOccCustomer()

func (CapacityManagementClient) CreateOccCustomerGroup

func (client CapacityManagementClient) CreateOccCustomerGroup(ctx context.Context, request CreateOccCustomerGroupRequest) (response CreateOccCustomerGroupResponse, err error)

CreateOccCustomerGroup Create customer group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/CreateOccCustomerGroup.go.html to see an example of how to use CreateOccCustomerGroup API. A default retry strategy applies to this operation CreateOccCustomerGroup()

func (CapacityManagementClient) DeleteOccAvailabilityCatalog

func (client CapacityManagementClient) DeleteOccAvailabilityCatalog(ctx context.Context, request DeleteOccAvailabilityCatalogRequest) (response DeleteOccAvailabilityCatalogResponse, err error)

DeleteOccAvailabilityCatalog Deletes the availability catalog resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/DeleteOccAvailabilityCatalog.go.html to see an example of how to use DeleteOccAvailabilityCatalog API. A default retry strategy applies to this operation DeleteOccAvailabilityCatalog()

func (CapacityManagementClient) DeleteOccCapacityRequest

func (client CapacityManagementClient) DeleteOccCapacityRequest(ctx context.Context, request DeleteOccCapacityRequestRequest) (response DeleteOccCapacityRequestResponse, err error)

DeleteOccCapacityRequest Deletes the capacity request resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/DeleteOccCapacityRequest.go.html to see an example of how to use DeleteOccCapacityRequest API. A default retry strategy applies to this operation DeleteOccCapacityRequest()

func (CapacityManagementClient) DeleteOccCustomer

func (client CapacityManagementClient) DeleteOccCustomer(ctx context.Context, request DeleteOccCustomerRequest) (response DeleteOccCustomerResponse, err error)

DeleteOccCustomer Deletes the customer resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/DeleteOccCustomer.go.html to see an example of how to use DeleteOccCustomer API. A default retry strategy applies to this operation DeleteOccCustomer()

func (CapacityManagementClient) DeleteOccCustomerGroup

func (client CapacityManagementClient) DeleteOccCustomerGroup(ctx context.Context, request DeleteOccCustomerGroupRequest) (response DeleteOccCustomerGroupResponse, err error)

DeleteOccCustomerGroup Deletes the customer group resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/DeleteOccCustomerGroup.go.html to see an example of how to use DeleteOccCustomerGroup API. A default retry strategy applies to this operation DeleteOccCustomerGroup()

func (CapacityManagementClient) GetOccAvailabilityCatalog

func (client CapacityManagementClient) GetOccAvailabilityCatalog(ctx context.Context, request GetOccAvailabilityCatalogRequest) (response GetOccAvailabilityCatalogResponse, err error)

GetOccAvailabilityCatalog Get details about availability catalog.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/GetOccAvailabilityCatalog.go.html to see an example of how to use GetOccAvailabilityCatalog API. A default retry strategy applies to this operation GetOccAvailabilityCatalog()

func (CapacityManagementClient) GetOccAvailabilityCatalogContent

func (client CapacityManagementClient) GetOccAvailabilityCatalogContent(ctx context.Context, request GetOccAvailabilityCatalogContentRequest) (response GetOccAvailabilityCatalogContentResponse, err error)

GetOccAvailabilityCatalogContent Returns the binary contents of the availability catalog. Can be saved as a csv file.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/GetOccAvailabilityCatalogContent.go.html to see an example of how to use GetOccAvailabilityCatalogContent API. A default retry strategy applies to this operation GetOccAvailabilityCatalogContent()

func (CapacityManagementClient) GetOccCapacityRequest

func (client CapacityManagementClient) GetOccCapacityRequest(ctx context.Context, request GetOccCapacityRequestRequest) (response GetOccCapacityRequestResponse, err error)

GetOccCapacityRequest Get details about the capacity request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/GetOccCapacityRequest.go.html to see an example of how to use GetOccCapacityRequest API. A default retry strategy applies to this operation GetOccCapacityRequest()

func (CapacityManagementClient) GetOccCustomerGroup

func (client CapacityManagementClient) GetOccCustomerGroup(ctx context.Context, request GetOccCustomerGroupRequest) (response GetOccCustomerGroupResponse, err error)

GetOccCustomerGroup Gets information about the specified customer group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/GetOccCustomerGroup.go.html to see an example of how to use GetOccCustomerGroup API. A default retry strategy applies to this operation GetOccCustomerGroup()

func (CapacityManagementClient) ListInternalNamespaceOccOverviews

func (client CapacityManagementClient) ListInternalNamespaceOccOverviews(ctx context.Context, request ListInternalNamespaceOccOverviewsRequest) (response ListInternalNamespaceOccOverviewsResponse, err error)

ListInternalNamespaceOccOverviews Lists an overview of all resources in that namespace in a given time interval.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListInternalNamespaceOccOverviews.go.html to see an example of how to use ListInternalNamespaceOccOverviews API. A default retry strategy applies to this operation ListInternalNamespaceOccOverviews()

func (CapacityManagementClient) ListInternalOccHandoverResourceBlockDetails

func (client CapacityManagementClient) ListInternalOccHandoverResourceBlockDetails(ctx context.Context, request ListInternalOccHandoverResourceBlockDetailsRequest) (response ListInternalOccHandoverResourceBlockDetailsResponse, err error)

ListInternalOccHandoverResourceBlockDetails List details about a given occHandoverResourceBlock.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListInternalOccHandoverResourceBlockDetails.go.html to see an example of how to use ListInternalOccHandoverResourceBlockDetails API. A default retry strategy applies to this operation ListInternalOccHandoverResourceBlockDetails()

func (CapacityManagementClient) ListInternalOccHandoverResourceBlocks

func (client CapacityManagementClient) ListInternalOccHandoverResourceBlocks(ctx context.Context, request ListInternalOccHandoverResourceBlocksRequest) (response ListInternalOccHandoverResourceBlocksResponse, err error)

ListInternalOccHandoverResourceBlocks List Occ Handover Resource blocks.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListInternalOccHandoverResourceBlocks.go.html to see an example of how to use ListInternalOccHandoverResourceBlocks API. A default retry strategy applies to this operation ListInternalOccHandoverResourceBlocks()

func (CapacityManagementClient) ListOccAvailabilities

func (client CapacityManagementClient) ListOccAvailabilities(ctx context.Context, request ListOccAvailabilitiesRequest) (response ListOccAvailabilitiesResponse, err error)

ListOccAvailabilities Lists availabilities for a particular availability catalog.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccAvailabilities.go.html to see an example of how to use ListOccAvailabilities API. A default retry strategy applies to this operation ListOccAvailabilities()

func (CapacityManagementClient) ListOccAvailabilityCatalogs

func (client CapacityManagementClient) ListOccAvailabilityCatalogs(ctx context.Context, request ListOccAvailabilityCatalogsRequest) (response ListOccAvailabilityCatalogsResponse, err error)

ListOccAvailabilityCatalogs Lists all availability catalogs.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccAvailabilityCatalogs.go.html to see an example of how to use ListOccAvailabilityCatalogs API. A default retry strategy applies to this operation ListOccAvailabilityCatalogs()

func (CapacityManagementClient) ListOccAvailabilityCatalogsInternal

func (client CapacityManagementClient) ListOccAvailabilityCatalogsInternal(ctx context.Context, request ListOccAvailabilityCatalogsInternalRequest) (response ListOccAvailabilityCatalogsInternalResponse, err error)

ListOccAvailabilityCatalogsInternal An internal api to list availability catalogs.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccAvailabilityCatalogsInternal.go.html to see an example of how to use ListOccAvailabilityCatalogsInternal API. A default retry strategy applies to this operation ListOccAvailabilityCatalogsInternal()

func (CapacityManagementClient) ListOccCapacityRequests

func (client CapacityManagementClient) ListOccCapacityRequests(ctx context.Context, request ListOccCapacityRequestsRequest) (response ListOccCapacityRequestsResponse, err error)

ListOccCapacityRequests Lists all capacity requests.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccCapacityRequests.go.html to see an example of how to use ListOccCapacityRequests API. A default retry strategy applies to this operation ListOccCapacityRequests()

func (CapacityManagementClient) ListOccCapacityRequestsInternal

func (client CapacityManagementClient) ListOccCapacityRequestsInternal(ctx context.Context, request ListOccCapacityRequestsInternalRequest) (response ListOccCapacityRequestsInternalResponse, err error)

ListOccCapacityRequestsInternal An internal api to list all capacity requests.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccCapacityRequestsInternal.go.html to see an example of how to use ListOccCapacityRequestsInternal API. A default retry strategy applies to this operation ListOccCapacityRequestsInternal()

func (CapacityManagementClient) ListOccCustomerGroups

func (client CapacityManagementClient) ListOccCustomerGroups(ctx context.Context, request ListOccCustomerGroupsRequest) (response ListOccCustomerGroupsResponse, err error)

ListOccCustomerGroups Lists all the customer groups.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccCustomerGroups.go.html to see an example of how to use ListOccCustomerGroups API. A default retry strategy applies to this operation ListOccCustomerGroups()

func (CapacityManagementClient) ListOccHandoverResourceBlockDetails

func (client CapacityManagementClient) ListOccHandoverResourceBlockDetails(ctx context.Context, request ListOccHandoverResourceBlockDetailsRequest) (response ListOccHandoverResourceBlockDetailsResponse, err error)

ListOccHandoverResourceBlockDetails List details about a given occHandoverResourceBlock.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccHandoverResourceBlockDetails.go.html to see an example of how to use ListOccHandoverResourceBlockDetails API. A default retry strategy applies to this operation ListOccHandoverResourceBlockDetails()

func (CapacityManagementClient) ListOccHandoverResourceBlocks

func (client CapacityManagementClient) ListOccHandoverResourceBlocks(ctx context.Context, request ListOccHandoverResourceBlocksRequest) (response ListOccHandoverResourceBlocksResponse, err error)

ListOccHandoverResourceBlocks List Occ Handover Resource blocks.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccHandoverResourceBlocks.go.html to see an example of how to use ListOccHandoverResourceBlocks API. A default retry strategy applies to this operation ListOccHandoverResourceBlocks()

func (CapacityManagementClient) ListOccOverviews

func (client CapacityManagementClient) ListOccOverviews(ctx context.Context, request ListOccOverviewsRequest) (response ListOccOverviewsResponse, err error)

ListOccOverviews Lists an overview of all resources in that namespace in a given time interval.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccOverviews.go.html to see an example of how to use ListOccOverviews API. A default retry strategy applies to this operation ListOccOverviews()

func (CapacityManagementClient) PatchInternalOccCapacityRequest

func (client CapacityManagementClient) PatchInternalOccCapacityRequest(ctx context.Context, request PatchInternalOccCapacityRequestRequest) (response PatchInternalOccCapacityRequestResponse, err error)

PatchInternalOccCapacityRequest Updates the OccCapacityRequest by evaluating a sequence of instructions.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/PatchInternalOccCapacityRequest.go.html to see an example of how to use PatchInternalOccCapacityRequest API. A default retry strategy applies to this operation PatchInternalOccCapacityRequest()

func (CapacityManagementClient) PatchOccCapacityRequest

func (client CapacityManagementClient) PatchOccCapacityRequest(ctx context.Context, request PatchOccCapacityRequestRequest) (response PatchOccCapacityRequestResponse, err error)

PatchOccCapacityRequest Updates the OccCapacityRequest by evaluating a sequence of instructions.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/PatchOccCapacityRequest.go.html to see an example of how to use PatchOccCapacityRequest API. A default retry strategy applies to this operation PatchOccCapacityRequest()

func (CapacityManagementClient) PublishOccAvailabilityCatalog

func (client CapacityManagementClient) PublishOccAvailabilityCatalog(ctx context.Context, request PublishOccAvailabilityCatalogRequest) (response PublishOccAvailabilityCatalogResponse, err error)

PublishOccAvailabilityCatalog Publishes the version of availability catalog specified by the operator. This makes that catalog version visible to customers.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/PublishOccAvailabilityCatalog.go.html to see an example of how to use PublishOccAvailabilityCatalog API. A default retry strategy applies to this operation PublishOccAvailabilityCatalog()

func (*CapacityManagementClient) SetRegion

func (client *CapacityManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (CapacityManagementClient) UpdateInternalOccCapacityRequest

func (client CapacityManagementClient) UpdateInternalOccCapacityRequest(ctx context.Context, request UpdateInternalOccCapacityRequestRequest) (response UpdateInternalOccCapacityRequestResponse, err error)

UpdateInternalOccCapacityRequest The internal api to update the capacity request. This api will be used by operators for updating the capacity request to either completed, resubmitted or rejected.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateInternalOccCapacityRequest.go.html to see an example of how to use UpdateInternalOccCapacityRequest API. A default retry strategy applies to this operation UpdateInternalOccCapacityRequest()

func (CapacityManagementClient) UpdateOccAvailabilityCatalog

func (client CapacityManagementClient) UpdateOccAvailabilityCatalog(ctx context.Context, request UpdateOccAvailabilityCatalogRequest) (response UpdateOccAvailabilityCatalogResponse, err error)

UpdateOccAvailabilityCatalog The request to update the availability catalog. Currently only freeform tags can be updated via this api.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateOccAvailabilityCatalog.go.html to see an example of how to use UpdateOccAvailabilityCatalog API. A default retry strategy applies to this operation UpdateOccAvailabilityCatalog()

func (CapacityManagementClient) UpdateOccCapacityRequest

func (client CapacityManagementClient) UpdateOccCapacityRequest(ctx context.Context, request UpdateOccCapacityRequestRequest) (response UpdateOccCapacityRequestResponse, err error)

UpdateOccCapacityRequest The request to update the capacity request. The user can perform actions like closing a partially completed request so that it doesn't go ahead for full completion.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateOccCapacityRequest.go.html to see an example of how to use UpdateOccCapacityRequest API. A default retry strategy applies to this operation UpdateOccCapacityRequest()

func (CapacityManagementClient) UpdateOccCustomer

func (client CapacityManagementClient) UpdateOccCustomer(ctx context.Context, request UpdateOccCustomerRequest) (response UpdateOccCustomerResponse, err error)

UpdateOccCustomer The request to update the customer.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateOccCustomer.go.html to see an example of how to use UpdateOccCustomer API. A default retry strategy applies to this operation UpdateOccCustomer()

func (CapacityManagementClient) UpdateOccCustomerGroup

func (client CapacityManagementClient) UpdateOccCustomerGroup(ctx context.Context, request UpdateOccCustomerGroupRequest) (response UpdateOccCustomerGroupResponse, err error)

UpdateOccCustomerGroup The request to update the customer group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateOccCustomerGroup.go.html to see an example of how to use UpdateOccCustomerGroup API. A default retry strategy applies to this operation UpdateOccCustomerGroup()

type CreateOccAvailabilityCatalogDetails

CreateOccAvailabilityCatalogDetails Details about the create request for the availability catalog.

type CreateOccAvailabilityCatalogDetails struct {

    // The OCID of the customer group.
    OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"`

    // The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
    Namespace NamespaceEnum `mandatory:"true" json:"namespace"`

    // Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The base 64 encoded string corresponding to the catalog file contents.
    Base64EncodedCatalogDetails *string `mandatory:"true" json:"base64EncodedCatalogDetails"`

    // The display name of the availability catalog.
    DisplayName *string `mandatory:"true" json:"displayName"`

    MetadataDetails *MetadataDetails `mandatory:"false" json:"metadataDetails"`

    // Additional information about the availability catalog.
    Description *string `mandatory:"false" json:"description"`

    // 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 (CreateOccAvailabilityCatalogDetails) String

func (m CreateOccAvailabilityCatalogDetails) String() string

func (CreateOccAvailabilityCatalogDetails) ValidateEnumValue

func (m CreateOccAvailabilityCatalogDetails) 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 CreateOccAvailabilityCatalogRequest

CreateOccAvailabilityCatalogRequest wrapper for the CreateOccAvailabilityCatalog operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/CreateOccAvailabilityCatalog.go.html to see an example of how to use CreateOccAvailabilityCatalogRequest.

type CreateOccAvailabilityCatalogRequest struct {

    // The request details for creating an availability catalog.
    CreateOccAvailabilityCatalogDetails `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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateOccAvailabilityCatalogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOccAvailabilityCatalogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOccAvailabilityCatalogRequest) RetryPolicy

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

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

func (CreateOccAvailabilityCatalogRequest) String

func (request CreateOccAvailabilityCatalogRequest) String() string

func (CreateOccAvailabilityCatalogRequest) ValidateEnumValue

func (request CreateOccAvailabilityCatalogRequest) 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 CreateOccAvailabilityCatalogResponse

CreateOccAvailabilityCatalogResponse wrapper for the CreateOccAvailabilityCatalog operation

type CreateOccAvailabilityCatalogResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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.
    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"`
}

func (CreateOccAvailabilityCatalogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOccAvailabilityCatalogResponse) String

func (response CreateOccAvailabilityCatalogResponse) String() string

type CreateOccCapacityRequestDetails

CreateOccCapacityRequestDetails Details about the create request for the capacity request.

type CreateOccCapacityRequestDetails struct {

    // Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
    Namespace NamespaceEnum `mandatory:"true" json:"namespace"`

    // The name of the region for which the capacity request is made.
    Region *string `mandatory:"true" json:"region"`

    // An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    DateExpectedCapacityHandover *common.SDKTime `mandatory:"true" json:"dateExpectedCapacityHandover"`

    // A list of different resources requested by the user.
    Details []OccCapacityRequestBaseDetails `mandatory:"true" json:"details"`

    // The OCID of the availability catalog against which capacity request is made.
    OccAvailabilityCatalogId *string `mandatory:"false" json:"occAvailabilityCatalogId"`

    // Type of Capacity Request(New or Transfer)
    RequestType OccCapacityRequestRequestTypeEnum `mandatory:"false" json:"requestType,omitempty"`

    // Meaningful text about the capacity request.
    Description *string `mandatory:"false" json:"description"`

    // 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"`

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

    // The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

    // The subset of request states available for creating the capacity request.
    RequestState CreateOccCapacityRequestDetailsRequestStateEnum `mandatory:"false" json:"requestState,omitempty"`
}

func (CreateOccCapacityRequestDetails) String

func (m CreateOccCapacityRequestDetails) String() string

func (CreateOccCapacityRequestDetails) ValidateEnumValue

func (m CreateOccCapacityRequestDetails) 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 CreateOccCapacityRequestDetailsRequestStateEnum

CreateOccCapacityRequestDetailsRequestStateEnum Enum with underlying type: string

type CreateOccCapacityRequestDetailsRequestStateEnum string

Set of constants representing the allowable values for CreateOccCapacityRequestDetailsRequestStateEnum

const (
    CreateOccCapacityRequestDetailsRequestStateCreated   CreateOccCapacityRequestDetailsRequestStateEnum = "CREATED"
    CreateOccCapacityRequestDetailsRequestStateSubmitted CreateOccCapacityRequestDetailsRequestStateEnum = "SUBMITTED"
)

func GetCreateOccCapacityRequestDetailsRequestStateEnumValues

func GetCreateOccCapacityRequestDetailsRequestStateEnumValues() []CreateOccCapacityRequestDetailsRequestStateEnum

GetCreateOccCapacityRequestDetailsRequestStateEnumValues Enumerates the set of values for CreateOccCapacityRequestDetailsRequestStateEnum

func GetMappingCreateOccCapacityRequestDetailsRequestStateEnum

func GetMappingCreateOccCapacityRequestDetailsRequestStateEnum(val string) (CreateOccCapacityRequestDetailsRequestStateEnum, bool)

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

type CreateOccCapacityRequestRequest

CreateOccCapacityRequestRequest wrapper for the CreateOccCapacityRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/CreateOccCapacityRequest.go.html to see an example of how to use CreateOccCapacityRequestRequest.

type CreateOccCapacityRequestRequest struct {

    // The request details for creating a capacity request.
    CreateOccCapacityRequestDetails `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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateOccCapacityRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOccCapacityRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOccCapacityRequestRequest) RetryPolicy

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

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

func (CreateOccCapacityRequestRequest) String

func (request CreateOccCapacityRequestRequest) String() string

func (CreateOccCapacityRequestRequest) ValidateEnumValue

func (request CreateOccCapacityRequestRequest) 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 CreateOccCapacityRequestResponse

CreateOccCapacityRequestResponse wrapper for the CreateOccCapacityRequest operation

type CreateOccCapacityRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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.
    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"`
}

func (CreateOccCapacityRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOccCapacityRequestResponse) String

func (response CreateOccCapacityRequestResponse) String() string

type CreateOccCustomerDetails

CreateOccCustomerDetails The details about the customer.

type CreateOccCustomerDetails struct {

    // The OCID of the tenancy belonging to the customer.
    TenancyId *string `mandatory:"true" json:"tenancyId"`

    // The display name for the customer.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The description about the customer group.
    Description *string `mandatory:"false" json:"description"`

    // To determine whether the customer is enabled/disabled.
    Status CreateOccCustomerDetailsStatusEnum `mandatory:"false" json:"status,omitempty"`
}

func (CreateOccCustomerDetails) String

func (m CreateOccCustomerDetails) String() string

func (CreateOccCustomerDetails) ValidateEnumValue

func (m CreateOccCustomerDetails) 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 CreateOccCustomerDetailsStatusEnum

CreateOccCustomerDetailsStatusEnum Enum with underlying type: string

type CreateOccCustomerDetailsStatusEnum string

Set of constants representing the allowable values for CreateOccCustomerDetailsStatusEnum

const (
    CreateOccCustomerDetailsStatusEnabled  CreateOccCustomerDetailsStatusEnum = "ENABLED"
    CreateOccCustomerDetailsStatusDisabled CreateOccCustomerDetailsStatusEnum = "DISABLED"
)

func GetCreateOccCustomerDetailsStatusEnumValues

func GetCreateOccCustomerDetailsStatusEnumValues() []CreateOccCustomerDetailsStatusEnum

GetCreateOccCustomerDetailsStatusEnumValues Enumerates the set of values for CreateOccCustomerDetailsStatusEnum

func GetMappingCreateOccCustomerDetailsStatusEnum

func GetMappingCreateOccCustomerDetailsStatusEnum(val string) (CreateOccCustomerDetailsStatusEnum, bool)

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

type CreateOccCustomerGroupDetails

CreateOccCustomerGroupDetails Details about the create request for the customer group.

type CreateOccCustomerGroupDetails struct {

    // Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the customer group.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // A description about the customer group.
    Description *string `mandatory:"false" json:"description"`

    // 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"`

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

    // To determine whether the customer group is enabled/disabled.
    Status CreateOccCustomerGroupDetailsStatusEnum `mandatory:"false" json:"status,omitempty"`

    // A list containing all the customers that belong to this customer group.
    CustomersList []CreateOccCustomerDetails `mandatory:"false" json:"customersList"`
}

func (CreateOccCustomerGroupDetails) String

func (m CreateOccCustomerGroupDetails) String() string

func (CreateOccCustomerGroupDetails) ValidateEnumValue

func (m CreateOccCustomerGroupDetails) 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 CreateOccCustomerGroupDetailsStatusEnum

CreateOccCustomerGroupDetailsStatusEnum Enum with underlying type: string

type CreateOccCustomerGroupDetailsStatusEnum string

Set of constants representing the allowable values for CreateOccCustomerGroupDetailsStatusEnum

const (
    CreateOccCustomerGroupDetailsStatusEnabled  CreateOccCustomerGroupDetailsStatusEnum = "ENABLED"
    CreateOccCustomerGroupDetailsStatusDisabled CreateOccCustomerGroupDetailsStatusEnum = "DISABLED"
)

func GetCreateOccCustomerGroupDetailsStatusEnumValues

func GetCreateOccCustomerGroupDetailsStatusEnumValues() []CreateOccCustomerGroupDetailsStatusEnum

GetCreateOccCustomerGroupDetailsStatusEnumValues Enumerates the set of values for CreateOccCustomerGroupDetailsStatusEnum

func GetMappingCreateOccCustomerGroupDetailsStatusEnum

func GetMappingCreateOccCustomerGroupDetailsStatusEnum(val string) (CreateOccCustomerGroupDetailsStatusEnum, bool)

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

type CreateOccCustomerGroupRequest

CreateOccCustomerGroupRequest wrapper for the CreateOccCustomerGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/CreateOccCustomerGroup.go.html to see an example of how to use CreateOccCustomerGroupRequest.

type CreateOccCustomerGroupRequest struct {

    // The request details for creating a customer group.
    CreateOccCustomerGroupDetails `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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateOccCustomerGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOccCustomerGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOccCustomerGroupRequest) RetryPolicy

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

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

func (CreateOccCustomerGroupRequest) String

func (request CreateOccCustomerGroupRequest) String() string

func (CreateOccCustomerGroupRequest) ValidateEnumValue

func (request CreateOccCustomerGroupRequest) 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 CreateOccCustomerGroupResponse

CreateOccCustomerGroupResponse wrapper for the CreateOccCustomerGroup operation

type CreateOccCustomerGroupResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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.
    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"`
}

func (CreateOccCustomerGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOccCustomerGroupResponse) String

func (response CreateOccCustomerGroupResponse) String() string

type CreateOccCustomerRequest

CreateOccCustomerRequest wrapper for the CreateOccCustomer operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/CreateOccCustomer.go.html to see an example of how to use CreateOccCustomerRequest.

type CreateOccCustomerRequest struct {

    // The request details for creating a customer.
    CreateOccCustomerDetails `contributesTo:"body"`

    // The OCID of the customer group.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"path" name:"occCustomerGroupId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateOccCustomerRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOccCustomerRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOccCustomerRequest) RetryPolicy

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

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

func (CreateOccCustomerRequest) String

func (request CreateOccCustomerRequest) String() string

func (CreateOccCustomerRequest) ValidateEnumValue

func (request CreateOccCustomerRequest) 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 CreateOccCustomerResponse

CreateOccCustomerResponse wrapper for the CreateOccCustomer operation

type CreateOccCustomerResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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.
    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"`
}

func (CreateOccCustomerResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOccCustomerResponse) String

func (response CreateOccCustomerResponse) String() string

type DeleteOccAvailabilityCatalogRequest

DeleteOccAvailabilityCatalogRequest wrapper for the DeleteOccAvailabilityCatalog operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/DeleteOccAvailabilityCatalog.go.html to see an example of how to use DeleteOccAvailabilityCatalogRequest.

type DeleteOccAvailabilityCatalogRequest struct {

    // The OCID of the availability catalog.
    OccAvailabilityCatalogId *string `mandatory:"true" contributesTo:"path" name:"occAvailabilityCatalogId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteOccAvailabilityCatalogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOccAvailabilityCatalogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOccAvailabilityCatalogRequest) RetryPolicy

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

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

func (DeleteOccAvailabilityCatalogRequest) String

func (request DeleteOccAvailabilityCatalogRequest) String() string

func (DeleteOccAvailabilityCatalogRequest) ValidateEnumValue

func (request DeleteOccAvailabilityCatalogRequest) 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 DeleteOccAvailabilityCatalogResponse

DeleteOccAvailabilityCatalogResponse wrapper for the DeleteOccAvailabilityCatalog operation

type DeleteOccAvailabilityCatalogResponse 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"`

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

func (DeleteOccAvailabilityCatalogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOccAvailabilityCatalogResponse) String

func (response DeleteOccAvailabilityCatalogResponse) String() string

type DeleteOccCapacityRequestRequest

DeleteOccCapacityRequestRequest wrapper for the DeleteOccCapacityRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/DeleteOccCapacityRequest.go.html to see an example of how to use DeleteOccCapacityRequestRequest.

type DeleteOccCapacityRequestRequest struct {

    // The OCID of the capacity request.
    OccCapacityRequestId *string `mandatory:"true" contributesTo:"path" name:"occCapacityRequestId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteOccCapacityRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOccCapacityRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOccCapacityRequestRequest) RetryPolicy

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

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

func (DeleteOccCapacityRequestRequest) String

func (request DeleteOccCapacityRequestRequest) String() string

func (DeleteOccCapacityRequestRequest) ValidateEnumValue

func (request DeleteOccCapacityRequestRequest) 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 DeleteOccCapacityRequestResponse

DeleteOccCapacityRequestResponse wrapper for the DeleteOccCapacityRequest operation

type DeleteOccCapacityRequestResponse 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"`

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

func (DeleteOccCapacityRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOccCapacityRequestResponse) String

func (response DeleteOccCapacityRequestResponse) String() string

type DeleteOccCustomerGroupRequest

DeleteOccCustomerGroupRequest wrapper for the DeleteOccCustomerGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/DeleteOccCustomerGroup.go.html to see an example of how to use DeleteOccCustomerGroupRequest.

type DeleteOccCustomerGroupRequest struct {

    // The OCID of the customer group.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"path" name:"occCustomerGroupId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteOccCustomerGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOccCustomerGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOccCustomerGroupRequest) RetryPolicy

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

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

func (DeleteOccCustomerGroupRequest) String

func (request DeleteOccCustomerGroupRequest) String() string

func (DeleteOccCustomerGroupRequest) ValidateEnumValue

func (request DeleteOccCustomerGroupRequest) 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 DeleteOccCustomerGroupResponse

DeleteOccCustomerGroupResponse wrapper for the DeleteOccCustomerGroup operation

type DeleteOccCustomerGroupResponse 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"`

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

func (DeleteOccCustomerGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOccCustomerGroupResponse) String

func (response DeleteOccCustomerGroupResponse) String() string

type DeleteOccCustomerRequest

DeleteOccCustomerRequest wrapper for the DeleteOccCustomer operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/DeleteOccCustomer.go.html to see an example of how to use DeleteOccCustomerRequest.

type DeleteOccCustomerRequest struct {

    // The OCID of the customer group.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"path" name:"occCustomerGroupId"`

    // The tenancy id of the customer.
    OccCustomerId *string `mandatory:"true" contributesTo:"path" name:"occCustomerId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteOccCustomerRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOccCustomerRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOccCustomerRequest) RetryPolicy

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

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

func (DeleteOccCustomerRequest) String

func (request DeleteOccCustomerRequest) String() string

func (DeleteOccCustomerRequest) ValidateEnumValue

func (request DeleteOccCustomerRequest) 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 DeleteOccCustomerResponse

DeleteOccCustomerResponse wrapper for the DeleteOccCustomer operation

type DeleteOccCustomerResponse 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"`

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

func (DeleteOccCustomerResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOccCustomerResponse) String

func (response DeleteOccCustomerResponse) String() string

type GetOccAvailabilityCatalogContentRequest

GetOccAvailabilityCatalogContentRequest wrapper for the GetOccAvailabilityCatalogContent operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/GetOccAvailabilityCatalogContent.go.html to see an example of how to use GetOccAvailabilityCatalogContentRequest.

type GetOccAvailabilityCatalogContentRequest struct {

    // The OCID of the availability catalog.
    OccAvailabilityCatalogId *string `mandatory:"true" contributesTo:"path" name:"occAvailabilityCatalogId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // 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"`

    // 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 (GetOccAvailabilityCatalogContentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOccAvailabilityCatalogContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOccAvailabilityCatalogContentRequest) RetryPolicy

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

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

func (GetOccAvailabilityCatalogContentRequest) String

func (request GetOccAvailabilityCatalogContentRequest) String() string

func (GetOccAvailabilityCatalogContentRequest) ValidateEnumValue

func (request GetOccAvailabilityCatalogContentRequest) 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 GetOccAvailabilityCatalogContentResponse

GetOccAvailabilityCatalogContentResponse wrapper for the GetOccAvailabilityCatalogContent operation

type GetOccAvailabilityCatalogContentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // 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 (GetOccAvailabilityCatalogContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOccAvailabilityCatalogContentResponse) String

func (response GetOccAvailabilityCatalogContentResponse) String() string

type GetOccAvailabilityCatalogRequest

GetOccAvailabilityCatalogRequest wrapper for the GetOccAvailabilityCatalog operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/GetOccAvailabilityCatalog.go.html to see an example of how to use GetOccAvailabilityCatalogRequest.

type GetOccAvailabilityCatalogRequest struct {

    // The OCID of the availability catalog.
    OccAvailabilityCatalogId *string `mandatory:"true" contributesTo:"path" name:"occAvailabilityCatalogId"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetOccAvailabilityCatalogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOccAvailabilityCatalogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOccAvailabilityCatalogRequest) RetryPolicy

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

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

func (GetOccAvailabilityCatalogRequest) String

func (request GetOccAvailabilityCatalogRequest) String() string

func (GetOccAvailabilityCatalogRequest) ValidateEnumValue

func (request GetOccAvailabilityCatalogRequest) 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 GetOccAvailabilityCatalogResponse

GetOccAvailabilityCatalogResponse wrapper for the GetOccAvailabilityCatalog operation

type GetOccAvailabilityCatalogResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OccAvailabilityCatalog instance
    OccAvailabilityCatalog `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 (GetOccAvailabilityCatalogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOccAvailabilityCatalogResponse) String

func (response GetOccAvailabilityCatalogResponse) String() string

type GetOccCapacityRequestRequest

GetOccCapacityRequestRequest wrapper for the GetOccCapacityRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/GetOccCapacityRequest.go.html to see an example of how to use GetOccCapacityRequestRequest.

type GetOccCapacityRequestRequest struct {

    // The OCID of the capacity request.
    OccCapacityRequestId *string `mandatory:"true" contributesTo:"path" name:"occCapacityRequestId"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetOccCapacityRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOccCapacityRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOccCapacityRequestRequest) RetryPolicy

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

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

func (GetOccCapacityRequestRequest) String

func (request GetOccCapacityRequestRequest) String() string

func (GetOccCapacityRequestRequest) ValidateEnumValue

func (request GetOccCapacityRequestRequest) 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 GetOccCapacityRequestResponse

GetOccCapacityRequestResponse wrapper for the GetOccCapacityRequest operation

type GetOccCapacityRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OccCapacityRequest instance
    OccCapacityRequest `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 (GetOccCapacityRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOccCapacityRequestResponse) String

func (response GetOccCapacityRequestResponse) String() string

type GetOccCustomerGroupRequest

GetOccCustomerGroupRequest wrapper for the GetOccCustomerGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/GetOccCustomerGroup.go.html to see an example of how to use GetOccCustomerGroupRequest.

type GetOccCustomerGroupRequest struct {

    // The OCID of the customer group.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"path" name:"occCustomerGroupId"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetOccCustomerGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOccCustomerGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOccCustomerGroupRequest) RetryPolicy

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

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

func (GetOccCustomerGroupRequest) String

func (request GetOccCustomerGroupRequest) String() string

func (GetOccCustomerGroupRequest) ValidateEnumValue

func (request GetOccCustomerGroupRequest) 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 GetOccCustomerGroupResponse

GetOccCustomerGroupResponse wrapper for the GetOccCustomerGroup operation

type GetOccCustomerGroupResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OccCustomerGroup instance
    OccCustomerGroup `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 (GetOccCustomerGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOccCustomerGroupResponse) String

func (response GetOccCustomerGroupResponse) String() string

type ListInternalNamespaceOccOverviewsNamespaceEnum

ListInternalNamespaceOccOverviewsNamespaceEnum Enum with underlying type: string

type ListInternalNamespaceOccOverviewsNamespaceEnum string

Set of constants representing the allowable values for ListInternalNamespaceOccOverviewsNamespaceEnum

const (
    ListInternalNamespaceOccOverviewsNamespaceCompute ListInternalNamespaceOccOverviewsNamespaceEnum = "COMPUTE"
)

func GetListInternalNamespaceOccOverviewsNamespaceEnumValues

func GetListInternalNamespaceOccOverviewsNamespaceEnumValues() []ListInternalNamespaceOccOverviewsNamespaceEnum

GetListInternalNamespaceOccOverviewsNamespaceEnumValues Enumerates the set of values for ListInternalNamespaceOccOverviewsNamespaceEnum

func GetMappingListInternalNamespaceOccOverviewsNamespaceEnum

func GetMappingListInternalNamespaceOccOverviewsNamespaceEnum(val string) (ListInternalNamespaceOccOverviewsNamespaceEnum, bool)

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

type ListInternalNamespaceOccOverviewsRequest

ListInternalNamespaceOccOverviewsRequest wrapper for the ListInternalNamespaceOccOverviews operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListInternalNamespaceOccOverviews.go.html to see an example of how to use ListInternalNamespaceOccOverviewsRequest.

type ListInternalNamespaceOccOverviewsRequest struct {

    // The namespace by which we would filter the list.
    Namespace ListInternalNamespaceOccOverviewsNamespaceEnum `mandatory:"true" contributesTo:"path" name:"namespace"`

    // The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The customer group ocid by which we would filter the list.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"query" name:"occCustomerGroupId"`

    // Workload type using the resources in an availability catalog can be filtered.
    WorkloadType *string `mandatory:"false" contributesTo:"query" name:"workloadType"`

    // The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
    From *common.SDKTime `mandatory:"false" contributesTo:"query" name:"from"`

    // The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
    To *common.SDKTime `mandatory:"false" contributesTo:"query" name:"to"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided. The default order for periodValue is chronological order(latest month item at the end).
    SortBy ListInternalNamespaceOccOverviewsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListInternalNamespaceOccOverviewsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListInternalNamespaceOccOverviewsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListInternalNamespaceOccOverviewsRequest) RetryPolicy

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

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

func (ListInternalNamespaceOccOverviewsRequest) String

func (request ListInternalNamespaceOccOverviewsRequest) String() string

func (ListInternalNamespaceOccOverviewsRequest) ValidateEnumValue

func (request ListInternalNamespaceOccOverviewsRequest) 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 ListInternalNamespaceOccOverviewsResponse

ListInternalNamespaceOccOverviewsResponse wrapper for the ListInternalNamespaceOccOverviews operation

type ListInternalNamespaceOccOverviewsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccOverviewCollection instances
    OccOverviewCollection `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"`
}

func (ListInternalNamespaceOccOverviewsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListInternalNamespaceOccOverviewsResponse) String

func (response ListInternalNamespaceOccOverviewsResponse) String() string

type ListInternalNamespaceOccOverviewsSortByEnum

ListInternalNamespaceOccOverviewsSortByEnum Enum with underlying type: string

type ListInternalNamespaceOccOverviewsSortByEnum string

Set of constants representing the allowable values for ListInternalNamespaceOccOverviewsSortByEnum

const (
    ListInternalNamespaceOccOverviewsSortByPeriodvalue ListInternalNamespaceOccOverviewsSortByEnum = "periodValue"
)

func GetListInternalNamespaceOccOverviewsSortByEnumValues

func GetListInternalNamespaceOccOverviewsSortByEnumValues() []ListInternalNamespaceOccOverviewsSortByEnum

GetListInternalNamespaceOccOverviewsSortByEnumValues Enumerates the set of values for ListInternalNamespaceOccOverviewsSortByEnum

func GetMappingListInternalNamespaceOccOverviewsSortByEnum

func GetMappingListInternalNamespaceOccOverviewsSortByEnum(val string) (ListInternalNamespaceOccOverviewsSortByEnum, bool)

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

type ListInternalNamespaceOccOverviewsSortOrderEnum

ListInternalNamespaceOccOverviewsSortOrderEnum Enum with underlying type: string

type ListInternalNamespaceOccOverviewsSortOrderEnum string

Set of constants representing the allowable values for ListInternalNamespaceOccOverviewsSortOrderEnum

const (
    ListInternalNamespaceOccOverviewsSortOrderAsc  ListInternalNamespaceOccOverviewsSortOrderEnum = "ASC"
    ListInternalNamespaceOccOverviewsSortOrderDesc ListInternalNamespaceOccOverviewsSortOrderEnum = "DESC"
)

func GetListInternalNamespaceOccOverviewsSortOrderEnumValues

func GetListInternalNamespaceOccOverviewsSortOrderEnumValues() []ListInternalNamespaceOccOverviewsSortOrderEnum

GetListInternalNamespaceOccOverviewsSortOrderEnumValues Enumerates the set of values for ListInternalNamespaceOccOverviewsSortOrderEnum

func GetMappingListInternalNamespaceOccOverviewsSortOrderEnum

func GetMappingListInternalNamespaceOccOverviewsSortOrderEnum(val string) (ListInternalNamespaceOccOverviewsSortOrderEnum, bool)

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

type ListInternalOccHandoverResourceBlockDetailsRequest

ListInternalOccHandoverResourceBlockDetailsRequest wrapper for the ListInternalOccHandoverResourceBlockDetails operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListInternalOccHandoverResourceBlockDetails.go.html to see an example of how to use ListInternalOccHandoverResourceBlockDetailsRequest.

type ListInternalOccHandoverResourceBlockDetailsRequest struct {

    // The OCID of the OccHandoverResource which is a required query parameter for listing OccHandoverResourceDetails.
    OccHandoverResourceBlockId *string `mandatory:"true" contributesTo:"query" name:"occHandoverResourceBlockId"`

    // This fiter is applicable only for COMPUTE namespace. It helps in fetching of all resource block details for which the hostId is equal to the one provided in this query param.
    HostId *string `mandatory:"false" contributesTo:"query" name:"hostId"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided.
    // The default order for handoverDate is chronological order(latest date item at the end).
    SortBy ListInternalOccHandoverResourceBlockDetailsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListInternalOccHandoverResourceBlockDetailsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListInternalOccHandoverResourceBlockDetailsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListInternalOccHandoverResourceBlockDetailsRequest) RetryPolicy

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

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

func (ListInternalOccHandoverResourceBlockDetailsRequest) String

func (request ListInternalOccHandoverResourceBlockDetailsRequest) String() string

func (ListInternalOccHandoverResourceBlockDetailsRequest) ValidateEnumValue

func (request ListInternalOccHandoverResourceBlockDetailsRequest) 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 ListInternalOccHandoverResourceBlockDetailsResponse

ListInternalOccHandoverResourceBlockDetailsResponse wrapper for the ListInternalOccHandoverResourceBlockDetails operation

type ListInternalOccHandoverResourceBlockDetailsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccHandoverResourceBlockDetailCollection instances
    OccHandoverResourceBlockDetailCollection `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"`
}

func (ListInternalOccHandoverResourceBlockDetailsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListInternalOccHandoverResourceBlockDetailsResponse) String

func (response ListInternalOccHandoverResourceBlockDetailsResponse) String() string

type ListInternalOccHandoverResourceBlockDetailsSortByEnum

ListInternalOccHandoverResourceBlockDetailsSortByEnum Enum with underlying type: string

type ListInternalOccHandoverResourceBlockDetailsSortByEnum string

Set of constants representing the allowable values for ListInternalOccHandoverResourceBlockDetailsSortByEnum

const (
    ListInternalOccHandoverResourceBlockDetailsSortByHandoverdate ListInternalOccHandoverResourceBlockDetailsSortByEnum = "handoverDate"
)

func GetListInternalOccHandoverResourceBlockDetailsSortByEnumValues

func GetListInternalOccHandoverResourceBlockDetailsSortByEnumValues() []ListInternalOccHandoverResourceBlockDetailsSortByEnum

GetListInternalOccHandoverResourceBlockDetailsSortByEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlockDetailsSortByEnum

func GetMappingListInternalOccHandoverResourceBlockDetailsSortByEnum

func GetMappingListInternalOccHandoverResourceBlockDetailsSortByEnum(val string) (ListInternalOccHandoverResourceBlockDetailsSortByEnum, bool)

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

type ListInternalOccHandoverResourceBlockDetailsSortOrderEnum

ListInternalOccHandoverResourceBlockDetailsSortOrderEnum Enum with underlying type: string

type ListInternalOccHandoverResourceBlockDetailsSortOrderEnum string

Set of constants representing the allowable values for ListInternalOccHandoverResourceBlockDetailsSortOrderEnum

const (
    ListInternalOccHandoverResourceBlockDetailsSortOrderAsc  ListInternalOccHandoverResourceBlockDetailsSortOrderEnum = "ASC"
    ListInternalOccHandoverResourceBlockDetailsSortOrderDesc ListInternalOccHandoverResourceBlockDetailsSortOrderEnum = "DESC"
)

func GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumValues

func GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumValues() []ListInternalOccHandoverResourceBlockDetailsSortOrderEnum

GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlockDetailsSortOrderEnum

func GetMappingListInternalOccHandoverResourceBlockDetailsSortOrderEnum

func GetMappingListInternalOccHandoverResourceBlockDetailsSortOrderEnum(val string) (ListInternalOccHandoverResourceBlockDetailsSortOrderEnum, bool)

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

type ListInternalOccHandoverResourceBlocksNamespaceEnum

ListInternalOccHandoverResourceBlocksNamespaceEnum Enum with underlying type: string

type ListInternalOccHandoverResourceBlocksNamespaceEnum string

Set of constants representing the allowable values for ListInternalOccHandoverResourceBlocksNamespaceEnum

const (
    ListInternalOccHandoverResourceBlocksNamespaceCompute ListInternalOccHandoverResourceBlocksNamespaceEnum = "COMPUTE"
)

func GetListInternalOccHandoverResourceBlocksNamespaceEnumValues

func GetListInternalOccHandoverResourceBlocksNamespaceEnumValues() []ListInternalOccHandoverResourceBlocksNamespaceEnum

GetListInternalOccHandoverResourceBlocksNamespaceEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlocksNamespaceEnum

func GetMappingListInternalOccHandoverResourceBlocksNamespaceEnum

func GetMappingListInternalOccHandoverResourceBlocksNamespaceEnum(val string) (ListInternalOccHandoverResourceBlocksNamespaceEnum, bool)

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

type ListInternalOccHandoverResourceBlocksRequest

ListInternalOccHandoverResourceBlocksRequest wrapper for the ListInternalOccHandoverResourceBlocks operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListInternalOccHandoverResourceBlocks.go.html to see an example of how to use ListInternalOccHandoverResourceBlocksRequest.

type ListInternalOccHandoverResourceBlocksRequest struct {

    // The namespace enum value that needs to be passed as a required query parameter.
    Namespace ListInternalOccHandoverResourceBlocksNamespaceEnum `mandatory:"true" contributesTo:"query" name:"namespace" omitEmpty:"true"`

    // The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The customer group ocid by which we would filter the list.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"query" name:"occCustomerGroupId"`

    // A filter to return only the list of resources that match the name provided in this filter.
    HandoverResourceName *string `mandatory:"false" contributesTo:"query" name:"handoverResourceName"`

    // This filter helps in fetching all handed over resources for which the recordDate is greater than or equal to the startDate.
    HandoverDateGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"handoverDateGreaterThanOrEqualTo"`

    // This filter helps in fetching all handed over resources for which the recordDate is less than or equal to the endDate.
    HandoverDateLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"handoverDateLessThanOrEqualTo"`

    // This filter helps in fetching the handed over resource for which the occHandoverResourceId is equal to the one provided here.
    OccHandoverResourceBlockId *string `mandatory:"false" contributesTo:"query" name:"occHandoverResourceBlockId"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided.
    // The default order for handoverDate is chronological order(latest date item at the end).
    SortBy ListInternalOccHandoverResourceBlocksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListInternalOccHandoverResourceBlocksRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListInternalOccHandoverResourceBlocksRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListInternalOccHandoverResourceBlocksRequest) RetryPolicy

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

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

func (ListInternalOccHandoverResourceBlocksRequest) String

func (request ListInternalOccHandoverResourceBlocksRequest) String() string

func (ListInternalOccHandoverResourceBlocksRequest) ValidateEnumValue

func (request ListInternalOccHandoverResourceBlocksRequest) 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 ListInternalOccHandoverResourceBlocksResponse

ListInternalOccHandoverResourceBlocksResponse wrapper for the ListInternalOccHandoverResourceBlocks operation

type ListInternalOccHandoverResourceBlocksResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccHandoverResourceBlockCollection instances
    OccHandoverResourceBlockCollection `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"`
}

func (ListInternalOccHandoverResourceBlocksResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListInternalOccHandoverResourceBlocksResponse) String

func (response ListInternalOccHandoverResourceBlocksResponse) String() string

type ListInternalOccHandoverResourceBlocksSortByEnum

ListInternalOccHandoverResourceBlocksSortByEnum Enum with underlying type: string

type ListInternalOccHandoverResourceBlocksSortByEnum string

Set of constants representing the allowable values for ListInternalOccHandoverResourceBlocksSortByEnum

const (
    ListInternalOccHandoverResourceBlocksSortByHandoverdate ListInternalOccHandoverResourceBlocksSortByEnum = "handoverDate"
)

func GetListInternalOccHandoverResourceBlocksSortByEnumValues

func GetListInternalOccHandoverResourceBlocksSortByEnumValues() []ListInternalOccHandoverResourceBlocksSortByEnum

GetListInternalOccHandoverResourceBlocksSortByEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlocksSortByEnum

func GetMappingListInternalOccHandoverResourceBlocksSortByEnum

func GetMappingListInternalOccHandoverResourceBlocksSortByEnum(val string) (ListInternalOccHandoverResourceBlocksSortByEnum, bool)

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

type ListInternalOccHandoverResourceBlocksSortOrderEnum

ListInternalOccHandoverResourceBlocksSortOrderEnum Enum with underlying type: string

type ListInternalOccHandoverResourceBlocksSortOrderEnum string

Set of constants representing the allowable values for ListInternalOccHandoverResourceBlocksSortOrderEnum

const (
    ListInternalOccHandoverResourceBlocksSortOrderAsc  ListInternalOccHandoverResourceBlocksSortOrderEnum = "ASC"
    ListInternalOccHandoverResourceBlocksSortOrderDesc ListInternalOccHandoverResourceBlocksSortOrderEnum = "DESC"
)

func GetListInternalOccHandoverResourceBlocksSortOrderEnumValues

func GetListInternalOccHandoverResourceBlocksSortOrderEnumValues() []ListInternalOccHandoverResourceBlocksSortOrderEnum

GetListInternalOccHandoverResourceBlocksSortOrderEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlocksSortOrderEnum

func GetMappingListInternalOccHandoverResourceBlocksSortOrderEnum

func GetMappingListInternalOccHandoverResourceBlocksSortOrderEnum(val string) (ListInternalOccHandoverResourceBlocksSortOrderEnum, bool)

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

type ListOccAvailabilitiesRequest

ListOccAvailabilitiesRequest wrapper for the ListOccAvailabilities operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccAvailabilities.go.html to see an example of how to use ListOccAvailabilitiesRequest.

type ListOccAvailabilitiesRequest struct {

    // The OCID of the availability catalog.
    OccAvailabilityCatalogId *string `mandatory:"true" contributesTo:"path" name:"occAvailabilityCatalogId"`

    // The capacity handover date of the capacity constraint to filter the list of capacity constraints.
    DateExpectedCapacityHandover *string `mandatory:"false" contributesTo:"query" name:"dateExpectedCapacityHandover"`

    // The name of the resource to filter the list of capacity constraints.
    ResourceName *string `mandatory:"false" contributesTo:"query" name:"resourceName"`

    // Resource type using which the capacity constraints of an availability catalog can be filtered.
    ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"`

    // Workload type using the resources in an availability catalog can be filtered.
    WorkloadType *string `mandatory:"false" contributesTo:"query" name:"workloadType"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by.  Only one sort order may be provided. The default order for resource name is ascending. The default order for date of capacity handover is descending.
    SortBy ListOccAvailabilitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListOccAvailabilitiesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccAvailabilitiesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccAvailabilitiesRequest) RetryPolicy

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

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

func (ListOccAvailabilitiesRequest) String

func (request ListOccAvailabilitiesRequest) String() string

func (ListOccAvailabilitiesRequest) ValidateEnumValue

func (request ListOccAvailabilitiesRequest) 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 ListOccAvailabilitiesResponse

ListOccAvailabilitiesResponse wrapper for the ListOccAvailabilities operation

type ListOccAvailabilitiesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccAvailabilityCollection instances
    OccAvailabilityCollection `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"`
}

func (ListOccAvailabilitiesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccAvailabilitiesResponse) String

func (response ListOccAvailabilitiesResponse) String() string

type ListOccAvailabilitiesSortByEnum

ListOccAvailabilitiesSortByEnum Enum with underlying type: string

type ListOccAvailabilitiesSortByEnum string

Set of constants representing the allowable values for ListOccAvailabilitiesSortByEnum

const (
    ListOccAvailabilitiesSortByDateexpectedcapacityhandover ListOccAvailabilitiesSortByEnum = "dateExpectedCapacityHandover"
    ListOccAvailabilitiesSortByResourcename                 ListOccAvailabilitiesSortByEnum = "resourceName"
)

func GetListOccAvailabilitiesSortByEnumValues

func GetListOccAvailabilitiesSortByEnumValues() []ListOccAvailabilitiesSortByEnum

GetListOccAvailabilitiesSortByEnumValues Enumerates the set of values for ListOccAvailabilitiesSortByEnum

func GetMappingListOccAvailabilitiesSortByEnum

func GetMappingListOccAvailabilitiesSortByEnum(val string) (ListOccAvailabilitiesSortByEnum, bool)

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

type ListOccAvailabilitiesSortOrderEnum

ListOccAvailabilitiesSortOrderEnum Enum with underlying type: string

type ListOccAvailabilitiesSortOrderEnum string

Set of constants representing the allowable values for ListOccAvailabilitiesSortOrderEnum

const (
    ListOccAvailabilitiesSortOrderAsc  ListOccAvailabilitiesSortOrderEnum = "ASC"
    ListOccAvailabilitiesSortOrderDesc ListOccAvailabilitiesSortOrderEnum = "DESC"
)

func GetListOccAvailabilitiesSortOrderEnumValues

func GetListOccAvailabilitiesSortOrderEnumValues() []ListOccAvailabilitiesSortOrderEnum

GetListOccAvailabilitiesSortOrderEnumValues Enumerates the set of values for ListOccAvailabilitiesSortOrderEnum

func GetMappingListOccAvailabilitiesSortOrderEnum

func GetMappingListOccAvailabilitiesSortOrderEnum(val string) (ListOccAvailabilitiesSortOrderEnum, bool)

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

type ListOccAvailabilityCatalogsInternalNamespaceEnum

ListOccAvailabilityCatalogsInternalNamespaceEnum Enum with underlying type: string

type ListOccAvailabilityCatalogsInternalNamespaceEnum string

Set of constants representing the allowable values for ListOccAvailabilityCatalogsInternalNamespaceEnum

const (
    ListOccAvailabilityCatalogsInternalNamespaceCompute ListOccAvailabilityCatalogsInternalNamespaceEnum = "COMPUTE"
)

func GetListOccAvailabilityCatalogsInternalNamespaceEnumValues

func GetListOccAvailabilityCatalogsInternalNamespaceEnumValues() []ListOccAvailabilityCatalogsInternalNamespaceEnum

GetListOccAvailabilityCatalogsInternalNamespaceEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsInternalNamespaceEnum

func GetMappingListOccAvailabilityCatalogsInternalNamespaceEnum

func GetMappingListOccAvailabilityCatalogsInternalNamespaceEnum(val string) (ListOccAvailabilityCatalogsInternalNamespaceEnum, bool)

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

type ListOccAvailabilityCatalogsInternalRequest

ListOccAvailabilityCatalogsInternalRequest wrapper for the ListOccAvailabilityCatalogsInternal operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccAvailabilityCatalogsInternal.go.html to see an example of how to use ListOccAvailabilityCatalogsInternalRequest.

type ListOccAvailabilityCatalogsInternalRequest struct {

    // The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The customer group ocid by which we would filter the list.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"query" name:"occCustomerGroupId"`

    // The namespace by which we would filter the list.
    Namespace ListOccAvailabilityCatalogsInternalNamespaceEnum `mandatory:"false" contributesTo:"query" name:"namespace" omitEmpty:"true"`

    // The OCID of the availability catalog to filter the list of availability catalogs.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

    // Filter the list of availability catalogs based on the catalog state.
    CatalogState OccAvailabilityCatalogCatalogStateEnum `mandatory:"false" contributesTo:"query" name:"catalogState" omitEmpty:"true"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

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

func (ListOccAvailabilityCatalogsInternalRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccAvailabilityCatalogsInternalRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccAvailabilityCatalogsInternalRequest) RetryPolicy

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

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

func (ListOccAvailabilityCatalogsInternalRequest) String

func (request ListOccAvailabilityCatalogsInternalRequest) String() string

func (ListOccAvailabilityCatalogsInternalRequest) ValidateEnumValue

func (request ListOccAvailabilityCatalogsInternalRequest) 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 ListOccAvailabilityCatalogsInternalResponse

ListOccAvailabilityCatalogsInternalResponse wrapper for the ListOccAvailabilityCatalogsInternal operation

type ListOccAvailabilityCatalogsInternalResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccAvailabilityCatalogCollection instances
    OccAvailabilityCatalogCollection `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"`
}

func (ListOccAvailabilityCatalogsInternalResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccAvailabilityCatalogsInternalResponse) String

func (response ListOccAvailabilityCatalogsInternalResponse) String() string

type ListOccAvailabilityCatalogsInternalSortByEnum

ListOccAvailabilityCatalogsInternalSortByEnum Enum with underlying type: string

type ListOccAvailabilityCatalogsInternalSortByEnum string

Set of constants representing the allowable values for ListOccAvailabilityCatalogsInternalSortByEnum

const (
    ListOccAvailabilityCatalogsInternalSortByDisplayname ListOccAvailabilityCatalogsInternalSortByEnum = "displayName"
    ListOccAvailabilityCatalogsInternalSortByTimecreated ListOccAvailabilityCatalogsInternalSortByEnum = "timeCreated"
)

func GetListOccAvailabilityCatalogsInternalSortByEnumValues

func GetListOccAvailabilityCatalogsInternalSortByEnumValues() []ListOccAvailabilityCatalogsInternalSortByEnum

GetListOccAvailabilityCatalogsInternalSortByEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsInternalSortByEnum

func GetMappingListOccAvailabilityCatalogsInternalSortByEnum

func GetMappingListOccAvailabilityCatalogsInternalSortByEnum(val string) (ListOccAvailabilityCatalogsInternalSortByEnum, bool)

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

type ListOccAvailabilityCatalogsInternalSortOrderEnum

ListOccAvailabilityCatalogsInternalSortOrderEnum Enum with underlying type: string

type ListOccAvailabilityCatalogsInternalSortOrderEnum string

Set of constants representing the allowable values for ListOccAvailabilityCatalogsInternalSortOrderEnum

const (
    ListOccAvailabilityCatalogsInternalSortOrderAsc  ListOccAvailabilityCatalogsInternalSortOrderEnum = "ASC"
    ListOccAvailabilityCatalogsInternalSortOrderDesc ListOccAvailabilityCatalogsInternalSortOrderEnum = "DESC"
)

func GetListOccAvailabilityCatalogsInternalSortOrderEnumValues

func GetListOccAvailabilityCatalogsInternalSortOrderEnumValues() []ListOccAvailabilityCatalogsInternalSortOrderEnum

GetListOccAvailabilityCatalogsInternalSortOrderEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsInternalSortOrderEnum

func GetMappingListOccAvailabilityCatalogsInternalSortOrderEnum

func GetMappingListOccAvailabilityCatalogsInternalSortOrderEnum(val string) (ListOccAvailabilityCatalogsInternalSortOrderEnum, bool)

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

type ListOccAvailabilityCatalogsNamespaceEnum

ListOccAvailabilityCatalogsNamespaceEnum Enum with underlying type: string

type ListOccAvailabilityCatalogsNamespaceEnum string

Set of constants representing the allowable values for ListOccAvailabilityCatalogsNamespaceEnum

const (
    ListOccAvailabilityCatalogsNamespaceCompute ListOccAvailabilityCatalogsNamespaceEnum = "COMPUTE"
)

func GetListOccAvailabilityCatalogsNamespaceEnumValues

func GetListOccAvailabilityCatalogsNamespaceEnumValues() []ListOccAvailabilityCatalogsNamespaceEnum

GetListOccAvailabilityCatalogsNamespaceEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsNamespaceEnum

func GetMappingListOccAvailabilityCatalogsNamespaceEnum

func GetMappingListOccAvailabilityCatalogsNamespaceEnum(val string) (ListOccAvailabilityCatalogsNamespaceEnum, bool)

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

type ListOccAvailabilityCatalogsRequest

ListOccAvailabilityCatalogsRequest wrapper for the ListOccAvailabilityCatalogs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccAvailabilityCatalogs.go.html to see an example of how to use ListOccAvailabilityCatalogsRequest.

type ListOccAvailabilityCatalogsRequest struct {

    // The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The namespace by which we would filter the list.
    Namespace ListOccAvailabilityCatalogsNamespaceEnum `mandatory:"false" contributesTo:"query" name:"namespace" omitEmpty:"true"`

    // The OCID of the availability catalog to filter the list of availability catalogs.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

    // Filter the list of availability catalogs based on the catalog state.
    CatalogState OccAvailabilityCatalogCatalogStateEnum `mandatory:"false" contributesTo:"query" name:"catalogState" omitEmpty:"true"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

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

func (ListOccAvailabilityCatalogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccAvailabilityCatalogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccAvailabilityCatalogsRequest) RetryPolicy

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

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

func (ListOccAvailabilityCatalogsRequest) String

func (request ListOccAvailabilityCatalogsRequest) String() string

func (ListOccAvailabilityCatalogsRequest) ValidateEnumValue

func (request ListOccAvailabilityCatalogsRequest) 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 ListOccAvailabilityCatalogsResponse

ListOccAvailabilityCatalogsResponse wrapper for the ListOccAvailabilityCatalogs operation

type ListOccAvailabilityCatalogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccAvailabilityCatalogCollection instances
    OccAvailabilityCatalogCollection `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"`
}

func (ListOccAvailabilityCatalogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccAvailabilityCatalogsResponse) String

func (response ListOccAvailabilityCatalogsResponse) String() string

type ListOccAvailabilityCatalogsSortByEnum

ListOccAvailabilityCatalogsSortByEnum Enum with underlying type: string

type ListOccAvailabilityCatalogsSortByEnum string

Set of constants representing the allowable values for ListOccAvailabilityCatalogsSortByEnum

const (
    ListOccAvailabilityCatalogsSortByDisplayname ListOccAvailabilityCatalogsSortByEnum = "displayName"
    ListOccAvailabilityCatalogsSortByTimecreated ListOccAvailabilityCatalogsSortByEnum = "timeCreated"
)

func GetListOccAvailabilityCatalogsSortByEnumValues

func GetListOccAvailabilityCatalogsSortByEnumValues() []ListOccAvailabilityCatalogsSortByEnum

GetListOccAvailabilityCatalogsSortByEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsSortByEnum

func GetMappingListOccAvailabilityCatalogsSortByEnum

func GetMappingListOccAvailabilityCatalogsSortByEnum(val string) (ListOccAvailabilityCatalogsSortByEnum, bool)

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

type ListOccAvailabilityCatalogsSortOrderEnum

ListOccAvailabilityCatalogsSortOrderEnum Enum with underlying type: string

type ListOccAvailabilityCatalogsSortOrderEnum string

Set of constants representing the allowable values for ListOccAvailabilityCatalogsSortOrderEnum

const (
    ListOccAvailabilityCatalogsSortOrderAsc  ListOccAvailabilityCatalogsSortOrderEnum = "ASC"
    ListOccAvailabilityCatalogsSortOrderDesc ListOccAvailabilityCatalogsSortOrderEnum = "DESC"
)

func GetListOccAvailabilityCatalogsSortOrderEnumValues

func GetListOccAvailabilityCatalogsSortOrderEnumValues() []ListOccAvailabilityCatalogsSortOrderEnum

GetListOccAvailabilityCatalogsSortOrderEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsSortOrderEnum

func GetMappingListOccAvailabilityCatalogsSortOrderEnum

func GetMappingListOccAvailabilityCatalogsSortOrderEnum(val string) (ListOccAvailabilityCatalogsSortOrderEnum, bool)

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

type ListOccCapacityRequestsInternalNamespaceEnum

ListOccCapacityRequestsInternalNamespaceEnum Enum with underlying type: string

type ListOccCapacityRequestsInternalNamespaceEnum string

Set of constants representing the allowable values for ListOccCapacityRequestsInternalNamespaceEnum

const (
    ListOccCapacityRequestsInternalNamespaceCompute ListOccCapacityRequestsInternalNamespaceEnum = "COMPUTE"
)

func GetListOccCapacityRequestsInternalNamespaceEnumValues

func GetListOccCapacityRequestsInternalNamespaceEnumValues() []ListOccCapacityRequestsInternalNamespaceEnum

GetListOccCapacityRequestsInternalNamespaceEnumValues Enumerates the set of values for ListOccCapacityRequestsInternalNamespaceEnum

func GetMappingListOccCapacityRequestsInternalNamespaceEnum

func GetMappingListOccCapacityRequestsInternalNamespaceEnum(val string) (ListOccCapacityRequestsInternalNamespaceEnum, bool)

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

type ListOccCapacityRequestsInternalRequest

ListOccCapacityRequestsInternalRequest wrapper for the ListOccCapacityRequestsInternal operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccCapacityRequestsInternal.go.html to see an example of how to use ListOccCapacityRequestsInternalRequest.

type ListOccCapacityRequestsInternalRequest struct {

    // The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The customer group ocid by which we would filter the list.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"query" name:"occCustomerGroupId"`

    // A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
    OccAvailabilityCatalogId *string `mandatory:"false" contributesTo:"query" name:"occAvailabilityCatalogId"`

    // The namespace by which we would filter the list.
    Namespace ListOccCapacityRequestsInternalNamespaceEnum `mandatory:"false" contributesTo:"query" name:"namespace" omitEmpty:"true"`

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

    // A filter to return only the resources that match the request type. The match is not case sensitive.
    RequestType OccCapacityRequestRequestTypeEnum `mandatory:"false" contributesTo:"query" name:"requestType" omitEmpty:"true"`

    // A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
    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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided. The default order for display name is ascending. The default order for time created is reverse chronological order(latest date at the top).
    SortBy ListOccCapacityRequestsInternalSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListOccCapacityRequestsInternalRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccCapacityRequestsInternalRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccCapacityRequestsInternalRequest) RetryPolicy

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

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

func (ListOccCapacityRequestsInternalRequest) String

func (request ListOccCapacityRequestsInternalRequest) String() string

func (ListOccCapacityRequestsInternalRequest) ValidateEnumValue

func (request ListOccCapacityRequestsInternalRequest) 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 ListOccCapacityRequestsInternalResponse

ListOccCapacityRequestsInternalResponse wrapper for the ListOccCapacityRequestsInternal operation

type ListOccCapacityRequestsInternalResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccCapacityRequestCollection instances
    OccCapacityRequestCollection `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"`
}

func (ListOccCapacityRequestsInternalResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccCapacityRequestsInternalResponse) String

func (response ListOccCapacityRequestsInternalResponse) String() string

type ListOccCapacityRequestsInternalSortByEnum

ListOccCapacityRequestsInternalSortByEnum Enum with underlying type: string

type ListOccCapacityRequestsInternalSortByEnum string

Set of constants representing the allowable values for ListOccCapacityRequestsInternalSortByEnum

const (
    ListOccCapacityRequestsInternalSortByDisplayname ListOccCapacityRequestsInternalSortByEnum = "displayName"
    ListOccCapacityRequestsInternalSortByTimecreated ListOccCapacityRequestsInternalSortByEnum = "timeCreated"
)

func GetListOccCapacityRequestsInternalSortByEnumValues

func GetListOccCapacityRequestsInternalSortByEnumValues() []ListOccCapacityRequestsInternalSortByEnum

GetListOccCapacityRequestsInternalSortByEnumValues Enumerates the set of values for ListOccCapacityRequestsInternalSortByEnum

func GetMappingListOccCapacityRequestsInternalSortByEnum

func GetMappingListOccCapacityRequestsInternalSortByEnum(val string) (ListOccCapacityRequestsInternalSortByEnum, bool)

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

type ListOccCapacityRequestsInternalSortOrderEnum

ListOccCapacityRequestsInternalSortOrderEnum Enum with underlying type: string

type ListOccCapacityRequestsInternalSortOrderEnum string

Set of constants representing the allowable values for ListOccCapacityRequestsInternalSortOrderEnum

const (
    ListOccCapacityRequestsInternalSortOrderAsc  ListOccCapacityRequestsInternalSortOrderEnum = "ASC"
    ListOccCapacityRequestsInternalSortOrderDesc ListOccCapacityRequestsInternalSortOrderEnum = "DESC"
)

func GetListOccCapacityRequestsInternalSortOrderEnumValues

func GetListOccCapacityRequestsInternalSortOrderEnumValues() []ListOccCapacityRequestsInternalSortOrderEnum

GetListOccCapacityRequestsInternalSortOrderEnumValues Enumerates the set of values for ListOccCapacityRequestsInternalSortOrderEnum

func GetMappingListOccCapacityRequestsInternalSortOrderEnum

func GetMappingListOccCapacityRequestsInternalSortOrderEnum(val string) (ListOccCapacityRequestsInternalSortOrderEnum, bool)

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

type ListOccCapacityRequestsNamespaceEnum

ListOccCapacityRequestsNamespaceEnum Enum with underlying type: string

type ListOccCapacityRequestsNamespaceEnum string

Set of constants representing the allowable values for ListOccCapacityRequestsNamespaceEnum

const (
    ListOccCapacityRequestsNamespaceCompute ListOccCapacityRequestsNamespaceEnum = "COMPUTE"
)

func GetListOccCapacityRequestsNamespaceEnumValues

func GetListOccCapacityRequestsNamespaceEnumValues() []ListOccCapacityRequestsNamespaceEnum

GetListOccCapacityRequestsNamespaceEnumValues Enumerates the set of values for ListOccCapacityRequestsNamespaceEnum

func GetMappingListOccCapacityRequestsNamespaceEnum

func GetMappingListOccCapacityRequestsNamespaceEnum(val string) (ListOccCapacityRequestsNamespaceEnum, bool)

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

type ListOccCapacityRequestsRequest

ListOccCapacityRequestsRequest wrapper for the ListOccCapacityRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccCapacityRequests.go.html to see an example of how to use ListOccCapacityRequestsRequest.

type ListOccCapacityRequestsRequest struct {

    // The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
    OccAvailabilityCatalogId *string `mandatory:"false" contributesTo:"query" name:"occAvailabilityCatalogId"`

    // The namespace by which we would filter the list.
    Namespace ListOccCapacityRequestsNamespaceEnum `mandatory:"false" contributesTo:"query" name:"namespace" omitEmpty:"true"`

    // A filter to return only the resources that match the request type. The match is not case sensitive.
    RequestType OccCapacityRequestRequestTypeEnum `mandatory:"false" contributesTo:"query" name:"requestType" omitEmpty:"true"`

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

    // A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
    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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided. The default order for display name is ascending. The default order for time created is reverse chronological order(latest date at the top).
    SortBy ListOccCapacityRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListOccCapacityRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccCapacityRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccCapacityRequestsRequest) RetryPolicy

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

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

func (ListOccCapacityRequestsRequest) String

func (request ListOccCapacityRequestsRequest) String() string

func (ListOccCapacityRequestsRequest) ValidateEnumValue

func (request ListOccCapacityRequestsRequest) 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 ListOccCapacityRequestsResponse

ListOccCapacityRequestsResponse wrapper for the ListOccCapacityRequests operation

type ListOccCapacityRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccCapacityRequestCollection instances
    OccCapacityRequestCollection `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"`
}

func (ListOccCapacityRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccCapacityRequestsResponse) String

func (response ListOccCapacityRequestsResponse) String() string

type ListOccCapacityRequestsSortByEnum

ListOccCapacityRequestsSortByEnum Enum with underlying type: string

type ListOccCapacityRequestsSortByEnum string

Set of constants representing the allowable values for ListOccCapacityRequestsSortByEnum

const (
    ListOccCapacityRequestsSortByDisplayname ListOccCapacityRequestsSortByEnum = "displayName"
    ListOccCapacityRequestsSortByTimecreated ListOccCapacityRequestsSortByEnum = "timeCreated"
)

func GetListOccCapacityRequestsSortByEnumValues

func GetListOccCapacityRequestsSortByEnumValues() []ListOccCapacityRequestsSortByEnum

GetListOccCapacityRequestsSortByEnumValues Enumerates the set of values for ListOccCapacityRequestsSortByEnum

func GetMappingListOccCapacityRequestsSortByEnum

func GetMappingListOccCapacityRequestsSortByEnum(val string) (ListOccCapacityRequestsSortByEnum, bool)

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

type ListOccCapacityRequestsSortOrderEnum

ListOccCapacityRequestsSortOrderEnum Enum with underlying type: string

type ListOccCapacityRequestsSortOrderEnum string

Set of constants representing the allowable values for ListOccCapacityRequestsSortOrderEnum

const (
    ListOccCapacityRequestsSortOrderAsc  ListOccCapacityRequestsSortOrderEnum = "ASC"
    ListOccCapacityRequestsSortOrderDesc ListOccCapacityRequestsSortOrderEnum = "DESC"
)

func GetListOccCapacityRequestsSortOrderEnumValues

func GetListOccCapacityRequestsSortOrderEnumValues() []ListOccCapacityRequestsSortOrderEnum

GetListOccCapacityRequestsSortOrderEnumValues Enumerates the set of values for ListOccCapacityRequestsSortOrderEnum

func GetMappingListOccCapacityRequestsSortOrderEnum

func GetMappingListOccCapacityRequestsSortOrderEnum(val string) (ListOccCapacityRequestsSortOrderEnum, bool)

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

type ListOccCustomerGroupsRequest

ListOccCustomerGroupsRequest wrapper for the ListOccCustomerGroups operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccCustomerGroups.go.html to see an example of how to use ListOccCustomerGroupsRequest.

type ListOccCustomerGroupsRequest struct {

    // The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A query filter to return the list result based on status.
    Status OccCustomerGroupStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

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

    // A query filter to return the list result based on the customer group OCID. This is done for users who have INSPECT permission but do not have READ permission.
    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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided. Default order for name and compartment ID is ascending. Default order for time created is descending.
    SortBy ListOccCustomerGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListOccCustomerGroupsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccCustomerGroupsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccCustomerGroupsRequest) RetryPolicy

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

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

func (ListOccCustomerGroupsRequest) String

func (request ListOccCustomerGroupsRequest) String() string

func (ListOccCustomerGroupsRequest) ValidateEnumValue

func (request ListOccCustomerGroupsRequest) 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 ListOccCustomerGroupsResponse

ListOccCustomerGroupsResponse wrapper for the ListOccCustomerGroups operation

type ListOccCustomerGroupsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccCustomerGroupCollection instances
    OccCustomerGroupCollection `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"`
}

func (ListOccCustomerGroupsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccCustomerGroupsResponse) String

func (response ListOccCustomerGroupsResponse) String() string

type ListOccCustomerGroupsSortByEnum

ListOccCustomerGroupsSortByEnum Enum with underlying type: string

type ListOccCustomerGroupsSortByEnum string

Set of constants representing the allowable values for ListOccCustomerGroupsSortByEnum

const (
    ListOccCustomerGroupsSortByCompartmentid ListOccCustomerGroupsSortByEnum = "compartmentId"
    ListOccCustomerGroupsSortByName          ListOccCustomerGroupsSortByEnum = "name"
    ListOccCustomerGroupsSortByTimecreated   ListOccCustomerGroupsSortByEnum = "timeCreated"
)

func GetListOccCustomerGroupsSortByEnumValues

func GetListOccCustomerGroupsSortByEnumValues() []ListOccCustomerGroupsSortByEnum

GetListOccCustomerGroupsSortByEnumValues Enumerates the set of values for ListOccCustomerGroupsSortByEnum

func GetMappingListOccCustomerGroupsSortByEnum

func GetMappingListOccCustomerGroupsSortByEnum(val string) (ListOccCustomerGroupsSortByEnum, bool)

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

type ListOccCustomerGroupsSortOrderEnum

ListOccCustomerGroupsSortOrderEnum Enum with underlying type: string

type ListOccCustomerGroupsSortOrderEnum string

Set of constants representing the allowable values for ListOccCustomerGroupsSortOrderEnum

const (
    ListOccCustomerGroupsSortOrderAsc  ListOccCustomerGroupsSortOrderEnum = "ASC"
    ListOccCustomerGroupsSortOrderDesc ListOccCustomerGroupsSortOrderEnum = "DESC"
)

func GetListOccCustomerGroupsSortOrderEnumValues

func GetListOccCustomerGroupsSortOrderEnumValues() []ListOccCustomerGroupsSortOrderEnum

GetListOccCustomerGroupsSortOrderEnumValues Enumerates the set of values for ListOccCustomerGroupsSortOrderEnum

func GetMappingListOccCustomerGroupsSortOrderEnum

func GetMappingListOccCustomerGroupsSortOrderEnum(val string) (ListOccCustomerGroupsSortOrderEnum, bool)

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

type ListOccHandoverResourceBlockDetailsRequest

ListOccHandoverResourceBlockDetailsRequest wrapper for the ListOccHandoverResourceBlockDetails operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccHandoverResourceBlockDetails.go.html to see an example of how to use ListOccHandoverResourceBlockDetailsRequest.

type ListOccHandoverResourceBlockDetailsRequest struct {

    // The OCID of the OccHandoverResource which is a required query parameter for listing OccHandoverResourceDetails.
    OccHandoverResourceBlockId *string `mandatory:"true" contributesTo:"query" name:"occHandoverResourceBlockId"`

    // This fiter is applicable only for COMPUTE namespace. It helps in fetching of all resource block details for which the hostId is equal to the one provided in this query param.
    HostId *string `mandatory:"false" contributesTo:"query" name:"hostId"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided.
    // The default order for handoverDate is chronological order(latest date item at the end).
    SortBy ListOccHandoverResourceBlockDetailsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListOccHandoverResourceBlockDetailsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccHandoverResourceBlockDetailsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccHandoverResourceBlockDetailsRequest) RetryPolicy

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

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

func (ListOccHandoverResourceBlockDetailsRequest) String

func (request ListOccHandoverResourceBlockDetailsRequest) String() string

func (ListOccHandoverResourceBlockDetailsRequest) ValidateEnumValue

func (request ListOccHandoverResourceBlockDetailsRequest) 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 ListOccHandoverResourceBlockDetailsResponse

ListOccHandoverResourceBlockDetailsResponse wrapper for the ListOccHandoverResourceBlockDetails operation

type ListOccHandoverResourceBlockDetailsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccHandoverResourceBlockDetailCollection instances
    OccHandoverResourceBlockDetailCollection `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"`
}

func (ListOccHandoverResourceBlockDetailsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccHandoverResourceBlockDetailsResponse) String

func (response ListOccHandoverResourceBlockDetailsResponse) String() string

type ListOccHandoverResourceBlockDetailsSortByEnum

ListOccHandoverResourceBlockDetailsSortByEnum Enum with underlying type: string

type ListOccHandoverResourceBlockDetailsSortByEnum string

Set of constants representing the allowable values for ListOccHandoverResourceBlockDetailsSortByEnum

const (
    ListOccHandoverResourceBlockDetailsSortByHandoverdate ListOccHandoverResourceBlockDetailsSortByEnum = "handoverDate"
)

func GetListOccHandoverResourceBlockDetailsSortByEnumValues

func GetListOccHandoverResourceBlockDetailsSortByEnumValues() []ListOccHandoverResourceBlockDetailsSortByEnum

GetListOccHandoverResourceBlockDetailsSortByEnumValues Enumerates the set of values for ListOccHandoverResourceBlockDetailsSortByEnum

func GetMappingListOccHandoverResourceBlockDetailsSortByEnum

func GetMappingListOccHandoverResourceBlockDetailsSortByEnum(val string) (ListOccHandoverResourceBlockDetailsSortByEnum, bool)

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

type ListOccHandoverResourceBlockDetailsSortOrderEnum

ListOccHandoverResourceBlockDetailsSortOrderEnum Enum with underlying type: string

type ListOccHandoverResourceBlockDetailsSortOrderEnum string

Set of constants representing the allowable values for ListOccHandoverResourceBlockDetailsSortOrderEnum

const (
    ListOccHandoverResourceBlockDetailsSortOrderAsc  ListOccHandoverResourceBlockDetailsSortOrderEnum = "ASC"
    ListOccHandoverResourceBlockDetailsSortOrderDesc ListOccHandoverResourceBlockDetailsSortOrderEnum = "DESC"
)

func GetListOccHandoverResourceBlockDetailsSortOrderEnumValues

func GetListOccHandoverResourceBlockDetailsSortOrderEnumValues() []ListOccHandoverResourceBlockDetailsSortOrderEnum

GetListOccHandoverResourceBlockDetailsSortOrderEnumValues Enumerates the set of values for ListOccHandoverResourceBlockDetailsSortOrderEnum

func GetMappingListOccHandoverResourceBlockDetailsSortOrderEnum

func GetMappingListOccHandoverResourceBlockDetailsSortOrderEnum(val string) (ListOccHandoverResourceBlockDetailsSortOrderEnum, bool)

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

type ListOccHandoverResourceBlocksNamespaceEnum

ListOccHandoverResourceBlocksNamespaceEnum Enum with underlying type: string

type ListOccHandoverResourceBlocksNamespaceEnum string

Set of constants representing the allowable values for ListOccHandoverResourceBlocksNamespaceEnum

const (
    ListOccHandoverResourceBlocksNamespaceCompute ListOccHandoverResourceBlocksNamespaceEnum = "COMPUTE"
)

func GetListOccHandoverResourceBlocksNamespaceEnumValues

func GetListOccHandoverResourceBlocksNamespaceEnumValues() []ListOccHandoverResourceBlocksNamespaceEnum

GetListOccHandoverResourceBlocksNamespaceEnumValues Enumerates the set of values for ListOccHandoverResourceBlocksNamespaceEnum

func GetMappingListOccHandoverResourceBlocksNamespaceEnum

func GetMappingListOccHandoverResourceBlocksNamespaceEnum(val string) (ListOccHandoverResourceBlocksNamespaceEnum, bool)

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

type ListOccHandoverResourceBlocksRequest

ListOccHandoverResourceBlocksRequest wrapper for the ListOccHandoverResourceBlocks operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccHandoverResourceBlocks.go.html to see an example of how to use ListOccHandoverResourceBlocksRequest.

type ListOccHandoverResourceBlocksRequest struct {

    // The namespace by which we would filter the list.
    Namespace ListOccHandoverResourceBlocksNamespaceEnum `mandatory:"false" contributesTo:"query" name:"namespace" omitEmpty:"true"`

    // The OCID of the compartment or tenancy in which resources are to be listed.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only the list of resources that match the name provided in this filter.
    HandoverResourceName *string `mandatory:"false" contributesTo:"query" name:"handoverResourceName"`

    // This filter helps in fetching all handed over resources for which the recordDate is greater than or equal to the startDate.
    HandoverDateGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"handoverDateGreaterThanOrEqualTo"`

    // This filter helps in fetching all handed over resources for which the recordDate is less than or equal to the endDate.
    HandoverDateLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"handoverDateLessThanOrEqualTo"`

    // This filter helps in fetching the handed over resource for which the occHandoverResourceId is equal to the one provided here.
    OccHandoverResourceBlockId *string `mandatory:"false" contributesTo:"query" name:"occHandoverResourceBlockId"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided.
    // The default order for handoverDate is chronological order(latest date item at the end).
    SortBy ListOccHandoverResourceBlocksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListOccHandoverResourceBlocksRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccHandoverResourceBlocksRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccHandoverResourceBlocksRequest) RetryPolicy

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

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

func (ListOccHandoverResourceBlocksRequest) String

func (request ListOccHandoverResourceBlocksRequest) String() string

func (ListOccHandoverResourceBlocksRequest) ValidateEnumValue

func (request ListOccHandoverResourceBlocksRequest) 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 ListOccHandoverResourceBlocksResponse

ListOccHandoverResourceBlocksResponse wrapper for the ListOccHandoverResourceBlocks operation

type ListOccHandoverResourceBlocksResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccHandoverResourceBlockCollection instances
    OccHandoverResourceBlockCollection `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"`
}

func (ListOccHandoverResourceBlocksResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccHandoverResourceBlocksResponse) String

func (response ListOccHandoverResourceBlocksResponse) String() string

type ListOccHandoverResourceBlocksSortByEnum

ListOccHandoverResourceBlocksSortByEnum Enum with underlying type: string

type ListOccHandoverResourceBlocksSortByEnum string

Set of constants representing the allowable values for ListOccHandoverResourceBlocksSortByEnum

const (
    ListOccHandoverResourceBlocksSortByHandoverdate ListOccHandoverResourceBlocksSortByEnum = "handoverDate"
)

func GetListOccHandoverResourceBlocksSortByEnumValues

func GetListOccHandoverResourceBlocksSortByEnumValues() []ListOccHandoverResourceBlocksSortByEnum

GetListOccHandoverResourceBlocksSortByEnumValues Enumerates the set of values for ListOccHandoverResourceBlocksSortByEnum

func GetMappingListOccHandoverResourceBlocksSortByEnum

func GetMappingListOccHandoverResourceBlocksSortByEnum(val string) (ListOccHandoverResourceBlocksSortByEnum, bool)

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

type ListOccHandoverResourceBlocksSortOrderEnum

ListOccHandoverResourceBlocksSortOrderEnum Enum with underlying type: string

type ListOccHandoverResourceBlocksSortOrderEnum string

Set of constants representing the allowable values for ListOccHandoverResourceBlocksSortOrderEnum

const (
    ListOccHandoverResourceBlocksSortOrderAsc  ListOccHandoverResourceBlocksSortOrderEnum = "ASC"
    ListOccHandoverResourceBlocksSortOrderDesc ListOccHandoverResourceBlocksSortOrderEnum = "DESC"
)

func GetListOccHandoverResourceBlocksSortOrderEnumValues

func GetListOccHandoverResourceBlocksSortOrderEnumValues() []ListOccHandoverResourceBlocksSortOrderEnum

GetListOccHandoverResourceBlocksSortOrderEnumValues Enumerates the set of values for ListOccHandoverResourceBlocksSortOrderEnum

func GetMappingListOccHandoverResourceBlocksSortOrderEnum

func GetMappingListOccHandoverResourceBlocksSortOrderEnum(val string) (ListOccHandoverResourceBlocksSortOrderEnum, bool)

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

type ListOccOverviewsNamespaceEnum

ListOccOverviewsNamespaceEnum Enum with underlying type: string

type ListOccOverviewsNamespaceEnum string

Set of constants representing the allowable values for ListOccOverviewsNamespaceEnum

const (
    ListOccOverviewsNamespaceCompute ListOccOverviewsNamespaceEnum = "COMPUTE"
)

func GetListOccOverviewsNamespaceEnumValues

func GetListOccOverviewsNamespaceEnumValues() []ListOccOverviewsNamespaceEnum

GetListOccOverviewsNamespaceEnumValues Enumerates the set of values for ListOccOverviewsNamespaceEnum

func GetMappingListOccOverviewsNamespaceEnum

func GetMappingListOccOverviewsNamespaceEnum(val string) (ListOccOverviewsNamespaceEnum, bool)

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

type ListOccOverviewsRequest

ListOccOverviewsRequest wrapper for the ListOccOverviews operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/ListOccOverviews.go.html to see an example of how to use ListOccOverviewsRequest.

type ListOccOverviewsRequest struct {

    // The namespace by which we would filter the list.
    Namespace ListOccOverviewsNamespaceEnum `mandatory:"true" contributesTo:"path" name:"namespace"`

    // The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
    From *common.SDKTime `mandatory:"false" contributesTo:"query" name:"from"`

    // The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
    To *common.SDKTime `mandatory:"false" contributesTo:"query" name:"to"`

    // Workload type using the resources in an availability catalog can be filtered.
    WorkloadType *string `mandatory:"false" contributesTo:"query" name:"workloadType"`

    // 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 `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

    // The field to sort by. Only one sort order may be provided. The default order for periodValue is chronological order(latest month item at the end).
    SortBy ListOccOverviewsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListOccOverviewsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOccOverviewsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOccOverviewsRequest) RetryPolicy

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

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

func (ListOccOverviewsRequest) String

func (request ListOccOverviewsRequest) String() string

func (ListOccOverviewsRequest) ValidateEnumValue

func (request ListOccOverviewsRequest) 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 ListOccOverviewsResponse

ListOccOverviewsResponse wrapper for the ListOccOverviews operation

type ListOccOverviewsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OccOverviewCollection instances
    OccOverviewCollection `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"`
}

func (ListOccOverviewsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOccOverviewsResponse) String

func (response ListOccOverviewsResponse) String() string

type ListOccOverviewsSortByEnum

ListOccOverviewsSortByEnum Enum with underlying type: string

type ListOccOverviewsSortByEnum string

Set of constants representing the allowable values for ListOccOverviewsSortByEnum

const (
    ListOccOverviewsSortByPeriodvalue ListOccOverviewsSortByEnum = "periodValue"
)

func GetListOccOverviewsSortByEnumValues

func GetListOccOverviewsSortByEnumValues() []ListOccOverviewsSortByEnum

GetListOccOverviewsSortByEnumValues Enumerates the set of values for ListOccOverviewsSortByEnum

func GetMappingListOccOverviewsSortByEnum

func GetMappingListOccOverviewsSortByEnum(val string) (ListOccOverviewsSortByEnum, bool)

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

type ListOccOverviewsSortOrderEnum

ListOccOverviewsSortOrderEnum Enum with underlying type: string

type ListOccOverviewsSortOrderEnum string

Set of constants representing the allowable values for ListOccOverviewsSortOrderEnum

const (
    ListOccOverviewsSortOrderAsc  ListOccOverviewsSortOrderEnum = "ASC"
    ListOccOverviewsSortOrderDesc ListOccOverviewsSortOrderEnum = "DESC"
)

func GetListOccOverviewsSortOrderEnumValues

func GetListOccOverviewsSortOrderEnumValues() []ListOccOverviewsSortOrderEnum

GetListOccOverviewsSortOrderEnumValues Enumerates the set of values for ListOccOverviewsSortOrderEnum

func GetMappingListOccOverviewsSortOrderEnum

func GetMappingListOccOverviewsSortOrderEnum(val string) (ListOccOverviewsSortOrderEnum, bool)

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

type MetadataDetails

MetadataDetails Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.

type MetadataDetails struct {

    // The version for the format of the catalog file being uploaded.
    FormatVersion MetadataDetailsFormatVersionEnum `mandatory:"true" json:"formatVersion"`
}

func (MetadataDetails) String

func (m MetadataDetails) String() string

func (MetadataDetails) ValidateEnumValue

func (m MetadataDetails) 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 MetadataDetailsFormatVersionEnum

MetadataDetailsFormatVersionEnum Enum with underlying type: string

type MetadataDetailsFormatVersionEnum string

Set of constants representing the allowable values for MetadataDetailsFormatVersionEnum

const (
    MetadataDetailsFormatVersionV1 MetadataDetailsFormatVersionEnum = "V1"
    MetadataDetailsFormatVersionV2 MetadataDetailsFormatVersionEnum = "V2"
)

func GetMappingMetadataDetailsFormatVersionEnum

func GetMappingMetadataDetailsFormatVersionEnum(val string) (MetadataDetailsFormatVersionEnum, bool)

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

func GetMetadataDetailsFormatVersionEnumValues

func GetMetadataDetailsFormatVersionEnumValues() []MetadataDetailsFormatVersionEnum

GetMetadataDetailsFormatVersionEnumValues Enumerates the set of values for MetadataDetailsFormatVersionEnum

type NamespaceEnum

NamespaceEnum Enum with underlying type: string

type NamespaceEnum string

Set of constants representing the allowable values for NamespaceEnum

const (
    NamespaceCompute NamespaceEnum = "COMPUTE"
)

func GetMappingNamespaceEnum

func GetMappingNamespaceEnum(val string) (NamespaceEnum, bool)

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

func GetNamespaceEnumValues

func GetNamespaceEnumValues() []NamespaceEnum

GetNamespaceEnumValues Enumerates the set of values for NamespaceEnum

type OccAvailabilityCatalog

OccAvailabilityCatalog Details of the availability catalog resource.

type OccAvailabilityCatalog struct {

    // The OCID of the availability catalog.
    Id *string `mandatory:"true" json:"id"`

    // The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
    Namespace NamespaceEnum `mandatory:"true" json:"namespace"`

    // The OCID of the tenancy where the availability catalog resides.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name for the availability catalog.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The customer group OCID to which the availability catalog belongs.
    OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"`

    // The different states associated with the availability catalog.
    CatalogState OccAvailabilityCatalogCatalogStateEnum `mandatory:"true" json:"catalogState"`

    MetadataDetails *MetadataDetails `mandatory:"true" json:"metadataDetails"`

    // The time when the availability catalog was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the availability catalog was last updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The current lifecycle state of the resource.
    LifecycleState OccAvailabilityCatalogLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Text information about the availability catalog.
    Description *string `mandatory:"false" json:"description"`

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

    // 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"`

    // 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"`

    // Details about capacity available for different resources in catalog.
    Details []OccAvailabilitySummary `mandatory:"false" json:"details"`
}

func (OccAvailabilityCatalog) String

func (m OccAvailabilityCatalog) String() string

func (OccAvailabilityCatalog) ValidateEnumValue

func (m OccAvailabilityCatalog) 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 OccAvailabilityCatalogCatalogStateEnum

OccAvailabilityCatalogCatalogStateEnum Enum with underlying type: string

type OccAvailabilityCatalogCatalogStateEnum string

Set of constants representing the allowable values for OccAvailabilityCatalogCatalogStateEnum

const (
    OccAvailabilityCatalogCatalogStateNotUploaded  OccAvailabilityCatalogCatalogStateEnum = "NOT_UPLOADED"
    OccAvailabilityCatalogCatalogStateUploadFailed OccAvailabilityCatalogCatalogStateEnum = "UPLOAD_FAILED"
    OccAvailabilityCatalogCatalogStateStaged       OccAvailabilityCatalogCatalogStateEnum = "STAGED"
    OccAvailabilityCatalogCatalogStatePublished    OccAvailabilityCatalogCatalogStateEnum = "PUBLISHED"
    OccAvailabilityCatalogCatalogStateOutdated     OccAvailabilityCatalogCatalogStateEnum = "OUTDATED"
    OccAvailabilityCatalogCatalogStateDeleted      OccAvailabilityCatalogCatalogStateEnum = "DELETED"
)

func GetMappingOccAvailabilityCatalogCatalogStateEnum

func GetMappingOccAvailabilityCatalogCatalogStateEnum(val string) (OccAvailabilityCatalogCatalogStateEnum, bool)

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

func GetOccAvailabilityCatalogCatalogStateEnumValues

func GetOccAvailabilityCatalogCatalogStateEnumValues() []OccAvailabilityCatalogCatalogStateEnum

GetOccAvailabilityCatalogCatalogStateEnumValues Enumerates the set of values for OccAvailabilityCatalogCatalogStateEnum

type OccAvailabilityCatalogCollection

OccAvailabilityCatalogCollection A list of availability catalogs.

type OccAvailabilityCatalogCollection struct {

    // An array of availability catalogs.
    Items []OccAvailabilityCatalogSummary `mandatory:"true" json:"items"`
}

func (OccAvailabilityCatalogCollection) String

func (m OccAvailabilityCatalogCollection) String() string

func (OccAvailabilityCatalogCollection) ValidateEnumValue

func (m OccAvailabilityCatalogCollection) 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 OccAvailabilityCatalogLifecycleStateEnum

OccAvailabilityCatalogLifecycleStateEnum Enum with underlying type: string

type OccAvailabilityCatalogLifecycleStateEnum string

Set of constants representing the allowable values for OccAvailabilityCatalogLifecycleStateEnum

const (
    OccAvailabilityCatalogLifecycleStateCreating OccAvailabilityCatalogLifecycleStateEnum = "CREATING"
    OccAvailabilityCatalogLifecycleStateUpdating OccAvailabilityCatalogLifecycleStateEnum = "UPDATING"
    OccAvailabilityCatalogLifecycleStateActive   OccAvailabilityCatalogLifecycleStateEnum = "ACTIVE"
    OccAvailabilityCatalogLifecycleStateDeleting OccAvailabilityCatalogLifecycleStateEnum = "DELETING"
    OccAvailabilityCatalogLifecycleStateDeleted  OccAvailabilityCatalogLifecycleStateEnum = "DELETED"
    OccAvailabilityCatalogLifecycleStateFailed   OccAvailabilityCatalogLifecycleStateEnum = "FAILED"
)

func GetMappingOccAvailabilityCatalogLifecycleStateEnum

func GetMappingOccAvailabilityCatalogLifecycleStateEnum(val string) (OccAvailabilityCatalogLifecycleStateEnum, bool)

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

func GetOccAvailabilityCatalogLifecycleStateEnumValues

func GetOccAvailabilityCatalogLifecycleStateEnumValues() []OccAvailabilityCatalogLifecycleStateEnum

GetOccAvailabilityCatalogLifecycleStateEnumValues Enumerates the set of values for OccAvailabilityCatalogLifecycleStateEnum

type OccAvailabilityCatalogSummary

OccAvailabilityCatalogSummary A catalog containing resource availability details for a customer.

type OccAvailabilityCatalogSummary struct {

    // The OCID of the availability catalog.
    Id *string `mandatory:"true" json:"id"`

    // The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
    Namespace NamespaceEnum `mandatory:"true" json:"namespace"`

    // The OCID of the tenancy where the availability catalog resides.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // An user-friendly name for the availability catalog. Does not have to be unique, and is changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The Customer Group OCID to which the availability catalog belongs.
    OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"`

    // Represents whether this version of the availability catalog has been made available to the customer. The state is No by default.
    CatalogState OccAvailabilityCatalogCatalogStateEnum `mandatory:"true" json:"catalogState"`

    MetadataDetails *MetadataDetails `mandatory:"true" json:"metadataDetails"`

    // The time when the availability catalog was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the availability catalog was last updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The current lifecycle state of the customer group.
    LifecycleState OccAvailabilityCatalogLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Text information about the availability catalog.
    Description *string `mandatory:"false" json:"description"`

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

    // 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"`

    // 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 (OccAvailabilityCatalogSummary) String

func (m OccAvailabilityCatalogSummary) String() string

func (OccAvailabilityCatalogSummary) ValidateEnumValue

func (m OccAvailabilityCatalogSummary) 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 OccAvailabilityCollection

OccAvailabilityCollection A list of capacity constraints.

type OccAvailabilityCollection struct {

    // An array of capacity constraints.
    Items []OccAvailabilitySummary `mandatory:"true" json:"items"`
}

func (OccAvailabilityCollection) String

func (m OccAvailabilityCollection) String() string

func (OccAvailabilityCollection) ValidateEnumValue

func (m OccAvailabilityCollection) 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 OccAvailabilitySummary

OccAvailabilitySummary The details about the available capacity and constraints for different resource types present in the availability catalog.

type OccAvailabilitySummary struct {

    // The OCID of the availability catalog.
    CatalogId *string `mandatory:"true" json:"catalogId"`

    // The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
    Namespace NamespaceEnum `mandatory:"true" json:"namespace"`

    // The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
    DateFinalCustomerOrder *common.SDKTime `mandatory:"true" json:"dateFinalCustomerOrder"`

    // The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    DateExpectedCapacityHandover *common.SDKTime `mandatory:"true" json:"dateExpectedCapacityHandover"`

    // The different types of resources against which customers can place capacity requests.
    ResourceType *string `mandatory:"true" json:"resourceType"`

    // The type of workload (Generic/ROW).
    WorkloadType *string `mandatory:"true" json:"workloadType"`

    // The name of the resource that the customer can request.
    ResourceName *string `mandatory:"true" json:"resourceName"`

    // The quantity of resource currently available that the customer can request.
    AvailableQuantity *int64 `mandatory:"true" json:"availableQuantity"`

    // The total quantity of resource that the customer can request.
    TotalAvailableQuantity *int64 `mandatory:"true" json:"totalAvailableQuantity"`

    // The quantity of resource currently demanded by the customer.
    DemandedQuantity *int64 `mandatory:"true" json:"demandedQuantity"`

    // The unit in which the resource available is measured.
    Unit *string `mandatory:"true" json:"unit"`

    // 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 (OccAvailabilitySummary) String

func (m OccAvailabilitySummary) String() string

func (OccAvailabilitySummary) ValidateEnumValue

func (m OccAvailabilitySummary) 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 OccCapacityRequest

OccCapacityRequest A single request of some quantity of a specific server type, in a specific location and expected delivery date. The maximum amount possible to request is the smallest number between the number of servers available for purchase and the number of servers allowed by the constraints (For example, power, network, physical space, and so on).

type OccCapacityRequest struct {

    // The OCID of the capacity request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the tenancy from which the request was made.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID of the availability catalog against which the capacity request was placed.
    OccAvailabilityCatalogId *string `mandatory:"true" json:"occAvailabilityCatalogId"`

    // The display name of the capacity request.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
    Namespace NamespaceEnum `mandatory:"true" json:"namespace"`

    // The OCID of the customer group to which this customer belongs to.
    OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"`

    // The name of the region for which the capacity request was made.
    Region *string `mandatory:"true" json:"region"`

    // The availability domain (AD) for which the capacity request was made.
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    DateExpectedCapacityHandover *common.SDKTime `mandatory:"true" json:"dateExpectedCapacityHandover"`

    // The different states the capacity request goes through.
    RequestState OccCapacityRequestRequestStateEnum `mandatory:"true" json:"requestState"`

    // The time when the capacity request was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the capacity request was updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The current lifecycle state of the resource.
    LifecycleState OccCapacityRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A list of resources requested as part of this request
    Details []OccCapacityRequestBaseDetails `mandatory:"true" json:"details"`

    // Meaningful text about the capacity request.
    Description *string `mandatory:"false" json:"description"`

    // Type of Capacity Request(New or Transfer)
    RequestType OccCapacityRequestRequestTypeEnum `mandatory:"false" json:"requestType,omitempty"`

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

    // 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"`

    // 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 (OccCapacityRequest) String

func (m OccCapacityRequest) String() string

func (OccCapacityRequest) ValidateEnumValue

func (m OccCapacityRequest) 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 OccCapacityRequestBaseDetails

OccCapacityRequestBaseDetails The details of the create capacity request. This model serves as a base for different namespaces.

type OccCapacityRequestBaseDetails struct {

    // The type of the resource against which the user wants to place a capacity request.
    ResourceType *string `mandatory:"true" json:"resourceType"`

    // The type of the workload (Generic/ROW).
    WorkloadType *string `mandatory:"true" json:"workloadType"`

    // The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
    ResourceName *string `mandatory:"true" json:"resourceName"`

    // The number of compute server's with name <resourceName> required by the user.
    DemandQuantity *int64 `mandatory:"true" json:"demandQuantity"`

    // The WorkloadType from where capacity request are to be transferred.
    SourceWorkloadType *string `mandatory:"false" json:"sourceWorkloadType"`

    // The incremental quantity of resources supplied as the provisioning is underway.
    ExpectedHandoverQuantity *int64 `mandatory:"false" json:"expectedHandoverQuantity"`

    // The date on which the latest increment to supplied quantity of resources was delivered.
    DateExpectedHandover *common.SDKTime `mandatory:"false" json:"dateExpectedHandover"`

    // The actual handed over quantity of resources at the time of request resolution.
    ActualHandoverQuantity *int64 `mandatory:"false" json:"actualHandoverQuantity"`

    // The date on which the actual handover quantity of resources is delivered.
    DateActualHandover *common.SDKTime `mandatory:"false" json:"dateActualHandover"`

    // The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
    AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

    // A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.
    AssociatedOccHandoverResourceBlockList []AssociatedOccHandoverResourceBlock `mandatory:"false" json:"associatedOccHandoverResourceBlockList"`
}

func (OccCapacityRequestBaseDetails) String

func (m OccCapacityRequestBaseDetails) String() string

func (OccCapacityRequestBaseDetails) ValidateEnumValue

func (m OccCapacityRequestBaseDetails) 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 OccCapacityRequestCollection

OccCapacityRequestCollection A list of capacity requests.

type OccCapacityRequestCollection struct {

    // An array of capacity requests.
    Items []OccCapacityRequestSummary `mandatory:"true" json:"items"`
}

func (OccCapacityRequestCollection) String

func (m OccCapacityRequestCollection) String() string

func (OccCapacityRequestCollection) ValidateEnumValue

func (m OccCapacityRequestCollection) 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 OccCapacityRequestLifecycleStateEnum

OccCapacityRequestLifecycleStateEnum Enum with underlying type: string

type OccCapacityRequestLifecycleStateEnum string

Set of constants representing the allowable values for OccCapacityRequestLifecycleStateEnum

const (
    OccCapacityRequestLifecycleStateCreating OccCapacityRequestLifecycleStateEnum = "CREATING"
    OccCapacityRequestLifecycleStateUpdating OccCapacityRequestLifecycleStateEnum = "UPDATING"
    OccCapacityRequestLifecycleStateActive   OccCapacityRequestLifecycleStateEnum = "ACTIVE"
    OccCapacityRequestLifecycleStateDeleting OccCapacityRequestLifecycleStateEnum = "DELETING"
    OccCapacityRequestLifecycleStateDeleted  OccCapacityRequestLifecycleStateEnum = "DELETED"
    OccCapacityRequestLifecycleStateFailed   OccCapacityRequestLifecycleStateEnum = "FAILED"
)

func GetMappingOccCapacityRequestLifecycleStateEnum

func GetMappingOccCapacityRequestLifecycleStateEnum(val string) (OccCapacityRequestLifecycleStateEnum, bool)

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

func GetOccCapacityRequestLifecycleStateEnumValues

func GetOccCapacityRequestLifecycleStateEnumValues() []OccCapacityRequestLifecycleStateEnum

GetOccCapacityRequestLifecycleStateEnumValues Enumerates the set of values for OccCapacityRequestLifecycleStateEnum

type OccCapacityRequestRequestStateEnum

OccCapacityRequestRequestStateEnum Enum with underlying type: string

type OccCapacityRequestRequestStateEnum string

Set of constants representing the allowable values for OccCapacityRequestRequestStateEnum

const (
    OccCapacityRequestRequestStateCreated            OccCapacityRequestRequestStateEnum = "CREATED"
    OccCapacityRequestRequestStateSubmitted          OccCapacityRequestRequestStateEnum = "SUBMITTED"
    OccCapacityRequestRequestStateRejected           OccCapacityRequestRequestStateEnum = "REJECTED"
    OccCapacityRequestRequestStateInProgress         OccCapacityRequestRequestStateEnum = "IN_PROGRESS"
    OccCapacityRequestRequestStateCompleted          OccCapacityRequestRequestStateEnum = "COMPLETED"
    OccCapacityRequestRequestStatePartiallyCompleted OccCapacityRequestRequestStateEnum = "PARTIALLY_COMPLETED"
    OccCapacityRequestRequestStateCancelled          OccCapacityRequestRequestStateEnum = "CANCELLED"
    OccCapacityRequestRequestStateDeleted            OccCapacityRequestRequestStateEnum = "DELETED"
)

func GetMappingOccCapacityRequestRequestStateEnum

func GetMappingOccCapacityRequestRequestStateEnum(val string) (OccCapacityRequestRequestStateEnum, bool)

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

func GetOccCapacityRequestRequestStateEnumValues

func GetOccCapacityRequestRequestStateEnumValues() []OccCapacityRequestRequestStateEnum

GetOccCapacityRequestRequestStateEnumValues Enumerates the set of values for OccCapacityRequestRequestStateEnum

type OccCapacityRequestRequestTypeEnum

OccCapacityRequestRequestTypeEnum Enum with underlying type: string

type OccCapacityRequestRequestTypeEnum string

Set of constants representing the allowable values for OccCapacityRequestRequestTypeEnum

const (
    OccCapacityRequestRequestTypeNew      OccCapacityRequestRequestTypeEnum = "NEW"
    OccCapacityRequestRequestTypeTransfer OccCapacityRequestRequestTypeEnum = "TRANSFER"
)

func GetMappingOccCapacityRequestRequestTypeEnum

func GetMappingOccCapacityRequestRequestTypeEnum(val string) (OccCapacityRequestRequestTypeEnum, bool)

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

func GetOccCapacityRequestRequestTypeEnumValues

func GetOccCapacityRequestRequestTypeEnumValues() []OccCapacityRequestRequestTypeEnum

GetOccCapacityRequestRequestTypeEnumValues Enumerates the set of values for OccCapacityRequestRequestTypeEnum

type OccCapacityRequestSummary

OccCapacityRequestSummary A summary model for the capacity request model.

type OccCapacityRequestSummary struct {

    // The OCID of the capacity request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the tenancy from which the request was made.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID of the availability catalog against which the capacity request was placed.
    OccAvailabilityCatalogId *string `mandatory:"true" json:"occAvailabilityCatalogId"`

    // The display name of the capacity request.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
    Namespace NamespaceEnum `mandatory:"true" json:"namespace"`

    // The OCID of the customer group to which this customer belongs to.
    OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"`

    // The name of the region for which the capacity request was made.
    Region *string `mandatory:"true" json:"region"`

    // The availability domain (AD) for which the capacity request was made.
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    DateExpectedCapacityHandover *common.SDKTime `mandatory:"true" json:"dateExpectedCapacityHandover"`

    // A list of states through which the capacity request goes by.
    RequestState OccCapacityRequestRequestStateEnum `mandatory:"true" json:"requestState"`

    // The time when the capacity request was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the capacity request was updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The current lifecycle state of the customer group.
    LifecycleState OccCapacityRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Meaningful text about the capacity request.
    Description *string `mandatory:"false" json:"description"`

    // Type of Capacity Request(New or Transfer)
    RequestType OccCapacityRequestRequestTypeEnum `mandatory:"false" json:"requestType,omitempty"`

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

    // 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"`

    // 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 (OccCapacityRequestSummary) String

func (m OccCapacityRequestSummary) String() string

func (OccCapacityRequestSummary) ValidateEnumValue

func (m OccCapacityRequestSummary) 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 OccCustomer

OccCustomer The details about the customer.

type OccCustomer struct {

    // The OCID of the customer group.
    OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"`

    // The OCID of the tenancy belonging to the customer.
    TenancyId *string `mandatory:"true" json:"tenancyId"`

    // The display name for the customer
    DisplayName *string `mandatory:"true" json:"displayName"`

    // To determine whether the customer is enabled/disabled.`
    Status OccCustomerStatusEnum `mandatory:"true" json:"status"`

    // The description about the customer group.
    Description *string `mandatory:"false" json:"description"`
}

func (OccCustomer) String

func (m OccCustomer) String() string

func (OccCustomer) ValidateEnumValue

func (m OccCustomer) 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 OccCustomerGroup

OccCustomerGroup Details of the customer group resource.

type OccCustomerGroup struct {

    // The OCID of the customer group.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the tenancy containing the customer group.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the customer group.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // To determine whether the customer group is enabled/disabled.
    Status OccCustomerGroupStatusEnum `mandatory:"true" json:"status"`

    // The current lifecycle state of the resource.
    LifecycleState OccCustomerGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A list containing all the customers that belong to this customer group
    CustomersList []OccCustomer `mandatory:"true" json:"customersList"`

    // The description about the customer group.
    Description *string `mandatory:"false" json:"description"`

    // The time when the customer group was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time when the customer group was last updated.
    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 a Failed State.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // 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"`

    // 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 (OccCustomerGroup) String

func (m OccCustomerGroup) String() string

func (OccCustomerGroup) ValidateEnumValue

func (m OccCustomerGroup) 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 OccCustomerGroupCollection

OccCustomerGroupCollection A list of customer groups.

type OccCustomerGroupCollection struct {

    // An array of customer groups.
    Items []OccCustomerGroupSummary `mandatory:"true" json:"items"`
}

func (OccCustomerGroupCollection) String

func (m OccCustomerGroupCollection) String() string

func (OccCustomerGroupCollection) ValidateEnumValue

func (m OccCustomerGroupCollection) 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 OccCustomerGroupLifecycleStateEnum

OccCustomerGroupLifecycleStateEnum Enum with underlying type: string

type OccCustomerGroupLifecycleStateEnum string

Set of constants representing the allowable values for OccCustomerGroupLifecycleStateEnum

const (
    OccCustomerGroupLifecycleStateCreating OccCustomerGroupLifecycleStateEnum = "CREATING"
    OccCustomerGroupLifecycleStateUpdating OccCustomerGroupLifecycleStateEnum = "UPDATING"
    OccCustomerGroupLifecycleStateActive   OccCustomerGroupLifecycleStateEnum = "ACTIVE"
    OccCustomerGroupLifecycleStateDeleting OccCustomerGroupLifecycleStateEnum = "DELETING"
    OccCustomerGroupLifecycleStateDeleted  OccCustomerGroupLifecycleStateEnum = "DELETED"
    OccCustomerGroupLifecycleStateFailed   OccCustomerGroupLifecycleStateEnum = "FAILED"
)

func GetMappingOccCustomerGroupLifecycleStateEnum

func GetMappingOccCustomerGroupLifecycleStateEnum(val string) (OccCustomerGroupLifecycleStateEnum, bool)

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

func GetOccCustomerGroupLifecycleStateEnumValues

func GetOccCustomerGroupLifecycleStateEnumValues() []OccCustomerGroupLifecycleStateEnum

GetOccCustomerGroupLifecycleStateEnumValues Enumerates the set of values for OccCustomerGroupLifecycleStateEnum

type OccCustomerGroupStatusEnum

OccCustomerGroupStatusEnum Enum with underlying type: string

type OccCustomerGroupStatusEnum string

Set of constants representing the allowable values for OccCustomerGroupStatusEnum

const (
    OccCustomerGroupStatusEnabled  OccCustomerGroupStatusEnum = "ENABLED"
    OccCustomerGroupStatusDisabled OccCustomerGroupStatusEnum = "DISABLED"
)

func GetMappingOccCustomerGroupStatusEnum

func GetMappingOccCustomerGroupStatusEnum(val string) (OccCustomerGroupStatusEnum, bool)

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

func GetOccCustomerGroupStatusEnumValues

func GetOccCustomerGroupStatusEnumValues() []OccCustomerGroupStatusEnum

GetOccCustomerGroupStatusEnumValues Enumerates the set of values for OccCustomerGroupStatusEnum

type OccCustomerGroupSummary

OccCustomerGroupSummary A customer group is a resource that represents the portion of the capacity reserved for a customer or a group of customers to facilitate their capacity bookings.

type OccCustomerGroupSummary struct {

    // The OCID of the customer group.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the tenancy containing the customer group.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the customer group.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The status (enabled/disabled) of the customer group.
    Status OccCustomerGroupStatusEnum `mandatory:"true" json:"status"`

    // The current lifecycle state of the customer group.
    LifecycleState OccCustomerGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The description about the customer group.
    Description *string `mandatory:"false" json:"description"`

    // The time when the customer group was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time when the customer group was last updated.
    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 a Failed State.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // 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"`

    // 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 (OccCustomerGroupSummary) String

func (m OccCustomerGroupSummary) String() string

func (OccCustomerGroupSummary) ValidateEnumValue

func (m OccCustomerGroupSummary) 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 OccCustomerStatusEnum

OccCustomerStatusEnum Enum with underlying type: string

type OccCustomerStatusEnum string

Set of constants representing the allowable values for OccCustomerStatusEnum

const (
    OccCustomerStatusEnabled  OccCustomerStatusEnum = "ENABLED"
    OccCustomerStatusDisabled OccCustomerStatusEnum = "DISABLED"
)

func GetMappingOccCustomerStatusEnum

func GetMappingOccCustomerStatusEnum(val string) (OccCustomerStatusEnum, bool)

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

func GetOccCustomerStatusEnumValues

func GetOccCustomerStatusEnumValues() []OccCustomerStatusEnum

GetOccCustomerStatusEnumValues Enumerates the set of values for OccCustomerStatusEnum

type OccHandoverResourceBlockCollection

OccHandoverResourceBlockCollection A list of occ handover resource blocks.

type OccHandoverResourceBlockCollection struct {

    // An array of occ handover resource blocks.
    Items []OccHandoverResourceBlockSummary `mandatory:"true" json:"items"`
}

func (OccHandoverResourceBlockCollection) String

func (m OccHandoverResourceBlockCollection) String() string

func (OccHandoverResourceBlockCollection) ValidateEnumValue

func (m OccHandoverResourceBlockCollection) 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 OccHandoverResourceBlockDetailCollection

OccHandoverResourceBlockDetailCollection A list of occResourceHandoverDetails.

type OccHandoverResourceBlockDetailCollection struct {

    // An array of details about an occ handover resource block.
    Items []OccHandoverResourceBlockDetailSummary `mandatory:"true" json:"items"`
}

func (OccHandoverResourceBlockDetailCollection) String

func (m OccHandoverResourceBlockDetailCollection) String() string

func (OccHandoverResourceBlockDetailCollection) ValidateEnumValue

func (m OccHandoverResourceBlockDetailCollection) 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 OccHandoverResourceBlockDetailSummary

OccHandoverResourceBlockDetailSummary Detailed information about a particular occHandoverResourceBlock. For compute namespace this information includes host serial, host ocid etc.

type OccHandoverResourceBlockDetailSummary struct {

    // The OCID of the occResourceHandoverBlock.
    OccResourceHandoverBlockId *string `mandatory:"true" json:"occResourceHandoverBlockId"`

    // A map that contains additional details for a given handover resource. For example for compute namespace this includes host ocid, host serial etc.
    Details map[string]string `mandatory:"true" json:"details"`
}

func (OccHandoverResourceBlockDetailSummary) String

func (m OccHandoverResourceBlockDetailSummary) String() string

func (OccHandoverResourceBlockDetailSummary) ValidateEnumValue

func (m OccHandoverResourceBlockDetailSummary) 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 OccHandoverResourceBlockSummary

OccHandoverResourceBlockSummary Details about the association of capacity requests with the corresponding resources handed over by oracle.

type OccHandoverResourceBlockSummary struct {

    // The OCID of the resource block.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment where the resource block's are placed.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the OCI service in consideration.
    // For example Compute, Exadata and so on.
    Namespace NamespaceEnum `mandatory:"true" json:"namespace"`

    // The OCID of the customer group for which the resources were provisioned.
    OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"`

    // The date on which the resource was handed over to the customer.
    HandoverDate *common.SDKTime `mandatory:"true" json:"handoverDate"`

    // The name of the resource handed over by oracle.
    // For instance for compute namespace this will be the name of the bare metal hardware resource.
    HandoverResourceName *string `mandatory:"true" json:"handoverResourceName"`

    // The total quantity of the resource that was made available to the customer by Oracle.
    TotalHandoverQuantity *int64 `mandatory:"true" json:"totalHandoverQuantity"`

    // A list containing details about the capacity requests against which the resources were provisioned by oracle.
    AssociatedCapacityRequests []AssociatedCapacityRequestDetails `mandatory:"true" json:"associatedCapacityRequests"`

    PlacementDetails *PlacementDetails `mandatory:"true" json:"placementDetails"`
}

func (OccHandoverResourceBlockSummary) String

func (m OccHandoverResourceBlockSummary) String() string

func (OccHandoverResourceBlockSummary) ValidateEnumValue

func (m OccHandoverResourceBlockSummary) 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 OccOverviewCollection

OccOverviewCollection A list representing response of overview API.

type OccOverviewCollection struct {

    // An array of overview summary.
    Items []OccOverviewSummary `mandatory:"true" json:"items"`
}

func (OccOverviewCollection) String

func (m OccOverviewCollection) String() string

func (OccOverviewCollection) ValidateEnumValue

func (m OccOverviewCollection) 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 OccOverviewSummary

OccOverviewSummary The overview summary is used to represent an array item that shall be used to represent the overview of the catalog resources along with their corresponding capacity requests.

type OccOverviewSummary struct {

    // The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the month along with year for which this summary corresponds to.
    PeriodValue *string `mandatory:"true" json:"periodValue"`

    // The name of the resource for which we have aggregated the value.
    ResourceName *string `mandatory:"true" json:"resourceName"`

    // The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
    TotalAvailable *int64 `mandatory:"true" json:"totalAvailable"`

    // The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.
    TotalDemanded *int64 `mandatory:"true" json:"totalDemanded"`

    // The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.
    TotalSupplied *int64 `mandatory:"true" json:"totalSupplied"`

    // The quantity of the resource which is rejected by Oracle.
    TotalRejected *int64 `mandatory:"true" json:"totalRejected"`

    // The quantity of the resource which is cancelled by the customer. Once the capacity request was submitted, the customer can still cancel it. This field sums up those values.
    TotalCancelled *int64 `mandatory:"true" json:"totalCancelled"`

    // The quantity of the resource which Oracle was unable to supply. For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up.
    TotalUnfulfilled *int64 `mandatory:"true" json:"totalUnfulfilled"`

    // A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
    WorkloadTypeBreakdownBlob *string `mandatory:"true" json:"workloadTypeBreakdownBlob"`

    // The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
    Unit *string `mandatory:"true" json:"unit"`

    // A raw json blob containing all the capacity requests corresponding to the resource name
    CapacityRequestsBlob *string `mandatory:"false" json:"capacityRequestsBlob"`
}

func (OccOverviewSummary) String

func (m OccOverviewSummary) String() string

func (OccOverviewSummary) ValidateEnumValue

func (m OccOverviewSummary) 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 PatchInsertInstruction

PatchInsertInstruction An operation that 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"`

    // A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`.
    SelectedItem *string `mandatory:"false" json:"selectedItem"`

    // Where to insert the value, relative to the first item matched by `selectedItem`.
    // If `selectedItem` is unspecified, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position.
    // If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position.
    Position PatchInsertInstructionPositionEnum `mandatory:"false" json:"position,omitempty"`
}

func (PatchInsertInstruction) GetSelection

func (m PatchInsertInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchInsertInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchInsertInstruction) String

func (m PatchInsertInstruction) String() string

func (PatchInsertInstruction) ValidateEnumValue

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

type PatchInsertInstructionPositionEnum

PatchInsertInstructionPositionEnum Enum with underlying type: string

type PatchInsertInstructionPositionEnum string

Set of constants representing the allowable values for PatchInsertInstructionPositionEnum

const (
    PatchInsertInstructionPositionBefore PatchInsertInstructionPositionEnum = "BEFORE"
    PatchInsertInstructionPositionAfter  PatchInsertInstructionPositionEnum = "AFTER"
)

func GetMappingPatchInsertInstructionPositionEnum

func GetMappingPatchInsertInstructionPositionEnum(val string) (PatchInsertInstructionPositionEnum, bool)

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

func GetPatchInsertInstructionPositionEnumValues

func GetPatchInsertInstructionPositionEnumValues() []PatchInsertInstructionPositionEnum

GetPatchInsertInstructionPositionEnumValues Enumerates the set of values for PatchInsertInstructionPositionEnum

type PatchInsertMultipleInstruction

PatchInsertMultipleInstruction An operation that inserts multiple consecutive values into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure.

type PatchInsertMultipleInstruction 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 list of consecutive values to be inserted into the target.
    Values []interface{} `mandatory:"true" json:"values"`

    // A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`.
    SelectedItem *string `mandatory:"false" json:"selectedItem"`

    // Where to insert the values, relative to the first item matched by `selectedItem`.
    // If `selectedItem` is unspecified, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position.
    // If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position.
    Position PatchInsertMultipleInstructionPositionEnum `mandatory:"false" json:"position,omitempty"`
}

func (PatchInsertMultipleInstruction) GetSelection

func (m PatchInsertMultipleInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchInsertMultipleInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchInsertMultipleInstruction) String

func (m PatchInsertMultipleInstruction) String() string

func (PatchInsertMultipleInstruction) ValidateEnumValue

func (m PatchInsertMultipleInstruction) 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 PatchInsertMultipleInstructionPositionEnum

PatchInsertMultipleInstructionPositionEnum Enum with underlying type: string

type PatchInsertMultipleInstructionPositionEnum string

Set of constants representing the allowable values for PatchInsertMultipleInstructionPositionEnum

const (
    PatchInsertMultipleInstructionPositionBefore PatchInsertMultipleInstructionPositionEnum = "BEFORE"
    PatchInsertMultipleInstructionPositionAfter  PatchInsertMultipleInstructionPositionEnum = "AFTER"
)

func GetMappingPatchInsertMultipleInstructionPositionEnum

func GetMappingPatchInsertMultipleInstructionPositionEnum(val string) (PatchInsertMultipleInstructionPositionEnum, bool)

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

func GetPatchInsertMultipleInstructionPositionEnumValues

func GetPatchInsertMultipleInstructionPositionEnumValues() []PatchInsertMultipleInstructionPositionEnum

GetPatchInsertMultipleInstructionPositionEnumValues Enumerates the set of values for PatchInsertMultipleInstructionPositionEnum

type PatchInstruction

PatchInstruction A single instruction to be included as part of Patch request content.

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
}

type PatchInstructionOperationEnum

PatchInstructionOperationEnum Enum with underlying type: string

type PatchInstructionOperationEnum string

Set of constants representing the allowable values for PatchInstructionOperationEnum

const (
    PatchInstructionOperationRequire  PatchInstructionOperationEnum = "REQUIRE"
    PatchInstructionOperationProhibit PatchInstructionOperationEnum = "PROHIBIT"
    PatchInstructionOperationReplace  PatchInstructionOperationEnum = "REPLACE"
    PatchInstructionOperationInsert   PatchInstructionOperationEnum = "INSERT"
    PatchInstructionOperationRemove   PatchInstructionOperationEnum = "REMOVE"
    PatchInstructionOperationMove     PatchInstructionOperationEnum = "MOVE"
    PatchInstructionOperationMerge    PatchInstructionOperationEnum = "MERGE"
)

func GetMappingPatchInstructionOperationEnum

func GetMappingPatchInstructionOperationEnum(val string) (PatchInstructionOperationEnum, bool)

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

func GetPatchInstructionOperationEnumValues

func GetPatchInstructionOperationEnumValues() []PatchInstructionOperationEnum

GetPatchInstructionOperationEnumValues Enumerates the set of values for PatchInstructionOperationEnum

type PatchInternalOccCapacityRequestRequest

PatchInternalOccCapacityRequestRequest wrapper for the PatchInternalOccCapacityRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/PatchInternalOccCapacityRequest.go.html to see an example of how to use PatchInternalOccCapacityRequestRequest.

type PatchInternalOccCapacityRequestRequest struct {

    // Request to update the details of the capacity request.
    PatchOccCapacityRequestDetails `contributesTo:"body"`

    // The OCID of the capacity request.
    OccCapacityRequestId *string `mandatory:"true" contributesTo:"path" name:"occCapacityRequestId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (PatchInternalOccCapacityRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PatchInternalOccCapacityRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PatchInternalOccCapacityRequestRequest) RetryPolicy

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

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

func (PatchInternalOccCapacityRequestRequest) String

func (request PatchInternalOccCapacityRequestRequest) String() string

func (PatchInternalOccCapacityRequestRequest) ValidateEnumValue

func (request PatchInternalOccCapacityRequestRequest) 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 PatchInternalOccCapacityRequestResponse

PatchInternalOccCapacityRequestResponse wrapper for the PatchInternalOccCapacityRequest operation

type PatchInternalOccCapacityRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (PatchInternalOccCapacityRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PatchInternalOccCapacityRequestResponse) String

func (response PatchInternalOccCapacityRequestResponse) String() string

type PatchMergeInstruction

PatchMergeInstruction An operation that recursively updates items of the selection, or adding the value if the selection is empty. If the value is not an object, it is used directly, otherwise each key-value member is used to create or update a member of the same name in the target and the same process is applied recursively for each object-typed value (similar to RFC 7396 (https://tools.ietf.org/html/rfc7396#section-2) JSON Merge Patch, except that null values are copied rather than transformed into deletions). NOT_FOUND exceptions are handled by creating the implied containing structure. To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.

type PatchMergeInstruction 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 merged into the target.
    Value *interface{} `mandatory:"false" json:"value"`
}

func (PatchMergeInstruction) GetSelection

func (m PatchMergeInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchMergeInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchMergeInstruction) String

func (m PatchMergeInstruction) String() string

func (PatchMergeInstruction) ValidateEnumValue

func (m PatchMergeInstruction) 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 PatchMoveInstruction

PatchMoveInstruction An operation that "puts" values from elsewhere in the target, functionally equivalent to a single add and then a remove. The first item of the selection is replaced, or created if the selection is empty. NOT_FOUND exceptions in the selection are handled by creating the implied containing structure. This operation fails if the `from` selection yields any exceptions, or if an item is moved to any of its descendants.

type PatchMoveInstruction 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"`

    // The selection that is to be moved, with the same format and semantics as `selection`.
    From *string `mandatory:"true" json:"from"`

    // Where to insert the value in an array, relative to the first item in the selection.
    // If there is no such item, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position.
    // If the first item in the selection is not the child of an array, then this field has no effect.
    Position PatchMoveInstructionPositionEnum `mandatory:"false" json:"position,omitempty"`
}

func (PatchMoveInstruction) GetSelection

func (m PatchMoveInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchMoveInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchMoveInstruction) String

func (m PatchMoveInstruction) String() string

func (PatchMoveInstruction) ValidateEnumValue

func (m PatchMoveInstruction) 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 PatchMoveInstructionPositionEnum

PatchMoveInstructionPositionEnum Enum with underlying type: string

type PatchMoveInstructionPositionEnum string

Set of constants representing the allowable values for PatchMoveInstructionPositionEnum

const (
    PatchMoveInstructionPositionAt     PatchMoveInstructionPositionEnum = "AT"
    PatchMoveInstructionPositionBefore PatchMoveInstructionPositionEnum = "BEFORE"
    PatchMoveInstructionPositionAfter  PatchMoveInstructionPositionEnum = "AFTER"
)

func GetMappingPatchMoveInstructionPositionEnum

func GetMappingPatchMoveInstructionPositionEnum(val string) (PatchMoveInstructionPositionEnum, bool)

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

func GetPatchMoveInstructionPositionEnumValues

func GetPatchMoveInstructionPositionEnumValues() []PatchMoveInstructionPositionEnum

GetPatchMoveInstructionPositionEnumValues Enumerates the set of values for PatchMoveInstructionPositionEnum

type PatchOccCapacityRequestDetails

PatchOccCapacityRequestDetails CapacityRequest details to patch.

type PatchOccCapacityRequestDetails struct {

    // List of patch instructions.
    Items []PatchInstruction `mandatory:"false" json:"items"`
}

func (PatchOccCapacityRequestDetails) String

func (m PatchOccCapacityRequestDetails) String() string

func (*PatchOccCapacityRequestDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (PatchOccCapacityRequestDetails) ValidateEnumValue

func (m PatchOccCapacityRequestDetails) 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 PatchOccCapacityRequestRequest

PatchOccCapacityRequestRequest wrapper for the PatchOccCapacityRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/PatchOccCapacityRequest.go.html to see an example of how to use PatchOccCapacityRequestRequest.

type PatchOccCapacityRequestRequest struct {

    // Request to update the details of the capacity request.
    PatchOccCapacityRequestDetails `contributesTo:"body"`

    // The OCID of the capacity request.
    OccCapacityRequestId *string `mandatory:"true" contributesTo:"path" name:"occCapacityRequestId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (PatchOccCapacityRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PatchOccCapacityRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PatchOccCapacityRequestRequest) RetryPolicy

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

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

func (PatchOccCapacityRequestRequest) String

func (request PatchOccCapacityRequestRequest) String() string

func (PatchOccCapacityRequestRequest) ValidateEnumValue

func (request PatchOccCapacityRequestRequest) 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 PatchOccCapacityRequestResponse

PatchOccCapacityRequestResponse wrapper for the PatchOccCapacityRequest operation

type PatchOccCapacityRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (PatchOccCapacityRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PatchOccCapacityRequestResponse) String

func (response PatchOccCapacityRequestResponse) String() string

type PatchProhibitInstruction

PatchProhibitInstruction A precondition operation that requires a selection to be empty, or optionally to be non-empty but include no item with a specified value (useful for asserting that a value does not exist before attempting to create it, avoiding accidental update). It fails if value is provided and the selection includes an item matching it, or if value is not provided and the selection is not empty, but ignores NOT_FOUND exceptions.

type PatchProhibitInstruction 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 compared against each item of the selection.
    // If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation.
    // Otherwise, it matches any item to which it is equal according to the rules of JSON Schema (https://tools.ietf.org/html/draft-handrews-json-schema-00#section-4.2.3).
    Value *interface{} `mandatory:"false" json:"value"`
}

func (PatchProhibitInstruction) GetSelection

func (m PatchProhibitInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchProhibitInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchProhibitInstruction) String

func (m PatchProhibitInstruction) String() string

func (PatchProhibitInstruction) ValidateEnumValue

func (m PatchProhibitInstruction) 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 PatchRemoveInstruction

PatchRemoveInstruction An operation that deletes items, ignoring NOT_FOUND exceptions. To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.

type PatchRemoveInstruction 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"`
}

func (PatchRemoveInstruction) GetSelection

func (m PatchRemoveInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchRemoveInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchRemoveInstruction) String

func (m PatchRemoveInstruction) String() string

func (PatchRemoveInstruction) ValidateEnumValue

func (m PatchRemoveInstruction) 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 PatchReplaceInstruction

PatchReplaceInstruction An operation that "puts" a value, replacing every item of the selection with it, or creating it if the selection is empty. NOT_FOUND exceptions are handled by creating the implied containing structure (but note that this may put the target in an invalid state, which can be prevented by use of precondition operations). To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.

type PatchReplaceInstruction 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 added into the target.
    Value *interface{} `mandatory:"true" json:"value"`
}

func (PatchReplaceInstruction) GetSelection

func (m PatchReplaceInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchReplaceInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchReplaceInstruction) String

func (m PatchReplaceInstruction) String() string

func (PatchReplaceInstruction) ValidateEnumValue

func (m PatchReplaceInstruction) 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 PatchRequireInstruction

PatchRequireInstruction A precondition operation that requires a selection to be non-empty, and optionally to include an item with a specified value (useful for asserting that a value exists before attempting to update it, avoiding accidental creation). It fails if the selection is empty, or if value is provided and no item of the selection matches it.

type PatchRequireInstruction 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 compared against each item of the selection.
    // If this value is an object, then it matches any item that would be unaffected by applying this value as a merge operation.
    // Otherwise, it matches any item to which it is equal according to the rules of JSON Schema (https://tools.ietf.org/html/draft-handrews-json-schema-00#section-4.2.3).
    Value *interface{} `mandatory:"false" json:"value"`
}

func (PatchRequireInstruction) GetSelection

func (m PatchRequireInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchRequireInstruction) MarshalJSON

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

MarshalJSON marshals to json representation

func (PatchRequireInstruction) String

func (m PatchRequireInstruction) String() string

func (PatchRequireInstruction) ValidateEnumValue

func (m PatchRequireInstruction) 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 PlacementDetails

PlacementDetails Details like building, room and block where the resource was placed after provisioning in the datacenter.

type PlacementDetails struct {

    // The name of the region for which the resources were provisioned.
    Region *string `mandatory:"true" json:"region"`

    // The availability domain (AD) for which the resources were provisioned.
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // The type of workload to which these resources were provisioned.
    WorkloadType *string `mandatory:"true" json:"workloadType"`

    // The datacenter building where the resource was placed.
    Building *string `mandatory:"true" json:"building"`

    // The name of the room in the dataacenter building where the resource was placed.
    Room *string `mandatory:"true" json:"room"`

    // The block in the datacenter room where the resource was placed.
    Block *string `mandatory:"true" json:"block"`
}

func (PlacementDetails) String

func (m PlacementDetails) String() string

func (PlacementDetails) ValidateEnumValue

func (m PlacementDetails) 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 PublishOccAvailabilityCatalogRequest

PublishOccAvailabilityCatalogRequest wrapper for the PublishOccAvailabilityCatalog operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/PublishOccAvailabilityCatalog.go.html to see an example of how to use PublishOccAvailabilityCatalogRequest.

type PublishOccAvailabilityCatalogRequest struct {

    // The OCID of the availability catalog.
    OccAvailabilityCatalogId *string `mandatory:"true" contributesTo:"path" name:"occAvailabilityCatalogId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // 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"`

    // 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 (PublishOccAvailabilityCatalogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PublishOccAvailabilityCatalogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PublishOccAvailabilityCatalogRequest) RetryPolicy

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

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

func (PublishOccAvailabilityCatalogRequest) String

func (request PublishOccAvailabilityCatalogRequest) String() string

func (PublishOccAvailabilityCatalogRequest) ValidateEnumValue

func (request PublishOccAvailabilityCatalogRequest) 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 PublishOccAvailabilityCatalogResponse

PublishOccAvailabilityCatalogResponse wrapper for the PublishOccAvailabilityCatalog operation

type PublishOccAvailabilityCatalogResponse 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 (PublishOccAvailabilityCatalogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PublishOccAvailabilityCatalogResponse) String

func (response PublishOccAvailabilityCatalogResponse) String() string

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

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

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 UpdateInternalOccCapacityRequestDetails

UpdateInternalOccCapacityRequestDetails The details required for making an internal API update call for the capacity requests.

type UpdateInternalOccCapacityRequestDetails struct {

    // The subset of request states available internally for updating the capacity request.
    RequestState UpdateInternalOccCapacityRequestDetailsRequestStateEnum `mandatory:"false" json:"requestState,omitempty"`

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

func (UpdateInternalOccCapacityRequestDetails) String

func (m UpdateInternalOccCapacityRequestDetails) String() string

func (UpdateInternalOccCapacityRequestDetails) ValidateEnumValue

func (m UpdateInternalOccCapacityRequestDetails) 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 UpdateInternalOccCapacityRequestDetailsRequestStateEnum

UpdateInternalOccCapacityRequestDetailsRequestStateEnum Enum with underlying type: string

type UpdateInternalOccCapacityRequestDetailsRequestStateEnum string

Set of constants representing the allowable values for UpdateInternalOccCapacityRequestDetailsRequestStateEnum

const (
    UpdateInternalOccCapacityRequestDetailsRequestStateResolved   UpdateInternalOccCapacityRequestDetailsRequestStateEnum = "RESOLVED"
    UpdateInternalOccCapacityRequestDetailsRequestStateRejected   UpdateInternalOccCapacityRequestDetailsRequestStateEnum = "REJECTED"
    UpdateInternalOccCapacityRequestDetailsRequestStateInProgress UpdateInternalOccCapacityRequestDetailsRequestStateEnum = "IN_PROGRESS"
)

func GetMappingUpdateInternalOccCapacityRequestDetailsRequestStateEnum

func GetMappingUpdateInternalOccCapacityRequestDetailsRequestStateEnum(val string) (UpdateInternalOccCapacityRequestDetailsRequestStateEnum, bool)

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

func GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumValues

func GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumValues() []UpdateInternalOccCapacityRequestDetailsRequestStateEnum

GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumValues Enumerates the set of values for UpdateInternalOccCapacityRequestDetailsRequestStateEnum

type UpdateInternalOccCapacityRequestRequest

UpdateInternalOccCapacityRequestRequest wrapper for the UpdateInternalOccCapacityRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateInternalOccCapacityRequest.go.html to see an example of how to use UpdateInternalOccCapacityRequestRequest.

type UpdateInternalOccCapacityRequestRequest struct {

    // Request to update the properties of the capacity request.
    UpdateInternalOccCapacityRequestDetails `contributesTo:"body"`

    // The OCID of the capacity request.
    OccCapacityRequestId *string `mandatory:"true" contributesTo:"path" name:"occCapacityRequestId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateInternalOccCapacityRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateInternalOccCapacityRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateInternalOccCapacityRequestRequest) RetryPolicy

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

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

func (UpdateInternalOccCapacityRequestRequest) String

func (request UpdateInternalOccCapacityRequestRequest) String() string

func (UpdateInternalOccCapacityRequestRequest) ValidateEnumValue

func (request UpdateInternalOccCapacityRequestRequest) 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 UpdateInternalOccCapacityRequestResponse

UpdateInternalOccCapacityRequestResponse wrapper for the UpdateInternalOccCapacityRequest operation

type UpdateInternalOccCapacityRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (UpdateInternalOccCapacityRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateInternalOccCapacityRequestResponse) String

func (response UpdateInternalOccCapacityRequestResponse) String() string

type UpdateOccAvailabilityCatalogDetails

UpdateOccAvailabilityCatalogDetails Details about the update request for updating the availability catalogs.

type UpdateOccAvailabilityCatalogDetails struct {

    // The display name of the availability catalog.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Additional information about the availability catalog.
    Description *string `mandatory:"false" json:"description"`

    // 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 (UpdateOccAvailabilityCatalogDetails) String

func (m UpdateOccAvailabilityCatalogDetails) String() string

func (UpdateOccAvailabilityCatalogDetails) ValidateEnumValue

func (m UpdateOccAvailabilityCatalogDetails) 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 UpdateOccAvailabilityCatalogRequest

UpdateOccAvailabilityCatalogRequest wrapper for the UpdateOccAvailabilityCatalog operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateOccAvailabilityCatalog.go.html to see an example of how to use UpdateOccAvailabilityCatalogRequest.

type UpdateOccAvailabilityCatalogRequest struct {

    // Request to update the properties of the availability catalog.
    UpdateOccAvailabilityCatalogDetails `contributesTo:"body"`

    // The OCID of the availability catalog.
    OccAvailabilityCatalogId *string `mandatory:"true" contributesTo:"path" name:"occAvailabilityCatalogId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateOccAvailabilityCatalogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOccAvailabilityCatalogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOccAvailabilityCatalogRequest) RetryPolicy

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

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

func (UpdateOccAvailabilityCatalogRequest) String

func (request UpdateOccAvailabilityCatalogRequest) String() string

func (UpdateOccAvailabilityCatalogRequest) ValidateEnumValue

func (request UpdateOccAvailabilityCatalogRequest) 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 UpdateOccAvailabilityCatalogResponse

UpdateOccAvailabilityCatalogResponse wrapper for the UpdateOccAvailabilityCatalog operation

type UpdateOccAvailabilityCatalogResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (UpdateOccAvailabilityCatalogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOccAvailabilityCatalogResponse) String

func (response UpdateOccAvailabilityCatalogResponse) String() string

type UpdateOccCapacityRequestDetails

UpdateOccCapacityRequestDetails The details required for making an update call for capacity requests.

type UpdateOccCapacityRequestDetails struct {

    // The display name of the capacity request.
    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"`

    // The subset of request states available for updating the capacity request.
    RequestState UpdateOccCapacityRequestDetailsRequestStateEnum `mandatory:"false" json:"requestState,omitempty"`
}

func (UpdateOccCapacityRequestDetails) String

func (m UpdateOccCapacityRequestDetails) String() string

func (UpdateOccCapacityRequestDetails) ValidateEnumValue

func (m UpdateOccCapacityRequestDetails) 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 UpdateOccCapacityRequestDetailsRequestStateEnum

UpdateOccCapacityRequestDetailsRequestStateEnum Enum with underlying type: string

type UpdateOccCapacityRequestDetailsRequestStateEnum string

Set of constants representing the allowable values for UpdateOccCapacityRequestDetailsRequestStateEnum

const (
    UpdateOccCapacityRequestDetailsRequestStateSubmitted UpdateOccCapacityRequestDetailsRequestStateEnum = "SUBMITTED"
    UpdateOccCapacityRequestDetailsRequestStateCancelled UpdateOccCapacityRequestDetailsRequestStateEnum = "CANCELLED"
)

func GetMappingUpdateOccCapacityRequestDetailsRequestStateEnum

func GetMappingUpdateOccCapacityRequestDetailsRequestStateEnum(val string) (UpdateOccCapacityRequestDetailsRequestStateEnum, bool)

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

func GetUpdateOccCapacityRequestDetailsRequestStateEnumValues

func GetUpdateOccCapacityRequestDetailsRequestStateEnumValues() []UpdateOccCapacityRequestDetailsRequestStateEnum

GetUpdateOccCapacityRequestDetailsRequestStateEnumValues Enumerates the set of values for UpdateOccCapacityRequestDetailsRequestStateEnum

type UpdateOccCapacityRequestRequest

UpdateOccCapacityRequestRequest wrapper for the UpdateOccCapacityRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateOccCapacityRequest.go.html to see an example of how to use UpdateOccCapacityRequestRequest.

type UpdateOccCapacityRequestRequest struct {

    // Request to update the properties of the capacity request.
    UpdateOccCapacityRequestDetails `contributesTo:"body"`

    // The OCID of the capacity request.
    OccCapacityRequestId *string `mandatory:"true" contributesTo:"path" name:"occCapacityRequestId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateOccCapacityRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOccCapacityRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOccCapacityRequestRequest) RetryPolicy

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

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

func (UpdateOccCapacityRequestRequest) String

func (request UpdateOccCapacityRequestRequest) String() string

func (UpdateOccCapacityRequestRequest) ValidateEnumValue

func (request UpdateOccCapacityRequestRequest) 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 UpdateOccCapacityRequestResponse

UpdateOccCapacityRequestResponse wrapper for the UpdateOccCapacityRequest operation

type UpdateOccCapacityRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (UpdateOccCapacityRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOccCapacityRequestResponse) String

func (response UpdateOccCapacityRequestResponse) String() string

type UpdateOccCustomerDetails

UpdateOccCustomerDetails Details about the update request for updating the customer.

type UpdateOccCustomerDetails struct {

    // The display name of the customer.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Additional information about the customer.
    Description *string `mandatory:"false" json:"description"`

    // To determine whether the customer group is enabled/disabled.
    Status UpdateOccCustomerDetailsStatusEnum `mandatory:"false" json:"status,omitempty"`
}

func (UpdateOccCustomerDetails) String

func (m UpdateOccCustomerDetails) String() string

func (UpdateOccCustomerDetails) ValidateEnumValue

func (m UpdateOccCustomerDetails) 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 UpdateOccCustomerDetailsStatusEnum

UpdateOccCustomerDetailsStatusEnum Enum with underlying type: string

type UpdateOccCustomerDetailsStatusEnum string

Set of constants representing the allowable values for UpdateOccCustomerDetailsStatusEnum

const (
    UpdateOccCustomerDetailsStatusEnabled  UpdateOccCustomerDetailsStatusEnum = "ENABLED"
    UpdateOccCustomerDetailsStatusDisabled UpdateOccCustomerDetailsStatusEnum = "DISABLED"
)

func GetMappingUpdateOccCustomerDetailsStatusEnum

func GetMappingUpdateOccCustomerDetailsStatusEnum(val string) (UpdateOccCustomerDetailsStatusEnum, bool)

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

func GetUpdateOccCustomerDetailsStatusEnumValues

func GetUpdateOccCustomerDetailsStatusEnumValues() []UpdateOccCustomerDetailsStatusEnum

GetUpdateOccCustomerDetailsStatusEnumValues Enumerates the set of values for UpdateOccCustomerDetailsStatusEnum

type UpdateOccCustomerGroupDetails

UpdateOccCustomerGroupDetails Details about the update request for updating the customer group.

type UpdateOccCustomerGroupDetails struct {

    // The display name of the customer group.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Additional information about the customer group.
    Description *string `mandatory:"false" json:"description"`

    // 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"`

    // To determine whether the customer group is enabled/disabled.
    Status UpdateOccCustomerGroupDetailsStatusEnum `mandatory:"false" json:"status,omitempty"`
}

func (UpdateOccCustomerGroupDetails) String

func (m UpdateOccCustomerGroupDetails) String() string

func (UpdateOccCustomerGroupDetails) ValidateEnumValue

func (m UpdateOccCustomerGroupDetails) 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 UpdateOccCustomerGroupDetailsStatusEnum

UpdateOccCustomerGroupDetailsStatusEnum Enum with underlying type: string

type UpdateOccCustomerGroupDetailsStatusEnum string

Set of constants representing the allowable values for UpdateOccCustomerGroupDetailsStatusEnum

const (
    UpdateOccCustomerGroupDetailsStatusEnabled  UpdateOccCustomerGroupDetailsStatusEnum = "ENABLED"
    UpdateOccCustomerGroupDetailsStatusDisabled UpdateOccCustomerGroupDetailsStatusEnum = "DISABLED"
)

func GetMappingUpdateOccCustomerGroupDetailsStatusEnum

func GetMappingUpdateOccCustomerGroupDetailsStatusEnum(val string) (UpdateOccCustomerGroupDetailsStatusEnum, bool)

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

func GetUpdateOccCustomerGroupDetailsStatusEnumValues

func GetUpdateOccCustomerGroupDetailsStatusEnumValues() []UpdateOccCustomerGroupDetailsStatusEnum

GetUpdateOccCustomerGroupDetailsStatusEnumValues Enumerates the set of values for UpdateOccCustomerGroupDetailsStatusEnum

type UpdateOccCustomerGroupRequest

UpdateOccCustomerGroupRequest wrapper for the UpdateOccCustomerGroup operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateOccCustomerGroup.go.html to see an example of how to use UpdateOccCustomerGroupRequest.

type UpdateOccCustomerGroupRequest struct {

    // Request to update the properties of the customer group.
    UpdateOccCustomerGroupDetails `contributesTo:"body"`

    // The OCID of the customer group.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"path" name:"occCustomerGroupId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateOccCustomerGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOccCustomerGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOccCustomerGroupRequest) RetryPolicy

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

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

func (UpdateOccCustomerGroupRequest) String

func (request UpdateOccCustomerGroupRequest) String() string

func (UpdateOccCustomerGroupRequest) ValidateEnumValue

func (request UpdateOccCustomerGroupRequest) 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 UpdateOccCustomerGroupResponse

UpdateOccCustomerGroupResponse wrapper for the UpdateOccCustomerGroup operation

type UpdateOccCustomerGroupResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (UpdateOccCustomerGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOccCustomerGroupResponse) String

func (response UpdateOccCustomerGroupResponse) String() string

type UpdateOccCustomerRequest

UpdateOccCustomerRequest wrapper for the UpdateOccCustomer operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.75.0/capacitymanagement/UpdateOccCustomer.go.html to see an example of how to use UpdateOccCustomerRequest.

type UpdateOccCustomerRequest struct {

    // Request to update the properties of the customer group.
    UpdateOccCustomerDetails `contributesTo:"body"`

    // The OCID of the customer group.
    OccCustomerGroupId *string `mandatory:"true" contributesTo:"path" name:"occCustomerGroupId"`

    // The tenancy id of the customer.
    OccCustomerId *string `mandatory:"true" contributesTo:"path" name:"occCustomerId"`

    // 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. The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateOccCustomerRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOccCustomerRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOccCustomerRequest) RetryPolicy

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

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

func (UpdateOccCustomerRequest) String

func (request UpdateOccCustomerRequest) String() string

func (UpdateOccCustomerRequest) ValidateEnumValue

func (request UpdateOccCustomerRequest) 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 UpdateOccCustomerResponse

UpdateOccCustomerResponse wrapper for the UpdateOccCustomer operation

type UpdateOccCustomerResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (UpdateOccCustomerResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOccCustomerResponse) String

func (response UpdateOccCustomerResponse) String() string