func GetCreateOccCapacityRequestDetailsRequestStateEnumStringValues() []string
GetCreateOccCapacityRequestDetailsRequestStateEnumStringValues Enumerates the set of values in String for CreateOccCapacityRequestDetailsRequestStateEnum
func GetCreateOccCustomerDetailsStatusEnumStringValues() []string
GetCreateOccCustomerDetailsStatusEnumStringValues Enumerates the set of values in String for CreateOccCustomerDetailsStatusEnum
func GetCreateOccCustomerGroupDetailsStatusEnumStringValues() []string
GetCreateOccCustomerGroupDetailsStatusEnumStringValues Enumerates the set of values in String for CreateOccCustomerGroupDetailsStatusEnum
func GetDemandSignalNamespaceEnumStringValues() []string
GetDemandSignalNamespaceEnumStringValues Enumerates the set of values in String for DemandSignalNamespaceEnum
func GetInternalOccmDemandSignalCatalogResourceLifecycleStateEnumStringValues() []string
GetInternalOccmDemandSignalCatalogResourceLifecycleStateEnumStringValues Enumerates the set of values in String for InternalOccmDemandSignalCatalogResourceLifecycleStateEnum
func GetInternalOccmDemandSignalDeliveryLifecycleDetailsEnumStringValues() []string
GetInternalOccmDemandSignalDeliveryLifecycleDetailsEnumStringValues Enumerates the set of values in String for InternalOccmDemandSignalDeliveryLifecycleDetailsEnum
func GetInternalOccmDemandSignalDeliveryLifecycleStateEnumStringValues() []string
GetInternalOccmDemandSignalDeliveryLifecycleStateEnumStringValues Enumerates the set of values in String for InternalOccmDemandSignalDeliveryLifecycleStateEnum
func GetListInternalNamespaceOccOverviewsNamespaceEnumStringValues() []string
GetListInternalNamespaceOccOverviewsNamespaceEnumStringValues Enumerates the set of values in String for ListInternalNamespaceOccOverviewsNamespaceEnum
func GetListInternalNamespaceOccOverviewsSortByEnumStringValues() []string
GetListInternalNamespaceOccOverviewsSortByEnumStringValues Enumerates the set of values in String for ListInternalNamespaceOccOverviewsSortByEnum
func GetListInternalNamespaceOccOverviewsSortOrderEnumStringValues() []string
GetListInternalNamespaceOccOverviewsSortOrderEnumStringValues Enumerates the set of values in String for ListInternalNamespaceOccOverviewsSortOrderEnum
func GetListInternalOccHandoverResourceBlockDetailsSortByEnumStringValues() []string
GetListInternalOccHandoverResourceBlockDetailsSortByEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlockDetailsSortByEnum
func GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumStringValues() []string
GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlockDetailsSortOrderEnum
func GetListInternalOccHandoverResourceBlocksNamespaceEnumStringValues() []string
GetListInternalOccHandoverResourceBlocksNamespaceEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlocksNamespaceEnum
func GetListInternalOccHandoverResourceBlocksSortByEnumStringValues() []string
GetListInternalOccHandoverResourceBlocksSortByEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlocksSortByEnum
func GetListInternalOccHandoverResourceBlocksSortOrderEnumStringValues() []string
GetListInternalOccHandoverResourceBlocksSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccHandoverResourceBlocksSortOrderEnum
func GetListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnumStringValues() []string
GetListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum
func GetListInternalOccmDemandSignalCatalogResourcesSortByEnumStringValues() []string
GetListInternalOccmDemandSignalCatalogResourcesSortByEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalCatalogResourcesSortByEnum
func GetListInternalOccmDemandSignalCatalogResourcesSortOrderEnumStringValues() []string
GetListInternalOccmDemandSignalCatalogResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum
func GetListInternalOccmDemandSignalCatalogsSortByEnumStringValues() []string
GetListInternalOccmDemandSignalCatalogsSortByEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalCatalogsSortByEnum
func GetListInternalOccmDemandSignalCatalogsSortOrderEnumStringValues() []string
GetListInternalOccmDemandSignalCatalogsSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalCatalogsSortOrderEnum
func GetListInternalOccmDemandSignalDeliveriesSortByEnumStringValues() []string
GetListInternalOccmDemandSignalDeliveriesSortByEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalDeliveriesSortByEnum
func GetListInternalOccmDemandSignalDeliveriesSortOrderEnumStringValues() []string
GetListInternalOccmDemandSignalDeliveriesSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalDeliveriesSortOrderEnum
func GetListInternalOccmDemandSignalItemsDemandSignalNamespaceEnumStringValues() []string
GetListInternalOccmDemandSignalItemsDemandSignalNamespaceEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum
func GetListInternalOccmDemandSignalItemsSortByEnumStringValues() []string
GetListInternalOccmDemandSignalItemsSortByEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalItemsSortByEnum
func GetListInternalOccmDemandSignalItemsSortOrderEnumStringValues() []string
GetListInternalOccmDemandSignalItemsSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalItemsSortOrderEnum
func GetListInternalOccmDemandSignalsSortByEnumStringValues() []string
GetListInternalOccmDemandSignalsSortByEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalsSortByEnum
func GetListInternalOccmDemandSignalsSortOrderEnumStringValues() []string
GetListInternalOccmDemandSignalsSortOrderEnumStringValues Enumerates the set of values in String for ListInternalOccmDemandSignalsSortOrderEnum
func GetListOccAvailabilitiesSortByEnumStringValues() []string
GetListOccAvailabilitiesSortByEnumStringValues Enumerates the set of values in String for ListOccAvailabilitiesSortByEnum
func GetListOccAvailabilitiesSortOrderEnumStringValues() []string
GetListOccAvailabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListOccAvailabilitiesSortOrderEnum
func GetListOccAvailabilityCatalogsInternalNamespaceEnumStringValues() []string
GetListOccAvailabilityCatalogsInternalNamespaceEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsInternalNamespaceEnum
func GetListOccAvailabilityCatalogsInternalSortByEnumStringValues() []string
GetListOccAvailabilityCatalogsInternalSortByEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsInternalSortByEnum
func GetListOccAvailabilityCatalogsInternalSortOrderEnumStringValues() []string
GetListOccAvailabilityCatalogsInternalSortOrderEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsInternalSortOrderEnum
func GetListOccAvailabilityCatalogsNamespaceEnumStringValues() []string
GetListOccAvailabilityCatalogsNamespaceEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsNamespaceEnum
func GetListOccAvailabilityCatalogsSortByEnumStringValues() []string
GetListOccAvailabilityCatalogsSortByEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsSortByEnum
func GetListOccAvailabilityCatalogsSortOrderEnumStringValues() []string
GetListOccAvailabilityCatalogsSortOrderEnumStringValues Enumerates the set of values in String for ListOccAvailabilityCatalogsSortOrderEnum
func GetListOccCapacityRequestsInternalNamespaceEnumStringValues() []string
GetListOccCapacityRequestsInternalNamespaceEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsInternalNamespaceEnum
func GetListOccCapacityRequestsInternalSortByEnumStringValues() []string
GetListOccCapacityRequestsInternalSortByEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsInternalSortByEnum
func GetListOccCapacityRequestsInternalSortOrderEnumStringValues() []string
GetListOccCapacityRequestsInternalSortOrderEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsInternalSortOrderEnum
func GetListOccCapacityRequestsNamespaceEnumStringValues() []string
GetListOccCapacityRequestsNamespaceEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsNamespaceEnum
func GetListOccCapacityRequestsSortByEnumStringValues() []string
GetListOccCapacityRequestsSortByEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsSortByEnum
func GetListOccCapacityRequestsSortOrderEnumStringValues() []string
GetListOccCapacityRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListOccCapacityRequestsSortOrderEnum
func GetListOccCustomerGroupsSortByEnumStringValues() []string
GetListOccCustomerGroupsSortByEnumStringValues Enumerates the set of values in String for ListOccCustomerGroupsSortByEnum
func GetListOccCustomerGroupsSortOrderEnumStringValues() []string
GetListOccCustomerGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListOccCustomerGroupsSortOrderEnum
func GetListOccHandoverResourceBlockDetailsSortByEnumStringValues() []string
GetListOccHandoverResourceBlockDetailsSortByEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlockDetailsSortByEnum
func GetListOccHandoverResourceBlockDetailsSortOrderEnumStringValues() []string
GetListOccHandoverResourceBlockDetailsSortOrderEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlockDetailsSortOrderEnum
func GetListOccHandoverResourceBlocksNamespaceEnumStringValues() []string
GetListOccHandoverResourceBlocksNamespaceEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlocksNamespaceEnum
func GetListOccHandoverResourceBlocksSortByEnumStringValues() []string
GetListOccHandoverResourceBlocksSortByEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlocksSortByEnum
func GetListOccHandoverResourceBlocksSortOrderEnumStringValues() []string
GetListOccHandoverResourceBlocksSortOrderEnumStringValues Enumerates the set of values in String for ListOccHandoverResourceBlocksSortOrderEnum
func GetListOccOverviewsNamespaceEnumStringValues() []string
GetListOccOverviewsNamespaceEnumStringValues Enumerates the set of values in String for ListOccOverviewsNamespaceEnum
func GetListOccOverviewsSortByEnumStringValues() []string
GetListOccOverviewsSortByEnumStringValues Enumerates the set of values in String for ListOccOverviewsSortByEnum
func GetListOccOverviewsSortOrderEnumStringValues() []string
GetListOccOverviewsSortOrderEnumStringValues Enumerates the set of values in String for ListOccOverviewsSortOrderEnum
func GetListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnumStringValues() []string
GetListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum
func GetListOccmDemandSignalCatalogResourcesSortByEnumStringValues() []string
GetListOccmDemandSignalCatalogResourcesSortByEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalCatalogResourcesSortByEnum
func GetListOccmDemandSignalCatalogResourcesSortOrderEnumStringValues() []string
GetListOccmDemandSignalCatalogResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalCatalogResourcesSortOrderEnum
func GetListOccmDemandSignalDeliveriesSortByEnumStringValues() []string
GetListOccmDemandSignalDeliveriesSortByEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalDeliveriesSortByEnum
func GetListOccmDemandSignalDeliveriesSortOrderEnumStringValues() []string
GetListOccmDemandSignalDeliveriesSortOrderEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalDeliveriesSortOrderEnum
func GetListOccmDemandSignalItemsDemandSignalNamespaceEnumStringValues() []string
GetListOccmDemandSignalItemsDemandSignalNamespaceEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalItemsDemandSignalNamespaceEnum
func GetListOccmDemandSignalItemsSortByEnumStringValues() []string
GetListOccmDemandSignalItemsSortByEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalItemsSortByEnum
func GetListOccmDemandSignalItemsSortOrderEnumStringValues() []string
GetListOccmDemandSignalItemsSortOrderEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalItemsSortOrderEnum
func GetListOccmDemandSignalsSortByEnumStringValues() []string
GetListOccmDemandSignalsSortByEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalsSortByEnum
func GetListOccmDemandSignalsSortOrderEnumStringValues() []string
GetListOccmDemandSignalsSortOrderEnumStringValues Enumerates the set of values in String for ListOccmDemandSignalsSortOrderEnum
func GetMetadataDetailsFormatVersionEnumStringValues() []string
GetMetadataDetailsFormatVersionEnumStringValues Enumerates the set of values in String for MetadataDetailsFormatVersionEnum
func GetNamespaceEnumStringValues() []string
GetNamespaceEnumStringValues Enumerates the set of values in String for NamespaceEnum
func GetOccAvailabilityCatalogCatalogStateEnumStringValues() []string
GetOccAvailabilityCatalogCatalogStateEnumStringValues Enumerates the set of values in String for OccAvailabilityCatalogCatalogStateEnum
func GetOccAvailabilityCatalogLifecycleStateEnumStringValues() []string
GetOccAvailabilityCatalogLifecycleStateEnumStringValues Enumerates the set of values in String for OccAvailabilityCatalogLifecycleStateEnum
func GetOccCapacityRequestLifecycleStateEnumStringValues() []string
GetOccCapacityRequestLifecycleStateEnumStringValues Enumerates the set of values in String for OccCapacityRequestLifecycleStateEnum
func GetOccCapacityRequestRequestStateEnumStringValues() []string
GetOccCapacityRequestRequestStateEnumStringValues Enumerates the set of values in String for OccCapacityRequestRequestStateEnum
func GetOccCapacityRequestRequestTypeEnumStringValues() []string
GetOccCapacityRequestRequestTypeEnumStringValues Enumerates the set of values in String for OccCapacityRequestRequestTypeEnum
func GetOccCustomerGroupLifecycleStateEnumStringValues() []string
GetOccCustomerGroupLifecycleStateEnumStringValues Enumerates the set of values in String for OccCustomerGroupLifecycleStateEnum
func GetOccCustomerGroupStatusEnumStringValues() []string
GetOccCustomerGroupStatusEnumStringValues Enumerates the set of values in String for OccCustomerGroupStatusEnum
func GetOccCustomerStatusEnumStringValues() []string
GetOccCustomerStatusEnumStringValues Enumerates the set of values in String for OccCustomerStatusEnum
func GetOccmDemandSignalCatalogLifecycleStateEnumStringValues() []string
GetOccmDemandSignalCatalogLifecycleStateEnumStringValues Enumerates the set of values in String for OccmDemandSignalCatalogLifecycleStateEnum
func GetOccmDemandSignalCatalogResourceLifecycleStateEnumStringValues() []string
GetOccmDemandSignalCatalogResourceLifecycleStateEnumStringValues Enumerates the set of values in String for OccmDemandSignalCatalogResourceLifecycleStateEnum
func GetOccmDemandSignalDeliverySummaryLifecycleDetailsEnumStringValues() []string
GetOccmDemandSignalDeliverySummaryLifecycleDetailsEnumStringValues Enumerates the set of values in String for OccmDemandSignalDeliverySummaryLifecycleDetailsEnum
func GetOccmDemandSignalDeliverySummaryLifecycleStateEnumStringValues() []string
GetOccmDemandSignalDeliverySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for OccmDemandSignalDeliverySummaryLifecycleStateEnum
func GetOccmDemandSignalItemLifecycleStateEnumStringValues() []string
GetOccmDemandSignalItemLifecycleStateEnumStringValues Enumerates the set of values in String for OccmDemandSignalItemLifecycleStateEnum
func GetOccmDemandSignalItemRequestTypeEnumStringValues() []string
GetOccmDemandSignalItemRequestTypeEnumStringValues Enumerates the set of values in String for OccmDemandSignalItemRequestTypeEnum
func GetOccmDemandSignalLifecycleDetailsEnumStringValues() []string
GetOccmDemandSignalLifecycleDetailsEnumStringValues Enumerates the set of values in String for OccmDemandSignalLifecycleDetailsEnum
func GetOccmDemandSignalLifecycleStateEnumStringValues() []string
GetOccmDemandSignalLifecycleStateEnumStringValues Enumerates the set of values in String for OccmDemandSignalLifecycleStateEnum
func GetPatchInsertInstructionPositionEnumStringValues() []string
GetPatchInsertInstructionPositionEnumStringValues Enumerates the set of values in String for PatchInsertInstructionPositionEnum
func GetPatchInsertMultipleInstructionPositionEnumStringValues() []string
GetPatchInsertMultipleInstructionPositionEnumStringValues Enumerates the set of values in String for PatchInsertMultipleInstructionPositionEnum
func GetPatchInstructionOperationEnumStringValues() []string
GetPatchInstructionOperationEnumStringValues Enumerates the set of values in String for PatchInstructionOperationEnum
func GetPatchMoveInstructionPositionEnumStringValues() []string
GetPatchMoveInstructionPositionEnumStringValues Enumerates the set of values in String for PatchMoveInstructionPositionEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumStringValues() []string
GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumStringValues Enumerates the set of values in String for UpdateInternalOccCapacityRequestDetailsRequestStateEnum
func GetUpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnumStringValues() []string
GetUpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnumStringValues Enumerates the set of values in String for UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum
func GetUpdateOccCapacityRequestDetailsRequestStateEnumStringValues() []string
GetUpdateOccCapacityRequestDetailsRequestStateEnumStringValues Enumerates the set of values in String for UpdateOccCapacityRequestDetailsRequestStateEnum
func GetUpdateOccCustomerDetailsStatusEnumStringValues() []string
GetUpdateOccCustomerDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateOccCustomerDetailsStatusEnum
func GetUpdateOccCustomerGroupDetailsStatusEnumStringValues() []string
GetUpdateOccCustomerGroupDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateOccCustomerGroupDetailsStatusEnum
func GetUpdateOccmDemandSignalDetailsLifecycleDetailsEnumStringValues() []string
GetUpdateOccmDemandSignalDetailsLifecycleDetailsEnumStringValues Enumerates the set of values in String for UpdateOccmDemandSignalDetailsLifecycleDetailsEnum
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 (m AssociatedCapacityRequestDetails) String() string
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
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 (m AssociatedOccHandoverResourceBlock) String() string
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
BulkCreateOccmDemandSignalItem The occm demand signal item which will be used for the bulk creation api.
type BulkCreateOccmDemandSignalItem struct { // The OCID of the correponding demand signal catalog resource. DemandSignalCatalogResourceId *string `mandatory:"true" json:"demandSignalCatalogResourceId"` // The type of request (DEMAND or RETURN) that you want to make for this demand signal item. RequestType OccmDemandSignalItemRequestTypeEnum `mandatory:"true" json:"requestType"` // The name of region for which you want to request the OCI resource. Region *string `mandatory:"true" json:"region"` // The OCID of the tenancy for which you want to request the OCI resource for. This is an optional parameter. TargetCompartmentId *string `mandatory:"true" json:"targetCompartmentId"` // The quantity of the resource that you want to demand from OCI. DemandQuantity *int64 `mandatory:"true" json:"demandQuantity"` // the date before which you would ideally like the OCI resource to be delivered to you. TimeNeededBefore *common.SDKTime `mandatory:"true" json:"timeNeededBefore"` // A map of various properties associated with the OCI resource. ResourceProperties map[string]string `mandatory:"true" json:"resourceProperties"` // The name of the availability domain for which you want to request the OCI resource. This is an optional parameter. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` // This field will serve as notes section for you. You can use this section to convey a message to OCI regarding your resource request. // NOTE: The previous value gets overwritten with the new one for this once updated. Notes *string `mandatory:"false" json:"notes"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m BulkCreateOccmDemandSignalItem) String() string
func (m BulkCreateOccmDemandSignalItem) 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
BulkCreateOccmDemandSignalItemDetails Details about the model that is to be used for bulk creating demand signal items.
type BulkCreateOccmDemandSignalItemDetails struct { // The OCID of the demand signal in which we want to bulk create these demand signal item resources. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // A list of demand signal items that we want to bulk create. CreateOccmDemandSignalItems []BulkCreateOccmDemandSignalItem `mandatory:"true" json:"createOccmDemandSignalItems"` }
func (m BulkCreateOccmDemandSignalItemDetails) String() string
func (m BulkCreateOccmDemandSignalItemDetails) 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
BulkCreateOccmDemandSignalItemRequest wrapper for the BulkCreateOccmDemandSignalItem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/BulkCreateOccmDemandSignalItem.go.html to see an example of how to use BulkCreateOccmDemandSignalItemRequest.
type BulkCreateOccmDemandSignalItemRequest struct { // The request details for bulk creating the demand signal items. BulkCreateOccmDemandSignalItemDetails `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 (request BulkCreateOccmDemandSignalItemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request BulkCreateOccmDemandSignalItemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request BulkCreateOccmDemandSignalItemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request BulkCreateOccmDemandSignalItemRequest) String() string
func (request BulkCreateOccmDemandSignalItemRequest) 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
BulkCreateOccmDemandSignalItemResponse wrapper for the BulkCreateOccmDemandSignalItem operation
type BulkCreateOccmDemandSignalItemResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response BulkCreateOccmDemandSignalItemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response BulkCreateOccmDemandSignalItemResponse) String() string
CapacityManagementClient a client for CapacityManagement
type CapacityManagementClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client *CapacityManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client CapacityManagementClient) CreateOccAvailabilityCatalog(ctx context.Context, request CreateOccAvailabilityCatalogRequest) (response CreateOccAvailabilityCatalogResponse, err error)
CreateOccAvailabilityCatalog Create availability catalog
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccAvailabilityCatalog.go.html to see an example of how to use CreateOccAvailabilityCatalog API. A default retry strategy applies to this operation CreateOccAvailabilityCatalog()
func (client CapacityManagementClient) CreateOccCapacityRequest(ctx context.Context, request CreateOccCapacityRequestRequest) (response CreateOccCapacityRequestResponse, err error)
CreateOccCapacityRequest Create Capacity Request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccCapacityRequest.go.html to see an example of how to use CreateOccCapacityRequest API. A default retry strategy applies to this operation CreateOccCapacityRequest()
func (client CapacityManagementClient) CreateOccCustomer(ctx context.Context, request CreateOccCustomerRequest) (response CreateOccCustomerResponse, err error)
CreateOccCustomer Create customer.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccCustomer.go.html to see an example of how to use CreateOccCustomer API. A default retry strategy applies to this operation CreateOccCustomer()
func (client CapacityManagementClient) CreateOccCustomerGroup(ctx context.Context, request CreateOccCustomerGroupRequest) (response CreateOccCustomerGroupResponse, err error)
CreateOccCustomerGroup Create customer group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccCustomerGroup.go.html to see an example of how to use CreateOccCustomerGroup API. A default retry strategy applies to this operation CreateOccCustomerGroup()
func (client CapacityManagementClient) DeleteOccAvailabilityCatalog(ctx context.Context, request DeleteOccAvailabilityCatalogRequest) (response DeleteOccAvailabilityCatalogResponse, err error)
DeleteOccAvailabilityCatalog Deletes the availability catalog resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteOccAvailabilityCatalog.go.html to see an example of how to use DeleteOccAvailabilityCatalog API. A default retry strategy applies to this operation DeleteOccAvailabilityCatalog()
func (client CapacityManagementClient) DeleteOccCapacityRequest(ctx context.Context, request DeleteOccCapacityRequestRequest) (response DeleteOccCapacityRequestResponse, err error)
DeleteOccCapacityRequest Deletes the capacity request resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteOccCapacityRequest.go.html to see an example of how to use DeleteOccCapacityRequest API. A default retry strategy applies to this operation DeleteOccCapacityRequest()
func (client CapacityManagementClient) DeleteOccCustomer(ctx context.Context, request DeleteOccCustomerRequest) (response DeleteOccCustomerResponse, err error)
DeleteOccCustomer Deletes the customer resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteOccCustomer.go.html to see an example of how to use DeleteOccCustomer API. A default retry strategy applies to this operation DeleteOccCustomer()
func (client CapacityManagementClient) DeleteOccCustomerGroup(ctx context.Context, request DeleteOccCustomerGroupRequest) (response DeleteOccCustomerGroupResponse, err error)
DeleteOccCustomerGroup Deletes the customer group resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteOccCustomerGroup.go.html to see an example of how to use DeleteOccCustomerGroup API. A default retry strategy applies to this operation DeleteOccCustomerGroup()
func (client CapacityManagementClient) GetOccAvailabilityCatalog(ctx context.Context, request GetOccAvailabilityCatalogRequest) (response GetOccAvailabilityCatalogResponse, err error)
GetOccAvailabilityCatalog Get details about availability catalog.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetOccAvailabilityCatalog.go.html to see an example of how to use GetOccAvailabilityCatalog API. A default retry strategy applies to this operation GetOccAvailabilityCatalog()
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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetOccAvailabilityCatalogContent.go.html to see an example of how to use GetOccAvailabilityCatalogContent API. A default retry strategy applies to this operation GetOccAvailabilityCatalogContent()
func (client CapacityManagementClient) GetOccCapacityRequest(ctx context.Context, request GetOccCapacityRequestRequest) (response GetOccCapacityRequestResponse, err error)
GetOccCapacityRequest Get details about the capacity request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetOccCapacityRequest.go.html to see an example of how to use GetOccCapacityRequest API. A default retry strategy applies to this operation GetOccCapacityRequest()
func (client CapacityManagementClient) GetOccCustomerGroup(ctx context.Context, request GetOccCustomerGroupRequest) (response GetOccCustomerGroupResponse, err error)
GetOccCustomerGroup Gets information about the specified customer group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetOccCustomerGroup.go.html to see an example of how to use GetOccCustomerGroup API. A default retry strategy applies to this operation GetOccCustomerGroup()
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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalNamespaceOccOverviews.go.html to see an example of how to use ListInternalNamespaceOccOverviews API. A default retry strategy applies to this operation ListInternalNamespaceOccOverviews()
func (client CapacityManagementClient) ListInternalOccHandoverResourceBlockDetails(ctx context.Context, request ListInternalOccHandoverResourceBlockDetailsRequest) (response ListInternalOccHandoverResourceBlockDetailsResponse, err error)
ListInternalOccHandoverResourceBlockDetails List details about a given occHandoverResourceBlock.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccHandoverResourceBlockDetails.go.html to see an example of how to use ListInternalOccHandoverResourceBlockDetails API. A default retry strategy applies to this operation ListInternalOccHandoverResourceBlockDetails()
func (client CapacityManagementClient) ListInternalOccHandoverResourceBlocks(ctx context.Context, request ListInternalOccHandoverResourceBlocksRequest) (response ListInternalOccHandoverResourceBlocksResponse, err error)
ListInternalOccHandoverResourceBlocks List Occ Handover Resource blocks.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccHandoverResourceBlocks.go.html to see an example of how to use ListInternalOccHandoverResourceBlocks API. A default retry strategy applies to this operation ListInternalOccHandoverResourceBlocks()
func (client CapacityManagementClient) ListOccAvailabilities(ctx context.Context, request ListOccAvailabilitiesRequest) (response ListOccAvailabilitiesResponse, err error)
ListOccAvailabilities Lists availabilities for a particular availability catalog.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccAvailabilities.go.html to see an example of how to use ListOccAvailabilities API. A default retry strategy applies to this operation ListOccAvailabilities()
func (client CapacityManagementClient) ListOccAvailabilityCatalogs(ctx context.Context, request ListOccAvailabilityCatalogsRequest) (response ListOccAvailabilityCatalogsResponse, err error)
ListOccAvailabilityCatalogs Lists all availability catalogs.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccAvailabilityCatalogs.go.html to see an example of how to use ListOccAvailabilityCatalogs API. A default retry strategy applies to this operation ListOccAvailabilityCatalogs()
func (client CapacityManagementClient) ListOccAvailabilityCatalogsInternal(ctx context.Context, request ListOccAvailabilityCatalogsInternalRequest) (response ListOccAvailabilityCatalogsInternalResponse, err error)
ListOccAvailabilityCatalogsInternal An internal api to list availability catalogs.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccAvailabilityCatalogsInternal.go.html to see an example of how to use ListOccAvailabilityCatalogsInternal API. A default retry strategy applies to this operation ListOccAvailabilityCatalogsInternal()
func (client CapacityManagementClient) ListOccCapacityRequests(ctx context.Context, request ListOccCapacityRequestsRequest) (response ListOccCapacityRequestsResponse, err error)
ListOccCapacityRequests Lists all capacity requests.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccCapacityRequests.go.html to see an example of how to use ListOccCapacityRequests API. A default retry strategy applies to this operation ListOccCapacityRequests()
func (client CapacityManagementClient) ListOccCapacityRequestsInternal(ctx context.Context, request ListOccCapacityRequestsInternalRequest) (response ListOccCapacityRequestsInternalResponse, err error)
ListOccCapacityRequestsInternal An internal api to list all capacity requests.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccCapacityRequestsInternal.go.html to see an example of how to use ListOccCapacityRequestsInternal API. A default retry strategy applies to this operation ListOccCapacityRequestsInternal()
func (client CapacityManagementClient) ListOccCustomerGroups(ctx context.Context, request ListOccCustomerGroupsRequest) (response ListOccCustomerGroupsResponse, err error)
ListOccCustomerGroups Lists all the customer groups.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccCustomerGroups.go.html to see an example of how to use ListOccCustomerGroups API. A default retry strategy applies to this operation ListOccCustomerGroups()
func (client CapacityManagementClient) ListOccHandoverResourceBlockDetails(ctx context.Context, request ListOccHandoverResourceBlockDetailsRequest) (response ListOccHandoverResourceBlockDetailsResponse, err error)
ListOccHandoverResourceBlockDetails List details about a given occHandoverResourceBlock.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccHandoverResourceBlockDetails.go.html to see an example of how to use ListOccHandoverResourceBlockDetails API. A default retry strategy applies to this operation ListOccHandoverResourceBlockDetails()
func (client CapacityManagementClient) ListOccHandoverResourceBlocks(ctx context.Context, request ListOccHandoverResourceBlocksRequest) (response ListOccHandoverResourceBlocksResponse, err error)
ListOccHandoverResourceBlocks List Occ Handover Resource blocks.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccHandoverResourceBlocks.go.html to see an example of how to use ListOccHandoverResourceBlocks API. A default retry strategy applies to this operation ListOccHandoverResourceBlocks()
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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccOverviews.go.html to see an example of how to use ListOccOverviews API. A default retry strategy applies to this operation ListOccOverviews()
func (client CapacityManagementClient) PatchInternalOccCapacityRequest(ctx context.Context, request PatchInternalOccCapacityRequestRequest) (response PatchInternalOccCapacityRequestResponse, err error)
PatchInternalOccCapacityRequest Updates the OccCapacityRequest by evaluating a sequence of instructions.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/PatchInternalOccCapacityRequest.go.html to see an example of how to use PatchInternalOccCapacityRequest API. A default retry strategy applies to this operation PatchInternalOccCapacityRequest()
func (client CapacityManagementClient) PatchOccCapacityRequest(ctx context.Context, request PatchOccCapacityRequestRequest) (response PatchOccCapacityRequestResponse, err error)
PatchOccCapacityRequest Updates the OccCapacityRequest by evaluating a sequence of instructions.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/PatchOccCapacityRequest.go.html to see an example of how to use PatchOccCapacityRequest API. A default retry strategy applies to this operation PatchOccCapacityRequest()
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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/PublishOccAvailabilityCatalog.go.html to see an example of how to use PublishOccAvailabilityCatalog API. A default retry strategy applies to this operation PublishOccAvailabilityCatalog()
func (client *CapacityManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateInternalOccCapacityRequest.go.html to see an example of how to use UpdateInternalOccCapacityRequest API. A default retry strategy applies to this operation UpdateInternalOccCapacityRequest()
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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateOccAvailabilityCatalog.go.html to see an example of how to use UpdateOccAvailabilityCatalog API. A default retry strategy applies to this operation UpdateOccAvailabilityCatalog()
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.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateOccCapacityRequest.go.html to see an example of how to use UpdateOccCapacityRequest API. A default retry strategy applies to this operation UpdateOccCapacityRequest()
func (client CapacityManagementClient) UpdateOccCustomer(ctx context.Context, request UpdateOccCustomerRequest) (response UpdateOccCustomerResponse, err error)
UpdateOccCustomer The request to update the customer.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateOccCustomer.go.html to see an example of how to use UpdateOccCustomer API. A default retry strategy applies to this operation UpdateOccCustomer()
func (client CapacityManagementClient) UpdateOccCustomerGroup(ctx context.Context, request UpdateOccCustomerGroupRequest) (response UpdateOccCustomerGroupResponse, err error)
UpdateOccCustomerGroup The request to update the customer group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateOccCustomerGroup.go.html to see an example of how to use UpdateOccCustomerGroup API. A default retry strategy applies to this operation UpdateOccCustomerGroup()
CreateInternalOccmDemandSignalDeliveryDetails An internal model containing details about the properties required for creating a demand signal delivery resource.
type CreateInternalOccmDemandSignalDeliveryDetails struct { // The OCID of the tenancy from which the demand signal delivery resource is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the corresponding customer group to which this demand signal delivery resource belongs to. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // The OCID of the demand signal under which this delivery will be grouped. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // The OCID of the demand signal item corresponding to which this delivery is made. DemandSignalItemId *string `mandatory:"true" json:"demandSignalItemId"` // The quantity of the resource that OCI will supply to the customer. AcceptedQuantity *int64 `mandatory:"true" json:"acceptedQuantity"` // This field could be used by OCI to communicate the reason for declining the request. Justification *string `mandatory:"false" json:"justification"` // This field acts as a notes section for operators. Notes *string `mandatory:"false" json:"notes"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateInternalOccmDemandSignalDeliveryDetails) String() string
func (m CreateInternalOccmDemandSignalDeliveryDetails) 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
CreateInternalOccmDemandSignalDeliveryRequest wrapper for the CreateInternalOccmDemandSignalDelivery operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateInternalOccmDemandSignalDelivery.go.html to see an example of how to use CreateInternalOccmDemandSignalDeliveryRequest.
type CreateInternalOccmDemandSignalDeliveryRequest struct { // The request details for creating an occm demand signal delivery resource. CreateInternalOccmDemandSignalDeliveryDetails `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 (request CreateInternalOccmDemandSignalDeliveryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateInternalOccmDemandSignalDeliveryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateInternalOccmDemandSignalDeliveryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateInternalOccmDemandSignalDeliveryRequest) String() string
func (request CreateInternalOccmDemandSignalDeliveryRequest) 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
CreateInternalOccmDemandSignalDeliveryResponse wrapper for the CreateInternalOccmDemandSignalDelivery operation
type CreateInternalOccmDemandSignalDeliveryResponse struct { // The underlying http response RawResponse *http.Response // The InternalOccmDemandSignalDelivery instance InternalOccmDemandSignalDelivery `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 (response CreateInternalOccmDemandSignalDeliveryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateInternalOccmDemandSignalDeliveryResponse) String() string
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 (m CreateOccAvailabilityCatalogDetails) String() string
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
CreateOccAvailabilityCatalogRequest wrapper for the CreateOccAvailabilityCatalog operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request CreateOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOccAvailabilityCatalogRequest) String() string
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
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 (response CreateOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOccAvailabilityCatalogResponse) String() string
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 (m CreateOccCapacityRequestDetails) String() string
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
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() []CreateOccCapacityRequestDetailsRequestStateEnum
GetCreateOccCapacityRequestDetailsRequestStateEnumValues Enumerates the set of values for CreateOccCapacityRequestDetailsRequestStateEnum
func GetMappingCreateOccCapacityRequestDetailsRequestStateEnum(val string) (CreateOccCapacityRequestDetailsRequestStateEnum, bool)
GetMappingCreateOccCapacityRequestDetailsRequestStateEnum performs case Insensitive comparison on enum value and return the desired enum
CreateOccCapacityRequestRequest wrapper for the CreateOccCapacityRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request CreateOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOccCapacityRequestRequest) String() string
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
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 (response CreateOccCapacityRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOccCapacityRequestResponse) String() string
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 (m CreateOccCustomerDetails) String() string
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
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() []CreateOccCustomerDetailsStatusEnum
GetCreateOccCustomerDetailsStatusEnumValues Enumerates the set of values for CreateOccCustomerDetailsStatusEnum
func GetMappingCreateOccCustomerDetailsStatusEnum(val string) (CreateOccCustomerDetailsStatusEnum, bool)
GetMappingCreateOccCustomerDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m CreateOccCustomerGroupDetails) String() string
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
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() []CreateOccCustomerGroupDetailsStatusEnum
GetCreateOccCustomerGroupDetailsStatusEnumValues Enumerates the set of values for CreateOccCustomerGroupDetailsStatusEnum
func GetMappingCreateOccCustomerGroupDetailsStatusEnum(val string) (CreateOccCustomerGroupDetailsStatusEnum, bool)
GetMappingCreateOccCustomerGroupDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CreateOccCustomerGroupRequest wrapper for the CreateOccCustomerGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request CreateOccCustomerGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOccCustomerGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOccCustomerGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOccCustomerGroupRequest) String() string
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
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 (response CreateOccCustomerGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOccCustomerGroupResponse) String() string
CreateOccCustomerRequest wrapper for the CreateOccCustomer operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request CreateOccCustomerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOccCustomerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOccCustomerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOccCustomerRequest) String() string
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
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 (response CreateOccCustomerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOccCustomerResponse) String() string
CreateOccmDemandSignalDetails Details about the different fields required for creating OCC Demand Signal.
type CreateOccmDemandSignalDetails struct { // The OCID of the tenancy where we would like to create a demand signal. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The user-friendly name of the demand signal. Does not have to be unique. Avoid entering anything confidential. DisplayName *string `mandatory:"true" json:"displayName"` // A short description of the demand signal. 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 (m CreateOccmDemandSignalDetails) String() string
func (m CreateOccmDemandSignalDetails) 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
CreateOccmDemandSignalItemDetails Details about different fields required to create a demand signal item resource.
type CreateOccmDemandSignalItemDetails struct { // The OCID of the tenancy from which the demand signal item was created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the demand signal under which we need to create this item. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // The OCID of the correponding demand signal catalog resource. DemandSignalCatalogResourceId *string `mandatory:"true" json:"demandSignalCatalogResourceId"` // The type of request (DEMAND or RETURN) that you want to make for this demand signal item. RequestType OccmDemandSignalItemRequestTypeEnum `mandatory:"true" json:"requestType"` // The name of region for which you want to request the OCI resource. Region *string `mandatory:"true" json:"region"` // The quantity of the resource that you want to demand from OCI. DemandQuantity *int64 `mandatory:"true" json:"demandQuantity"` // the date before which you would ideally like the OCI resource to be delivered to you. TimeNeededBefore *common.SDKTime `mandatory:"true" json:"timeNeededBefore"` // A map of various properties associated with the OCI resource. ResourceProperties map[string]string `mandatory:"true" json:"resourceProperties"` // The name of the availability domain for which you want to request the OCI resource. This is an optional parameter. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` // The OCID of the tenancy for which you want to request the OCI resource for. This is an optional parameter. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // This field will serve as notes section for you. You can use this section to convey a message to OCI regarding your resource request. // NOTE: The previous value gets overwritten with the new one for this once updated. Notes *string `mandatory:"false" json:"notes"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateOccmDemandSignalItemDetails) String() string
func (m CreateOccmDemandSignalItemDetails) 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
CreateOccmDemandSignalItemRequest wrapper for the CreateOccmDemandSignalItem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccmDemandSignalItem.go.html to see an example of how to use CreateOccmDemandSignalItemRequest.
type CreateOccmDemandSignalItemRequest struct { // The request details for creating occm demand signal item. CreateOccmDemandSignalItemDetails `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 (request CreateOccmDemandSignalItemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOccmDemandSignalItemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOccmDemandSignalItemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOccmDemandSignalItemRequest) String() string
func (request CreateOccmDemandSignalItemRequest) 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
CreateOccmDemandSignalItemResponse wrapper for the CreateOccmDemandSignalItem operation
type CreateOccmDemandSignalItemResponse struct { // The underlying http response RawResponse *http.Response // The OccmDemandSignalItem instance OccmDemandSignalItem `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 (response CreateOccmDemandSignalItemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOccmDemandSignalItemResponse) String() string
CreateOccmDemandSignalRequest wrapper for the CreateOccmDemandSignal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccmDemandSignal.go.html to see an example of how to use CreateOccmDemandSignalRequest.
type CreateOccmDemandSignalRequest struct { // The request details for creating occm demand signal. CreateOccmDemandSignalDetails `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 (request CreateOccmDemandSignalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOccmDemandSignalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOccmDemandSignalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOccmDemandSignalRequest) String() string
func (request CreateOccmDemandSignalRequest) 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
CreateOccmDemandSignalResponse wrapper for the CreateOccmDemandSignal operation
type CreateOccmDemandSignalResponse struct { // The underlying http response RawResponse *http.Response // The OccmDemandSignal instance OccmDemandSignal `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 (response CreateOccmDemandSignalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOccmDemandSignalResponse) String() string
DeleteInternalOccmDemandSignalDeliveryRequest wrapper for the DeleteInternalOccmDemandSignalDelivery operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteInternalOccmDemandSignalDelivery.go.html to see an example of how to use DeleteInternalOccmDemandSignalDeliveryRequest.
type DeleteInternalOccmDemandSignalDeliveryRequest struct { // The OCID of the demand signal delivery. OccmDemandSignalDeliveryId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalDeliveryId"` // 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 (request DeleteInternalOccmDemandSignalDeliveryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteInternalOccmDemandSignalDeliveryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteInternalOccmDemandSignalDeliveryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteInternalOccmDemandSignalDeliveryRequest) String() string
func (request DeleteInternalOccmDemandSignalDeliveryRequest) 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
DeleteInternalOccmDemandSignalDeliveryResponse wrapper for the DeleteInternalOccmDemandSignalDelivery operation
type DeleteInternalOccmDemandSignalDeliveryResponse 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 (response DeleteInternalOccmDemandSignalDeliveryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteInternalOccmDemandSignalDeliveryResponse) String() string
DeleteOccAvailabilityCatalogRequest wrapper for the DeleteOccAvailabilityCatalog operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request DeleteOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOccAvailabilityCatalogRequest) String() string
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
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 (response DeleteOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOccAvailabilityCatalogResponse) String() string
DeleteOccCapacityRequestRequest wrapper for the DeleteOccCapacityRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request DeleteOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOccCapacityRequestRequest) String() string
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
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 (response DeleteOccCapacityRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOccCapacityRequestResponse) String() string
DeleteOccCustomerGroupRequest wrapper for the DeleteOccCustomerGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request DeleteOccCustomerGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOccCustomerGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOccCustomerGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOccCustomerGroupRequest) String() string
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
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 (response DeleteOccCustomerGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOccCustomerGroupResponse) String() string
DeleteOccCustomerRequest wrapper for the DeleteOccCustomer operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request DeleteOccCustomerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOccCustomerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOccCustomerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOccCustomerRequest) String() string
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
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 (response DeleteOccCustomerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOccCustomerResponse) String() string
DeleteOccmDemandSignalItemRequest wrapper for the DeleteOccmDemandSignalItem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteOccmDemandSignalItem.go.html to see an example of how to use DeleteOccmDemandSignalItemRequest.
type DeleteOccmDemandSignalItemRequest struct { // The OCID of the demand signal item. OccmDemandSignalItemId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalItemId"` // 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 (request DeleteOccmDemandSignalItemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOccmDemandSignalItemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOccmDemandSignalItemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOccmDemandSignalItemRequest) String() string
func (request DeleteOccmDemandSignalItemRequest) 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
DeleteOccmDemandSignalItemResponse wrapper for the DeleteOccmDemandSignalItem operation
type DeleteOccmDemandSignalItemResponse 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 (response DeleteOccmDemandSignalItemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOccmDemandSignalItemResponse) String() string
DeleteOccmDemandSignalRequest wrapper for the DeleteOccmDemandSignal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteOccmDemandSignal.go.html to see an example of how to use DeleteOccmDemandSignalRequest.
type DeleteOccmDemandSignalRequest struct { // The OCID of the demand signal. OccmDemandSignalId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalId"` // 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 (request DeleteOccmDemandSignalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOccmDemandSignalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOccmDemandSignalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOccmDemandSignalRequest) String() string
func (request DeleteOccmDemandSignalRequest) 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
DeleteOccmDemandSignalResponse wrapper for the DeleteOccmDemandSignal operation
type DeleteOccmDemandSignalResponse 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 (response DeleteOccmDemandSignalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOccmDemandSignalResponse) String() string
DemandSignalClient a client for DemandSignal
type DemandSignalClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDemandSignalClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DemandSignalClient, err error)
NewDemandSignalClientWithConfigurationProvider Creates a new default DemandSignal client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDemandSignalClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DemandSignalClient, err error)
NewDemandSignalClientWithOboToken Creates a new default DemandSignal client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DemandSignalClient) BulkCreateOccmDemandSignalItem(ctx context.Context, request BulkCreateOccmDemandSignalItemRequest) (response BulkCreateOccmDemandSignalItemResponse, err error)
BulkCreateOccmDemandSignalItem This API will help in bulk creation of demand signal items. This API is atomic i.e either all the demand signal item resources will be created or none will be created.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/BulkCreateOccmDemandSignalItem.go.html to see an example of how to use BulkCreateOccmDemandSignalItem API. A default retry strategy applies to this operation BulkCreateOccmDemandSignalItem()
func (client *DemandSignalClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DemandSignalClient) CreateOccmDemandSignal(ctx context.Context, request CreateOccmDemandSignalRequest) (response CreateOccmDemandSignalResponse, err error)
CreateOccmDemandSignal This is a post API to create occm demand signal.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccmDemandSignal.go.html to see an example of how to use CreateOccmDemandSignal API. A default retry strategy applies to this operation CreateOccmDemandSignal()
func (client DemandSignalClient) CreateOccmDemandSignalItem(ctx context.Context, request CreateOccmDemandSignalItemRequest) (response CreateOccmDemandSignalItemResponse, err error)
CreateOccmDemandSignalItem This API will create a demand signal item representing a resource request. This needs to be grouped under a demand signal.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateOccmDemandSignalItem.go.html to see an example of how to use CreateOccmDemandSignalItem API. A default retry strategy applies to this operation CreateOccmDemandSignalItem()
func (client DemandSignalClient) DeleteOccmDemandSignal(ctx context.Context, request DeleteOccmDemandSignalRequest) (response DeleteOccmDemandSignalResponse, err error)
DeleteOccmDemandSignal This is a DELETE API which deletes a demand signal with the provided demand signal ocid.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteOccmDemandSignal.go.html to see an example of how to use DeleteOccmDemandSignal API. A default retry strategy applies to this operation DeleteOccmDemandSignal()
func (client DemandSignalClient) DeleteOccmDemandSignalItem(ctx context.Context, request DeleteOccmDemandSignalItemRequest) (response DeleteOccmDemandSignalItemResponse, err error)
DeleteOccmDemandSignalItem This is a DELETE API which deletes a demand signal item with the provided demand signal item ocid.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteOccmDemandSignalItem.go.html to see an example of how to use DeleteOccmDemandSignalItem API. A default retry strategy applies to this operation DeleteOccmDemandSignalItem()
func (client DemandSignalClient) GetOccmDemandSignal(ctx context.Context, request GetOccmDemandSignalRequest) (response GetOccmDemandSignalResponse, err error)
GetOccmDemandSignal This is a GET API which gets the detailed information about a specific demand signal.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetOccmDemandSignal.go.html to see an example of how to use GetOccmDemandSignal API. A default retry strategy applies to this operation GetOccmDemandSignal()
func (client DemandSignalClient) GetOccmDemandSignalItem(ctx context.Context, request GetOccmDemandSignalItemRequest) (response GetOccmDemandSignalItemResponse, err error)
GetOccmDemandSignalItem This is a GET API to get the details of a demand signal item resource representing the details of the resource demanded by you.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetOccmDemandSignalItem.go.html to see an example of how to use GetOccmDemandSignalItem API. A default retry strategy applies to this operation GetOccmDemandSignalItem()
func (client DemandSignalClient) ListOccmDemandSignalCatalogResources(ctx context.Context, request ListOccmDemandSignalCatalogResourcesRequest) (response ListOccmDemandSignalCatalogResourcesResponse, err error)
ListOccmDemandSignalCatalogResources This API will list all the resources across all demand signal catalogs for a given namespace and customer group containing the caller compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccmDemandSignalCatalogResources.go.html to see an example of how to use ListOccmDemandSignalCatalogResources API. A default retry strategy applies to this operation ListOccmDemandSignalCatalogResources()
func (client DemandSignalClient) ListOccmDemandSignalDeliveries(ctx context.Context, request ListOccmDemandSignalDeliveriesRequest) (response ListOccmDemandSignalDeliveriesResponse, err error)
ListOccmDemandSignalDeliveries This GET call is used to list all demand signals delivery resources within the compartment passed as a query param.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccmDemandSignalDeliveries.go.html to see an example of how to use ListOccmDemandSignalDeliveries API. A default retry strategy applies to this operation ListOccmDemandSignalDeliveries()
func (client DemandSignalClient) ListOccmDemandSignalItems(ctx context.Context, request ListOccmDemandSignalItemsRequest) (response ListOccmDemandSignalItemsResponse, err error)
ListOccmDemandSignalItems This API will list the detailed information about the resources demanded as part of the demand signal.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccmDemandSignalItems.go.html to see an example of how to use ListOccmDemandSignalItems API. A default retry strategy applies to this operation ListOccmDemandSignalItems()
func (client DemandSignalClient) ListOccmDemandSignals(ctx context.Context, request ListOccmDemandSignalsRequest) (response ListOccmDemandSignalsResponse, err error)
ListOccmDemandSignals This GET call is used to list all demand signals within the compartment passed as a query parameter.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccmDemandSignals.go.html to see an example of how to use ListOccmDemandSignals API. A default retry strategy applies to this operation ListOccmDemandSignals()
func (client *DemandSignalClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DemandSignalClient) UpdateOccmDemandSignal(ctx context.Context, request UpdateOccmDemandSignalRequest) (response UpdateOccmDemandSignalResponse, err error)
UpdateOccmDemandSignal This is a PUT API which shall be used to update the metadata of the demand signal.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateOccmDemandSignal.go.html to see an example of how to use UpdateOccmDemandSignal API. A default retry strategy applies to this operation UpdateOccmDemandSignal()
func (client DemandSignalClient) UpdateOccmDemandSignalItem(ctx context.Context, request UpdateOccmDemandSignalItemRequest) (response UpdateOccmDemandSignalItemResponse, err error)
UpdateOccmDemandSignalItem This is a PUT API which can be used to update the demand signal item resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateOccmDemandSignalItem.go.html to see an example of how to use UpdateOccmDemandSignalItem API. A default retry strategy applies to this operation UpdateOccmDemandSignalItem()
DemandSignalNamespaceEnum Enum with underlying type: string
type DemandSignalNamespaceEnum string
Set of constants representing the allowable values for DemandSignalNamespaceEnum
const ( DemandSignalNamespaceCompute DemandSignalNamespaceEnum = "COMPUTE" DemandSignalNamespaceNetwork DemandSignalNamespaceEnum = "NETWORK" DemandSignalNamespaceGpu DemandSignalNamespaceEnum = "GPU" DemandSignalNamespaceStorage DemandSignalNamespaceEnum = "STORAGE" )
func GetDemandSignalNamespaceEnumValues() []DemandSignalNamespaceEnum
GetDemandSignalNamespaceEnumValues Enumerates the set of values for DemandSignalNamespaceEnum
func GetMappingDemandSignalNamespaceEnum(val string) (DemandSignalNamespaceEnum, bool)
GetMappingDemandSignalNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
GetInternalOccmDemandSignalCatalogRequest wrapper for the GetInternalOccmDemandSignalCatalog operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetInternalOccmDemandSignalCatalog.go.html to see an example of how to use GetInternalOccmDemandSignalCatalogRequest.
type GetInternalOccmDemandSignalCatalogRequest struct { // The OCID of the demand signal catalog. OccmDemandSignalCatalogId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalCatalogId"` // 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 (request GetInternalOccmDemandSignalCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetInternalOccmDemandSignalCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetInternalOccmDemandSignalCatalogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetInternalOccmDemandSignalCatalogRequest) String() string
func (request GetInternalOccmDemandSignalCatalogRequest) 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
GetInternalOccmDemandSignalCatalogResponse wrapper for the GetInternalOccmDemandSignalCatalog operation
type GetInternalOccmDemandSignalCatalogResponse struct { // The underlying http response RawResponse *http.Response // The OccmDemandSignalCatalog instance OccmDemandSignalCatalog `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetInternalOccmDemandSignalCatalogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetInternalOccmDemandSignalCatalogResponse) String() string
GetInternalOccmDemandSignalDeliveryRequest wrapper for the GetInternalOccmDemandSignalDelivery operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetInternalOccmDemandSignalDelivery.go.html to see an example of how to use GetInternalOccmDemandSignalDeliveryRequest.
type GetInternalOccmDemandSignalDeliveryRequest struct { // The OCID of the demand signal delivery. OccmDemandSignalDeliveryId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalDeliveryId"` // 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 (request GetInternalOccmDemandSignalDeliveryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetInternalOccmDemandSignalDeliveryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetInternalOccmDemandSignalDeliveryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetInternalOccmDemandSignalDeliveryRequest) String() string
func (request GetInternalOccmDemandSignalDeliveryRequest) 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
GetInternalOccmDemandSignalDeliveryResponse wrapper for the GetInternalOccmDemandSignalDelivery operation
type GetInternalOccmDemandSignalDeliveryResponse struct { // The underlying http response RawResponse *http.Response // The InternalOccmDemandSignalDelivery instance InternalOccmDemandSignalDelivery `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetInternalOccmDemandSignalDeliveryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetInternalOccmDemandSignalDeliveryResponse) String() string
GetInternalOccmDemandSignalRequest wrapper for the GetInternalOccmDemandSignal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetInternalOccmDemandSignal.go.html to see an example of how to use GetInternalOccmDemandSignalRequest.
type GetInternalOccmDemandSignalRequest struct { // The OCID of the demand signal. OccmDemandSignalId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalId"` // 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 (request GetInternalOccmDemandSignalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetInternalOccmDemandSignalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetInternalOccmDemandSignalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetInternalOccmDemandSignalRequest) String() string
func (request GetInternalOccmDemandSignalRequest) 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
GetInternalOccmDemandSignalResponse wrapper for the GetInternalOccmDemandSignal operation
type GetInternalOccmDemandSignalResponse struct { // The underlying http response RawResponse *http.Response // The InternalOccmDemandSignal instance InternalOccmDemandSignal `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetInternalOccmDemandSignalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetInternalOccmDemandSignalResponse) String() string
GetOccAvailabilityCatalogContentRequest wrapper for the GetOccAvailabilityCatalogContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request GetOccAvailabilityCatalogContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOccAvailabilityCatalogContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOccAvailabilityCatalogContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOccAvailabilityCatalogContentRequest) String() string
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
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 (response GetOccAvailabilityCatalogContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOccAvailabilityCatalogContentResponse) String() string
GetOccAvailabilityCatalogRequest wrapper for the GetOccAvailabilityCatalog operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request GetOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOccAvailabilityCatalogRequest) String() string
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
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 (response GetOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOccAvailabilityCatalogResponse) String() string
GetOccCapacityRequestRequest wrapper for the GetOccCapacityRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request GetOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOccCapacityRequestRequest) String() string
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
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 (response GetOccCapacityRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOccCapacityRequestResponse) String() string
GetOccCustomerGroupRequest wrapper for the GetOccCustomerGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request GetOccCustomerGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOccCustomerGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOccCustomerGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOccCustomerGroupRequest) String() string
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
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 (response GetOccCustomerGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOccCustomerGroupResponse) String() string
GetOccmDemandSignalItemRequest wrapper for the GetOccmDemandSignalItem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetOccmDemandSignalItem.go.html to see an example of how to use GetOccmDemandSignalItemRequest.
type GetOccmDemandSignalItemRequest struct { // The OCID of the demand signal item. OccmDemandSignalItemId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalItemId"` // 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 (request GetOccmDemandSignalItemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOccmDemandSignalItemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOccmDemandSignalItemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOccmDemandSignalItemRequest) String() string
func (request GetOccmDemandSignalItemRequest) 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
GetOccmDemandSignalItemResponse wrapper for the GetOccmDemandSignalItem operation
type GetOccmDemandSignalItemResponse struct { // The underlying http response RawResponse *http.Response // The OccmDemandSignalItem instance OccmDemandSignalItem `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetOccmDemandSignalItemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOccmDemandSignalItemResponse) String() string
GetOccmDemandSignalRequest wrapper for the GetOccmDemandSignal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetOccmDemandSignal.go.html to see an example of how to use GetOccmDemandSignalRequest.
type GetOccmDemandSignalRequest struct { // The OCID of the demand signal. OccmDemandSignalId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalId"` // 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 (request GetOccmDemandSignalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOccmDemandSignalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOccmDemandSignalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOccmDemandSignalRequest) String() string
func (request GetOccmDemandSignalRequest) 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
GetOccmDemandSignalResponse wrapper for the GetOccmDemandSignal operation
type GetOccmDemandSignalResponse struct { // The underlying http response RawResponse *http.Response // The OccmDemandSignal instance OccmDemandSignal `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetOccmDemandSignalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOccmDemandSignalResponse) String() string
InternalDemandSignalClient a client for InternalDemandSignal
type InternalDemandSignalClient struct { common.BaseClient // contains filtered or unexported fields }
func NewInternalDemandSignalClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client InternalDemandSignalClient, err error)
NewInternalDemandSignalClientWithConfigurationProvider Creates a new default InternalDemandSignal client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewInternalDemandSignalClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client InternalDemandSignalClient, err error)
NewInternalDemandSignalClientWithOboToken Creates a new default InternalDemandSignal client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client *InternalDemandSignalClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client InternalDemandSignalClient) CreateInternalOccmDemandSignalDelivery(ctx context.Context, request CreateInternalOccmDemandSignalDeliveryRequest) (response CreateInternalOccmDemandSignalDeliveryResponse, err error)
CreateInternalOccmDemandSignalDelivery This is a post API which is used to create a demand signal delivery resource. operationId: CreateInternalOccmDemandSignalDelivery summary: A post call to create a demand signal delivery.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/CreateInternalOccmDemandSignalDelivery.go.html to see an example of how to use CreateInternalOccmDemandSignalDelivery API. A default retry strategy applies to this operation CreateInternalOccmDemandSignalDelivery()
func (client InternalDemandSignalClient) DeleteInternalOccmDemandSignalDelivery(ctx context.Context, request DeleteInternalOccmDemandSignalDeliveryRequest) (response DeleteInternalOccmDemandSignalDeliveryResponse, err error)
DeleteInternalOccmDemandSignalDelivery This is an internal DELETE API which is used to delete a demand signal delivery resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/DeleteInternalOccmDemandSignalDelivery.go.html to see an example of how to use DeleteInternalOccmDemandSignalDelivery API. A default retry strategy applies to this operation DeleteInternalOccmDemandSignalDelivery()
func (client InternalDemandSignalClient) GetInternalOccmDemandSignal(ctx context.Context, request GetInternalOccmDemandSignalRequest) (response GetInternalOccmDemandSignalResponse, err error)
GetInternalOccmDemandSignal This is an internal GET API which gets the detailed information about a specific demand signal.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetInternalOccmDemandSignal.go.html to see an example of how to use GetInternalOccmDemandSignal API. A default retry strategy applies to this operation GetInternalOccmDemandSignal()
func (client InternalDemandSignalClient) GetInternalOccmDemandSignalCatalog(ctx context.Context, request GetInternalOccmDemandSignalCatalogRequest) (response GetInternalOccmDemandSignalCatalogResponse, err error)
GetInternalOccmDemandSignalCatalog This API helps in getting the details about a specific occm demand signal catalog.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetInternalOccmDemandSignalCatalog.go.html to see an example of how to use GetInternalOccmDemandSignalCatalog API. A default retry strategy applies to this operation GetInternalOccmDemandSignalCatalog()
func (client InternalDemandSignalClient) GetInternalOccmDemandSignalDelivery(ctx context.Context, request GetInternalOccmDemandSignalDeliveryRequest) (response GetInternalOccmDemandSignalDeliveryResponse, err error)
GetInternalOccmDemandSignalDelivery This is an internal GET API to get the details of a demand signal delivery resource corresponding to a demand signal item.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/GetInternalOccmDemandSignalDelivery.go.html to see an example of how to use GetInternalOccmDemandSignalDelivery API. A default retry strategy applies to this operation GetInternalOccmDemandSignalDelivery()
func (client InternalDemandSignalClient) ListInternalOccmDemandSignalCatalogResources(ctx context.Context, request ListInternalOccmDemandSignalCatalogResourcesRequest) (response ListInternalOccmDemandSignalCatalogResourcesResponse, err error)
ListInternalOccmDemandSignalCatalogResources This API will list all the resources across all demand signal catalogs for a given namespace and customer group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignalCatalogResources.go.html to see an example of how to use ListInternalOccmDemandSignalCatalogResources API. A default retry strategy applies to this operation ListInternalOccmDemandSignalCatalogResources()
func (client InternalDemandSignalClient) ListInternalOccmDemandSignalCatalogs(ctx context.Context, request ListInternalOccmDemandSignalCatalogsRequest) (response ListInternalOccmDemandSignalCatalogsResponse, err error)
ListInternalOccmDemandSignalCatalogs This API will list demand signal catalogs for a given customer group.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignalCatalogs.go.html to see an example of how to use ListInternalOccmDemandSignalCatalogs API. A default retry strategy applies to this operation ListInternalOccmDemandSignalCatalogs()
func (client InternalDemandSignalClient) ListInternalOccmDemandSignalDeliveries(ctx context.Context, request ListInternalOccmDemandSignalDeliveriesRequest) (response ListInternalOccmDemandSignalDeliveriesResponse, err error)
ListInternalOccmDemandSignalDeliveries This GET call is used to list all demand signal delivery resources within the customer group passed as a query parameter.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignalDeliveries.go.html to see an example of how to use ListInternalOccmDemandSignalDeliveries API. A default retry strategy applies to this operation ListInternalOccmDemandSignalDeliveries()
func (client InternalDemandSignalClient) ListInternalOccmDemandSignalItems(ctx context.Context, request ListInternalOccmDemandSignalItemsRequest) (response ListInternalOccmDemandSignalItemsResponse, err error)
ListInternalOccmDemandSignalItems This internal API will list the detailed information about the resources demanded as part of the demand signal.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignalItems.go.html to see an example of how to use ListInternalOccmDemandSignalItems API. A default retry strategy applies to this operation ListInternalOccmDemandSignalItems()
func (client InternalDemandSignalClient) ListInternalOccmDemandSignals(ctx context.Context, request ListInternalOccmDemandSignalsRequest) (response ListInternalOccmDemandSignalsResponse, err error)
ListInternalOccmDemandSignals This is an internal GET call is used to list all demand signals within the compartment passed as a query parameter.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignals.go.html to see an example of how to use ListInternalOccmDemandSignals API. A default retry strategy applies to this operation ListInternalOccmDemandSignals()
func (client *InternalDemandSignalClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client InternalDemandSignalClient) UpdateInternalOccmDemandSignal(ctx context.Context, request UpdateInternalOccmDemandSignalRequest) (response UpdateInternalOccmDemandSignalResponse, err error)
UpdateInternalOccmDemandSignal This is a internal PUT API which shall be used to update the metadata of the demand signal.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateInternalOccmDemandSignal.go.html to see an example of how to use UpdateInternalOccmDemandSignal API. A default retry strategy applies to this operation UpdateInternalOccmDemandSignal()
func (client InternalDemandSignalClient) UpdateInternalOccmDemandSignalDelivery(ctx context.Context, request UpdateInternalOccmDemandSignalDeliveryRequest) (response UpdateInternalOccmDemandSignalDeliveryResponse, err error)
UpdateInternalOccmDemandSignalDelivery This is an internal PUT API which is used to update the demand signal delivery resource.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateInternalOccmDemandSignalDelivery.go.html to see an example of how to use UpdateInternalOccmDemandSignalDelivery API. A default retry strategy applies to this operation UpdateInternalOccmDemandSignalDelivery()
InternalOccmDemandSignal An internal model describing the demand signal.
type InternalOccmDemandSignal struct { // The OCID of the demand signal. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the request to create the demand signal was made. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the demand signal. DisplayName *string `mandatory:"true" json:"displayName"` // The different states associated with a demand signal. // CREATED -> A demand signal is by default created in this state. // SUBMITTED -> Once you have reviewed the details of the demand signal, you can transition it to SUBMITTED state so that OCI can start working on it. // DELETED -> You can delete a demand signal as long as it is in either CREATED or SUBMITTED state. // IN_PROGRESS -> Once OCI starts working on a given demand signal. They transition it to IN_PROGRESS. // REJECTED -> OCI can transition the demand signal to this state if all the demand signal items of that demand signal are declined. // COMPLETED -> OCI will transition the demand signal to COMPLETED state once the quantities which OCI committed to deliver to you has been delivered. LifecycleDetails OccmDemandSignalLifecycleDetailsEnum `mandatory:"true" json:"lifecycleDetails"` // The current lifecycle state of the demand signal. LifecycleState OccmDemandSignalLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID of the customer group in which the demand signal is created. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // A short description about the demand signal. 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m InternalOccmDemandSignal) String() string
func (m InternalOccmDemandSignal) 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
InternalOccmDemandSignalCatalogResource A model containing information about the details of a demand signal catalog resource.
type InternalOccmDemandSignalCatalogResource struct { // The OCID of the demand signal catalog resource. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the request to create the demand signal was made. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the customer group OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // The OCID of demand signal catalog OccmDemandSignalCatalogId *string `mandatory:"true" json:"occmDemandSignalCatalogId"` // The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. Namespace DemandSignalNamespaceEnum `mandatory:"true" json:"namespace"` // The name of the OCI resource that you want to request. Name *string `mandatory:"true" json:"name"` // The current lifecycle state of the demand signal catalog resource LifecycleState InternalOccmDemandSignalCatalogResourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal catalog resource was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal catalog resource was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID of the customer tenancy for which this resource will be available for the customer to order against. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // The name of region for which you want to request the OCI resource. This is an optional parameter. Region *string `mandatory:"false" json:"region"` // The name of the availability domain for which you want to request the OCI resource. This is an optional parameter. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` ResourceProperties *OccmDemandSignalResourcePropertiesCollection `mandatory:"false" json:"resourceProperties"` ResourcePropertyConstraints *OccmDemandSignalResourcePropertyConstraintsCollection `mandatory:"false" json:"resourcePropertyConstraints"` // 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 (m InternalOccmDemandSignalCatalogResource) String() string
func (m InternalOccmDemandSignalCatalogResource) 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
InternalOccmDemandSignalCatalogResourceCollection A list containing detailed information about different resources.
type InternalOccmDemandSignalCatalogResourceCollection struct { // An array of items containing detailed information about different resources. Items []InternalOccmDemandSignalCatalogResourceSummary `mandatory:"true" json:"items"` }
func (m InternalOccmDemandSignalCatalogResourceCollection) String() string
func (m InternalOccmDemandSignalCatalogResourceCollection) 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
InternalOccmDemandSignalCatalogResourceLifecycleStateEnum Enum with underlying type: string
type InternalOccmDemandSignalCatalogResourceLifecycleStateEnum string
Set of constants representing the allowable values for InternalOccmDemandSignalCatalogResourceLifecycleStateEnum
const ( InternalOccmDemandSignalCatalogResourceLifecycleStateCreating InternalOccmDemandSignalCatalogResourceLifecycleStateEnum = "CREATING" InternalOccmDemandSignalCatalogResourceLifecycleStateActive InternalOccmDemandSignalCatalogResourceLifecycleStateEnum = "ACTIVE" InternalOccmDemandSignalCatalogResourceLifecycleStateUpdating InternalOccmDemandSignalCatalogResourceLifecycleStateEnum = "UPDATING" InternalOccmDemandSignalCatalogResourceLifecycleStateDeleted InternalOccmDemandSignalCatalogResourceLifecycleStateEnum = "DELETED" InternalOccmDemandSignalCatalogResourceLifecycleStateDeleting InternalOccmDemandSignalCatalogResourceLifecycleStateEnum = "DELETING" InternalOccmDemandSignalCatalogResourceLifecycleStateFailed InternalOccmDemandSignalCatalogResourceLifecycleStateEnum = "FAILED" )
func GetInternalOccmDemandSignalCatalogResourceLifecycleStateEnumValues() []InternalOccmDemandSignalCatalogResourceLifecycleStateEnum
GetInternalOccmDemandSignalCatalogResourceLifecycleStateEnumValues Enumerates the set of values for InternalOccmDemandSignalCatalogResourceLifecycleStateEnum
func GetMappingInternalOccmDemandSignalCatalogResourceLifecycleStateEnum(val string) (InternalOccmDemandSignalCatalogResourceLifecycleStateEnum, bool)
GetMappingInternalOccmDemandSignalCatalogResourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
InternalOccmDemandSignalCatalogResourceSummary A summary model containing information about the details of a demand signal catalog resource.
type InternalOccmDemandSignalCatalogResourceSummary struct { // The OCID of the demand signal catalog resource. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the request to create the demand signal catalog was made. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the customerGroup. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // This OCID of the demand signal catalog OccmDemandSignalCatalogId *string `mandatory:"true" json:"occmDemandSignalCatalogId"` // The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. Namespace DemandSignalNamespaceEnum `mandatory:"true" json:"namespace"` // The name of the OCI resource that you want to request. Name *string `mandatory:"true" json:"name"` // The current lifecycle state of the demand signal catalog resource. LifecycleState InternalOccmDemandSignalCatalogResourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal catalog resource was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal catalog resource was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID of the customer tenancy for which this resource will be available for the customer to order against. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // The name of region for which you want to request the OCI resource. This is an optional parameter. Region *string `mandatory:"false" json:"region"` // The name of the availability domain for which you want to request the OCI resource. This is an optional parameter. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` ResourceProperties *OccmDemandSignalResourcePropertiesCollection `mandatory:"false" json:"resourceProperties"` ResourcePropertyConstraints *OccmDemandSignalResourcePropertyConstraintsCollection `mandatory:"false" json:"resourcePropertyConstraints"` // 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 (m InternalOccmDemandSignalCatalogResourceSummary) String() string
func (m InternalOccmDemandSignalCatalogResourceSummary) 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
InternalOccmDemandSignalCollection An internal list of demand signals.
type InternalOccmDemandSignalCollection struct { // An array of demand signal Items []InternalOccmDemandSignalSummary `mandatory:"true" json:"items"` }
func (m InternalOccmDemandSignalCollection) String() string
func (m InternalOccmDemandSignalCollection) 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
InternalOccmDemandSignalDelivery An internal model that contains information about the demand signal item delivery from OCI to customers.
type InternalOccmDemandSignalDelivery struct { // The OCID of this demand signal delivery resource. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the demand signal delivery resource is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the corresponding customer group to which this demand signal delivery resource belongs to. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // The OCID of the demand signal under which this delivery will be grouped. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // The OCID of the demand signal item corresponding to which this delivery is made. DemandSignalItemId *string `mandatory:"true" json:"demandSignalItemId"` // The quantity of the resource that OCI will supply to the customer. AcceptedQuantity *int64 `mandatory:"true" json:"acceptedQuantity"` // The current lifecycle state of the resource. LifecycleState InternalOccmDemandSignalDeliveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The enum values corresponding to the various states associated with the delivery resource. // SUBMITTED -> The state where operators have started working and thinking on the quantity that OCI can delivery for the corresponding demand signal item. // IN_REVIEW -> The operators are waiting on approvals from different teams/folks in this state. // ACCEPTED -> OCI has accepted your resource request and will deliver the quantity as specified by acceptance quantity of this resource. // DECLINED -> OCI has declined you resource request. // DELIVERED -> OCI has delivered the accepted quantity to the customers. // NOTE: The resource becomes visible to customers in ACCEPTED, DECLINED or DELIVERED state. LifecycleDetails InternalOccmDemandSignalDeliveryLifecycleDetailsEnum `mandatory:"true" json:"lifecycleDetails"` // This field could be used by OCI to communicate the reason for accepting or declining the request. Justification *string `mandatory:"false" json:"justification"` // The date on which the OCI delivered the resource to the customers. The default value for this will be the corresponding demand signal item resource's need by date. TimeDelivered *common.SDKTime `mandatory:"false" json:"timeDelivered"` // This field acts as a notes section for operators. Notes *string `mandatory:"false" json:"notes"` // 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 (m InternalOccmDemandSignalDelivery) String() string
func (m InternalOccmDemandSignalDelivery) 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
InternalOccmDemandSignalDeliveryCollection A list containing detailed delivery information about different resource demanded as part of the demand signal.
type InternalOccmDemandSignalDeliveryCollection struct { // An array of items containing detailed information about demand signal delivery resources. Items []InternalOccmDemandSignalDeliverySummary `mandatory:"true" json:"items"` }
func (m InternalOccmDemandSignalDeliveryCollection) String() string
func (m InternalOccmDemandSignalDeliveryCollection) 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
InternalOccmDemandSignalDeliveryLifecycleDetailsEnum Enum with underlying type: string
type InternalOccmDemandSignalDeliveryLifecycleDetailsEnum string
Set of constants representing the allowable values for InternalOccmDemandSignalDeliveryLifecycleDetailsEnum
const ( InternalOccmDemandSignalDeliveryLifecycleDetailsSubmitted InternalOccmDemandSignalDeliveryLifecycleDetailsEnum = "SUBMITTED" InternalOccmDemandSignalDeliveryLifecycleDetailsInReview InternalOccmDemandSignalDeliveryLifecycleDetailsEnum = "IN_REVIEW" InternalOccmDemandSignalDeliveryLifecycleDetailsAccepted InternalOccmDemandSignalDeliveryLifecycleDetailsEnum = "ACCEPTED" InternalOccmDemandSignalDeliveryLifecycleDetailsDeclined InternalOccmDemandSignalDeliveryLifecycleDetailsEnum = "DECLINED" InternalOccmDemandSignalDeliveryLifecycleDetailsDelivered InternalOccmDemandSignalDeliveryLifecycleDetailsEnum = "DELIVERED" )
func GetInternalOccmDemandSignalDeliveryLifecycleDetailsEnumValues() []InternalOccmDemandSignalDeliveryLifecycleDetailsEnum
GetInternalOccmDemandSignalDeliveryLifecycleDetailsEnumValues Enumerates the set of values for InternalOccmDemandSignalDeliveryLifecycleDetailsEnum
func GetMappingInternalOccmDemandSignalDeliveryLifecycleDetailsEnum(val string) (InternalOccmDemandSignalDeliveryLifecycleDetailsEnum, bool)
GetMappingInternalOccmDemandSignalDeliveryLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
InternalOccmDemandSignalDeliveryLifecycleStateEnum Enum with underlying type: string
type InternalOccmDemandSignalDeliveryLifecycleStateEnum string
Set of constants representing the allowable values for InternalOccmDemandSignalDeliveryLifecycleStateEnum
const ( InternalOccmDemandSignalDeliveryLifecycleStateCreating InternalOccmDemandSignalDeliveryLifecycleStateEnum = "CREATING" InternalOccmDemandSignalDeliveryLifecycleStateActive InternalOccmDemandSignalDeliveryLifecycleStateEnum = "ACTIVE" InternalOccmDemandSignalDeliveryLifecycleStateUpdating InternalOccmDemandSignalDeliveryLifecycleStateEnum = "UPDATING" InternalOccmDemandSignalDeliveryLifecycleStateDeleted InternalOccmDemandSignalDeliveryLifecycleStateEnum = "DELETED" InternalOccmDemandSignalDeliveryLifecycleStateDeleting InternalOccmDemandSignalDeliveryLifecycleStateEnum = "DELETING" InternalOccmDemandSignalDeliveryLifecycleStateFailed InternalOccmDemandSignalDeliveryLifecycleStateEnum = "FAILED" )
func GetInternalOccmDemandSignalDeliveryLifecycleStateEnumValues() []InternalOccmDemandSignalDeliveryLifecycleStateEnum
GetInternalOccmDemandSignalDeliveryLifecycleStateEnumValues Enumerates the set of values for InternalOccmDemandSignalDeliveryLifecycleStateEnum
func GetMappingInternalOccmDemandSignalDeliveryLifecycleStateEnum(val string) (InternalOccmDemandSignalDeliveryLifecycleStateEnum, bool)
GetMappingInternalOccmDemandSignalDeliveryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
InternalOccmDemandSignalDeliverySummary An internal summary model containing information about the demand signal delivery resources.
type InternalOccmDemandSignalDeliverySummary struct { // The OCID of this demand signal delivery resource. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the demand signal delivery resource is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the corresponding customer group to which this demand signal delivery resource belongs to. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // The OCID of the demand signal under which this delivery will be grouped. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // The OCID of the demand signal item corresponding to which this delivery is made. DemandSignalItemId *string `mandatory:"true" json:"demandSignalItemId"` // The quantity of the resource that OCI will supply to the customer. AcceptedQuantity *int64 `mandatory:"true" json:"acceptedQuantity"` // The current lifecycle state of the resource. LifecycleState InternalOccmDemandSignalDeliveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The enum values corresponding to the various states associated with the delivery resource. // SUBMITTED -> The state where operators have started working and thinking on the quantity that OCI can delivery for the corresponding demand signal item. // IN_REVIEW -> The operators are waiting on approvals from different teams/folks in this state. // ACCEPTED -> OCI has accepted your resource request and will deliver the quantity as specified by acceptance quantity of this resource. // DECLINED -> OCI has declined you resource request. // DELIVERED -> OCI has delivered the accepted quantity to the customers. // NOTE: The resource becomes visible to customers in ACCEPTED, DECLINED or DELIVERED state. LifecycleDetails InternalOccmDemandSignalDeliveryLifecycleDetailsEnum `mandatory:"true" json:"lifecycleDetails"` // This field could be used by OCI to communicate the reason for declining the request. Justification *string `mandatory:"false" json:"justification"` // The date on which the OCI delivered the resource to the customers. TimeDelivered *common.SDKTime `mandatory:"false" json:"timeDelivered"` // This field acts as a notes section for operators. Notes *string `mandatory:"false" json:"notes"` // 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 (m InternalOccmDemandSignalDeliverySummary) String() string
func (m InternalOccmDemandSignalDeliverySummary) 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
InternalOccmDemandSignalItemCollection A list containing detailed information about different resources demanded as part of a given demand signal.
type InternalOccmDemandSignalItemCollection struct { // An array of items containing detailed information about different resource demanded as part of a demand signal. Items []InternalOccmDemandSignalItemSummary `mandatory:"true" json:"items"` }
func (m InternalOccmDemandSignalItemCollection) String() string
func (m InternalOccmDemandSignalItemCollection) 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
InternalOccmDemandSignalItemSummary An internal summary model containing information about the details of a demand signal items.
type InternalOccmDemandSignalItemSummary struct { // The OCID of the demand signal resource request. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the demand signal item was created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the demand signal under which this item will be grouped. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. DemandSignalNamespace DemandSignalNamespaceEnum `mandatory:"true" json:"demandSignalNamespace"` // The OCID of the corresponding demand signal catalog resource. DemandSignalCatalogResourceId *string `mandatory:"true" json:"demandSignalCatalogResourceId"` // The type of request (DEMAND or RETURN) made against a particular demand signal item. RequestType OccmDemandSignalItemRequestTypeEnum `mandatory:"true" json:"requestType"` // The name of the OCI resource that you want to request. ResourceName *string `mandatory:"true" json:"resourceName"` // The name of region for which you want to request the OCI resource. Region *string `mandatory:"true" json:"region"` // The quantity of the resource that you want to demand from OCI or return to OCI. Quantity *int64 `mandatory:"true" json:"quantity"` // the date before which you would ideally like the OCI resource to be delivered to you. TimeNeededBefore *common.SDKTime `mandatory:"true" json:"timeNeededBefore"` // A map of various properties associated with the OCI resource. ResourceProperties map[string]string `mandatory:"true" json:"resourceProperties"` // The current lifecycle state of the demand signal item. LifecycleState OccmDemandSignalItemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the customer group in which the demand signal is created. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // The name of the availability domain for which you want to request the OCI resource. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` // The ocid of the tenancy for which you want to request the OCI resource for. This is an optional parameter. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // This field will serve as notes section for you. You can use this section to convey a message to OCI regarding your resource request. // NOTE: The previous value gets overwritten with the new one for this once updated. Notes *string `mandatory:"false" json:"notes"` // 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 (m InternalOccmDemandSignalItemSummary) String() string
func (m InternalOccmDemandSignalItemSummary) 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
InternalOccmDemandSignalSummary An internal summary model for occm demand signal.
type InternalOccmDemandSignalSummary struct { // The OCID of the demand signal. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the request to create the demand signal was made. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the demand signal. DisplayName *string `mandatory:"true" json:"displayName"` // The different states associated with a demand signal. // CREATED -> A demand signal is by default created in this state. // SUBMITTED -> Once you have reviewed the details of the demand signal, you can transition it to SUBMITTED state so that OCI can start working on it. // DELETED -> You can delete a demand signal as long as it is in either CREATED or SUBMITTED state. // IN_PROGRESS -> Once OCI starts working on a given demand signal. They transition it to IN_PROGRESS. // REJECTED -> OCI can transition the demand signal to this state if all the demand signal items of that demand signal are declined. // COMPLETED -> OCI will transition the demand signal to COMPLETED state once the quantities which OCI committed to deliver to you has been delivered. LifecycleDetails OccmDemandSignalLifecycleDetailsEnum `mandatory:"true" json:"lifecycleDetails"` // The current lifecycle state of the demand signal. LifecycleState OccmDemandSignalLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID of the customer group in which the demand signal is created. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // A short description about the demand signal. 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m InternalOccmDemandSignalSummary) String() string
func (m InternalOccmDemandSignalSummary) 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
ListInternalNamespaceOccOverviewsNamespaceEnum Enum with underlying type: string
type ListInternalNamespaceOccOverviewsNamespaceEnum string
Set of constants representing the allowable values for ListInternalNamespaceOccOverviewsNamespaceEnum
const ( ListInternalNamespaceOccOverviewsNamespaceCompute ListInternalNamespaceOccOverviewsNamespaceEnum = "COMPUTE" )
func GetListInternalNamespaceOccOverviewsNamespaceEnumValues() []ListInternalNamespaceOccOverviewsNamespaceEnum
GetListInternalNamespaceOccOverviewsNamespaceEnumValues Enumerates the set of values for ListInternalNamespaceOccOverviewsNamespaceEnum
func GetMappingListInternalNamespaceOccOverviewsNamespaceEnum(val string) (ListInternalNamespaceOccOverviewsNamespaceEnum, bool)
GetMappingListInternalNamespaceOccOverviewsNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalNamespaceOccOverviewsRequest wrapper for the ListInternalNamespaceOccOverviews operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListInternalNamespaceOccOverviewsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInternalNamespaceOccOverviewsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInternalNamespaceOccOverviewsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInternalNamespaceOccOverviewsRequest) String() string
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
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 (response ListInternalNamespaceOccOverviewsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInternalNamespaceOccOverviewsResponse) String() string
ListInternalNamespaceOccOverviewsSortByEnum Enum with underlying type: string
type ListInternalNamespaceOccOverviewsSortByEnum string
Set of constants representing the allowable values for ListInternalNamespaceOccOverviewsSortByEnum
const ( ListInternalNamespaceOccOverviewsSortByPeriodvalue ListInternalNamespaceOccOverviewsSortByEnum = "periodValue" )
func GetListInternalNamespaceOccOverviewsSortByEnumValues() []ListInternalNamespaceOccOverviewsSortByEnum
GetListInternalNamespaceOccOverviewsSortByEnumValues Enumerates the set of values for ListInternalNamespaceOccOverviewsSortByEnum
func GetMappingListInternalNamespaceOccOverviewsSortByEnum(val string) (ListInternalNamespaceOccOverviewsSortByEnum, bool)
GetMappingListInternalNamespaceOccOverviewsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListInternalNamespaceOccOverviewsSortOrderEnum
GetListInternalNamespaceOccOverviewsSortOrderEnumValues Enumerates the set of values for ListInternalNamespaceOccOverviewsSortOrderEnum
func GetMappingListInternalNamespaceOccOverviewsSortOrderEnum(val string) (ListInternalNamespaceOccOverviewsSortOrderEnum, bool)
GetMappingListInternalNamespaceOccOverviewsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccHandoverResourceBlockDetailsRequest wrapper for the ListInternalOccHandoverResourceBlockDetails operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListInternalOccHandoverResourceBlockDetailsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInternalOccHandoverResourceBlockDetailsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInternalOccHandoverResourceBlockDetailsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInternalOccHandoverResourceBlockDetailsRequest) String() string
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
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 (response ListInternalOccHandoverResourceBlockDetailsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInternalOccHandoverResourceBlockDetailsResponse) String() string
ListInternalOccHandoverResourceBlockDetailsSortByEnum Enum with underlying type: string
type ListInternalOccHandoverResourceBlockDetailsSortByEnum string
Set of constants representing the allowable values for ListInternalOccHandoverResourceBlockDetailsSortByEnum
const ( ListInternalOccHandoverResourceBlockDetailsSortByHandoverdate ListInternalOccHandoverResourceBlockDetailsSortByEnum = "handoverDate" )
func GetListInternalOccHandoverResourceBlockDetailsSortByEnumValues() []ListInternalOccHandoverResourceBlockDetailsSortByEnum
GetListInternalOccHandoverResourceBlockDetailsSortByEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlockDetailsSortByEnum
func GetMappingListInternalOccHandoverResourceBlockDetailsSortByEnum(val string) (ListInternalOccHandoverResourceBlockDetailsSortByEnum, bool)
GetMappingListInternalOccHandoverResourceBlockDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListInternalOccHandoverResourceBlockDetailsSortOrderEnum
GetListInternalOccHandoverResourceBlockDetailsSortOrderEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlockDetailsSortOrderEnum
func GetMappingListInternalOccHandoverResourceBlockDetailsSortOrderEnum(val string) (ListInternalOccHandoverResourceBlockDetailsSortOrderEnum, bool)
GetMappingListInternalOccHandoverResourceBlockDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccHandoverResourceBlocksNamespaceEnum Enum with underlying type: string
type ListInternalOccHandoverResourceBlocksNamespaceEnum string
Set of constants representing the allowable values for ListInternalOccHandoverResourceBlocksNamespaceEnum
const ( ListInternalOccHandoverResourceBlocksNamespaceCompute ListInternalOccHandoverResourceBlocksNamespaceEnum = "COMPUTE" )
func GetListInternalOccHandoverResourceBlocksNamespaceEnumValues() []ListInternalOccHandoverResourceBlocksNamespaceEnum
GetListInternalOccHandoverResourceBlocksNamespaceEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlocksNamespaceEnum
func GetMappingListInternalOccHandoverResourceBlocksNamespaceEnum(val string) (ListInternalOccHandoverResourceBlocksNamespaceEnum, bool)
GetMappingListInternalOccHandoverResourceBlocksNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccHandoverResourceBlocksRequest wrapper for the ListInternalOccHandoverResourceBlocks operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListInternalOccHandoverResourceBlocksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInternalOccHandoverResourceBlocksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInternalOccHandoverResourceBlocksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInternalOccHandoverResourceBlocksRequest) String() string
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
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 (response ListInternalOccHandoverResourceBlocksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInternalOccHandoverResourceBlocksResponse) String() string
ListInternalOccHandoverResourceBlocksSortByEnum Enum with underlying type: string
type ListInternalOccHandoverResourceBlocksSortByEnum string
Set of constants representing the allowable values for ListInternalOccHandoverResourceBlocksSortByEnum
const ( ListInternalOccHandoverResourceBlocksSortByHandoverdate ListInternalOccHandoverResourceBlocksSortByEnum = "handoverDate" )
func GetListInternalOccHandoverResourceBlocksSortByEnumValues() []ListInternalOccHandoverResourceBlocksSortByEnum
GetListInternalOccHandoverResourceBlocksSortByEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlocksSortByEnum
func GetMappingListInternalOccHandoverResourceBlocksSortByEnum(val string) (ListInternalOccHandoverResourceBlocksSortByEnum, bool)
GetMappingListInternalOccHandoverResourceBlocksSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListInternalOccHandoverResourceBlocksSortOrderEnum
GetListInternalOccHandoverResourceBlocksSortOrderEnumValues Enumerates the set of values for ListInternalOccHandoverResourceBlocksSortOrderEnum
func GetMappingListInternalOccHandoverResourceBlocksSortOrderEnum(val string) (ListInternalOccHandoverResourceBlocksSortOrderEnum, bool)
GetMappingListInternalOccHandoverResourceBlocksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum Enum with underlying type: string
type ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum
const ( ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceCompute ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum = "COMPUTE" ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceNetwork ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum = "NETWORK" ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceGpu ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum = "GPU" ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceStorage ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum = "STORAGE" )
func GetListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnumValues() []ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum
GetListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnumValues Enumerates the set of values for ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum
func GetMappingListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum(val string) (ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum, bool)
GetMappingListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalCatalogResourcesRequest wrapper for the ListInternalOccmDemandSignalCatalogResources operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignalCatalogResources.go.html to see an example of how to use ListInternalOccmDemandSignalCatalogResourcesRequest.
type ListInternalOccmDemandSignalCatalogResourcesRequest 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 ocid of demand signal catalog id. OccmDemandSignalCatalogId *string `mandatory:"true" contributesTo:"query" name:"occmDemandSignalCatalogId"` // A query parameter to filter the list of demand signal catalog resource based on the resource name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A query parameter to filter the list of demand signal catalog resources based on the namespace. DemandSignalNamespace ListInternalOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum `mandatory:"false" contributesTo:"query" name:"demandSignalNamespace" 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 ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand catalog resources API. Only one sort order may be provided. The default order for name is case sensitive alphabetical order. SortBy ListInternalOccmDemandSignalCatalogResourcesSortByEnum `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 (request ListInternalOccmDemandSignalCatalogResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInternalOccmDemandSignalCatalogResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInternalOccmDemandSignalCatalogResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInternalOccmDemandSignalCatalogResourcesRequest) String() string
func (request ListInternalOccmDemandSignalCatalogResourcesRequest) 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
ListInternalOccmDemandSignalCatalogResourcesResponse wrapper for the ListInternalOccmDemandSignalCatalogResources operation
type ListInternalOccmDemandSignalCatalogResourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of InternalOccmDemandSignalCatalogResourceCollection instances InternalOccmDemandSignalCatalogResourceCollection `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 (response ListInternalOccmDemandSignalCatalogResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInternalOccmDemandSignalCatalogResourcesResponse) String() string
ListInternalOccmDemandSignalCatalogResourcesSortByEnum Enum with underlying type: string
type ListInternalOccmDemandSignalCatalogResourcesSortByEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalCatalogResourcesSortByEnum
const ( ListInternalOccmDemandSignalCatalogResourcesSortByName ListInternalOccmDemandSignalCatalogResourcesSortByEnum = "name" )
func GetListInternalOccmDemandSignalCatalogResourcesSortByEnumValues() []ListInternalOccmDemandSignalCatalogResourcesSortByEnum
GetListInternalOccmDemandSignalCatalogResourcesSortByEnumValues Enumerates the set of values for ListInternalOccmDemandSignalCatalogResourcesSortByEnum
func GetMappingListInternalOccmDemandSignalCatalogResourcesSortByEnum(val string) (ListInternalOccmDemandSignalCatalogResourcesSortByEnum, bool)
GetMappingListInternalOccmDemandSignalCatalogResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum Enum with underlying type: string
type ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum
const ( ListInternalOccmDemandSignalCatalogResourcesSortOrderAsc ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum = "ASC" ListInternalOccmDemandSignalCatalogResourcesSortOrderDesc ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum = "DESC" )
func GetListInternalOccmDemandSignalCatalogResourcesSortOrderEnumValues() []ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum
GetListInternalOccmDemandSignalCatalogResourcesSortOrderEnumValues Enumerates the set of values for ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum
func GetMappingListInternalOccmDemandSignalCatalogResourcesSortOrderEnum(val string) (ListInternalOccmDemandSignalCatalogResourcesSortOrderEnum, bool)
GetMappingListInternalOccmDemandSignalCatalogResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalCatalogsRequest wrapper for the ListInternalOccmDemandSignalCatalogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignalCatalogs.go.html to see an example of how to use ListInternalOccmDemandSignalCatalogsRequest.
type ListInternalOccmDemandSignalCatalogsRequest 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 only the resources that match the entire display name. The match is not case sensitive. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from `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 ListInternalOccmDemandSignalCatalogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand catalog API. Only one sort order may be provided. The default order for name is case sensitive alphabetical order. SortBy ListInternalOccmDemandSignalCatalogsSortByEnum `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 (request ListInternalOccmDemandSignalCatalogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInternalOccmDemandSignalCatalogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInternalOccmDemandSignalCatalogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInternalOccmDemandSignalCatalogsRequest) String() string
func (request ListInternalOccmDemandSignalCatalogsRequest) 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
ListInternalOccmDemandSignalCatalogsResponse wrapper for the ListInternalOccmDemandSignalCatalogs operation
type ListInternalOccmDemandSignalCatalogsResponse struct { // The underlying http response RawResponse *http.Response // A list of OccmDemandSignalCatalogCollection instances OccmDemandSignalCatalogCollection `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 (response ListInternalOccmDemandSignalCatalogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInternalOccmDemandSignalCatalogsResponse) String() string
ListInternalOccmDemandSignalCatalogsSortByEnum Enum with underlying type: string
type ListInternalOccmDemandSignalCatalogsSortByEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalCatalogsSortByEnum
const ( ListInternalOccmDemandSignalCatalogsSortByName ListInternalOccmDemandSignalCatalogsSortByEnum = "name" )
func GetListInternalOccmDemandSignalCatalogsSortByEnumValues() []ListInternalOccmDemandSignalCatalogsSortByEnum
GetListInternalOccmDemandSignalCatalogsSortByEnumValues Enumerates the set of values for ListInternalOccmDemandSignalCatalogsSortByEnum
func GetMappingListInternalOccmDemandSignalCatalogsSortByEnum(val string) (ListInternalOccmDemandSignalCatalogsSortByEnum, bool)
GetMappingListInternalOccmDemandSignalCatalogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalCatalogsSortOrderEnum Enum with underlying type: string
type ListInternalOccmDemandSignalCatalogsSortOrderEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalCatalogsSortOrderEnum
const ( ListInternalOccmDemandSignalCatalogsSortOrderAsc ListInternalOccmDemandSignalCatalogsSortOrderEnum = "ASC" ListInternalOccmDemandSignalCatalogsSortOrderDesc ListInternalOccmDemandSignalCatalogsSortOrderEnum = "DESC" )
func GetListInternalOccmDemandSignalCatalogsSortOrderEnumValues() []ListInternalOccmDemandSignalCatalogsSortOrderEnum
GetListInternalOccmDemandSignalCatalogsSortOrderEnumValues Enumerates the set of values for ListInternalOccmDemandSignalCatalogsSortOrderEnum
func GetMappingListInternalOccmDemandSignalCatalogsSortOrderEnum(val string) (ListInternalOccmDemandSignalCatalogsSortOrderEnum, bool)
GetMappingListInternalOccmDemandSignalCatalogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalDeliveriesRequest wrapper for the ListInternalOccmDemandSignalDeliveries operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignalDeliveries.go.html to see an example of how to use ListInternalOccmDemandSignalDeliveriesRequest.
type ListInternalOccmDemandSignalDeliveriesRequest 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 query parameter to filter the list of demand signals based on it's OCID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A query parameter to filter the list of demand signal items based on it's OCID. OccmDemandSignalItemId *string `mandatory:"false" contributesTo:"query" name:"occmDemandSignalItemId"` // 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 ListInternalOccmDemandSignalDeliveriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand Signal Delivery API. Only one sort order may be provided. The default order for resource name is case sensitive alphabetical order. SortBy ListInternalOccmDemandSignalDeliveriesSortByEnum `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 (request ListInternalOccmDemandSignalDeliveriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInternalOccmDemandSignalDeliveriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInternalOccmDemandSignalDeliveriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInternalOccmDemandSignalDeliveriesRequest) String() string
func (request ListInternalOccmDemandSignalDeliveriesRequest) 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
ListInternalOccmDemandSignalDeliveriesResponse wrapper for the ListInternalOccmDemandSignalDeliveries operation
type ListInternalOccmDemandSignalDeliveriesResponse struct { // The underlying http response RawResponse *http.Response // A list of InternalOccmDemandSignalDeliveryCollection instances InternalOccmDemandSignalDeliveryCollection `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 (response ListInternalOccmDemandSignalDeliveriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInternalOccmDemandSignalDeliveriesResponse) String() string
ListInternalOccmDemandSignalDeliveriesSortByEnum Enum with underlying type: string
type ListInternalOccmDemandSignalDeliveriesSortByEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalDeliveriesSortByEnum
const ( ListInternalOccmDemandSignalDeliveriesSortByResourcename ListInternalOccmDemandSignalDeliveriesSortByEnum = "resourceName" )
func GetListInternalOccmDemandSignalDeliveriesSortByEnumValues() []ListInternalOccmDemandSignalDeliveriesSortByEnum
GetListInternalOccmDemandSignalDeliveriesSortByEnumValues Enumerates the set of values for ListInternalOccmDemandSignalDeliveriesSortByEnum
func GetMappingListInternalOccmDemandSignalDeliveriesSortByEnum(val string) (ListInternalOccmDemandSignalDeliveriesSortByEnum, bool)
GetMappingListInternalOccmDemandSignalDeliveriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalDeliveriesSortOrderEnum Enum with underlying type: string
type ListInternalOccmDemandSignalDeliveriesSortOrderEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalDeliveriesSortOrderEnum
const ( ListInternalOccmDemandSignalDeliveriesSortOrderAsc ListInternalOccmDemandSignalDeliveriesSortOrderEnum = "ASC" ListInternalOccmDemandSignalDeliveriesSortOrderDesc ListInternalOccmDemandSignalDeliveriesSortOrderEnum = "DESC" )
func GetListInternalOccmDemandSignalDeliveriesSortOrderEnumValues() []ListInternalOccmDemandSignalDeliveriesSortOrderEnum
GetListInternalOccmDemandSignalDeliveriesSortOrderEnumValues Enumerates the set of values for ListInternalOccmDemandSignalDeliveriesSortOrderEnum
func GetMappingListInternalOccmDemandSignalDeliveriesSortOrderEnum(val string) (ListInternalOccmDemandSignalDeliveriesSortOrderEnum, bool)
GetMappingListInternalOccmDemandSignalDeliveriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum Enum with underlying type: string
type ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum
const ( ListInternalOccmDemandSignalItemsDemandSignalNamespaceCompute ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum = "COMPUTE" ListInternalOccmDemandSignalItemsDemandSignalNamespaceNetwork ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum = "NETWORK" ListInternalOccmDemandSignalItemsDemandSignalNamespaceGpu ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum = "GPU" ListInternalOccmDemandSignalItemsDemandSignalNamespaceStorage ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum = "STORAGE" )
func GetListInternalOccmDemandSignalItemsDemandSignalNamespaceEnumValues() []ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum
GetListInternalOccmDemandSignalItemsDemandSignalNamespaceEnumValues Enumerates the set of values for ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum
func GetMappingListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum(val string) (ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum, bool)
GetMappingListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalItemsRequest wrapper for the ListInternalOccmDemandSignalItems operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignalItems.go.html to see an example of how to use ListInternalOccmDemandSignalItemsRequest.
type ListInternalOccmDemandSignalItemsRequest 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 query parameter to filter the list of demand signal items based on a demand signal id. OccmDemandSignalId *string `mandatory:"false" contributesTo:"query" name:"occmDemandSignalId"` // A query parameter to filter the list of demand signal details based on the resource name. ResourceName *string `mandatory:"false" contributesTo:"query" name:"resourceName"` // A query parameter to filter the list of demand signal details based on the namespace. DemandSignalNamespace ListInternalOccmDemandSignalItemsDemandSignalNamespaceEnum `mandatory:"false" contributesTo:"query" name:"demandSignalNamespace" 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 ListInternalOccmDemandSignalItemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand Signal Details API. Only one sort order may be provided. The default order for resource name is case sensitive alphabetical order. SortBy ListInternalOccmDemandSignalItemsSortByEnum `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 (request ListInternalOccmDemandSignalItemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInternalOccmDemandSignalItemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInternalOccmDemandSignalItemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInternalOccmDemandSignalItemsRequest) String() string
func (request ListInternalOccmDemandSignalItemsRequest) 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
ListInternalOccmDemandSignalItemsResponse wrapper for the ListInternalOccmDemandSignalItems operation
type ListInternalOccmDemandSignalItemsResponse struct { // The underlying http response RawResponse *http.Response // A list of InternalOccmDemandSignalItemCollection instances InternalOccmDemandSignalItemCollection `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 (response ListInternalOccmDemandSignalItemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInternalOccmDemandSignalItemsResponse) String() string
ListInternalOccmDemandSignalItemsSortByEnum Enum with underlying type: string
type ListInternalOccmDemandSignalItemsSortByEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalItemsSortByEnum
const ( ListInternalOccmDemandSignalItemsSortByResourcename ListInternalOccmDemandSignalItemsSortByEnum = "resourceName" )
func GetListInternalOccmDemandSignalItemsSortByEnumValues() []ListInternalOccmDemandSignalItemsSortByEnum
GetListInternalOccmDemandSignalItemsSortByEnumValues Enumerates the set of values for ListInternalOccmDemandSignalItemsSortByEnum
func GetMappingListInternalOccmDemandSignalItemsSortByEnum(val string) (ListInternalOccmDemandSignalItemsSortByEnum, bool)
GetMappingListInternalOccmDemandSignalItemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalItemsSortOrderEnum Enum with underlying type: string
type ListInternalOccmDemandSignalItemsSortOrderEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalItemsSortOrderEnum
const ( ListInternalOccmDemandSignalItemsSortOrderAsc ListInternalOccmDemandSignalItemsSortOrderEnum = "ASC" ListInternalOccmDemandSignalItemsSortOrderDesc ListInternalOccmDemandSignalItemsSortOrderEnum = "DESC" )
func GetListInternalOccmDemandSignalItemsSortOrderEnumValues() []ListInternalOccmDemandSignalItemsSortOrderEnum
GetListInternalOccmDemandSignalItemsSortOrderEnumValues Enumerates the set of values for ListInternalOccmDemandSignalItemsSortOrderEnum
func GetMappingListInternalOccmDemandSignalItemsSortOrderEnum(val string) (ListInternalOccmDemandSignalItemsSortOrderEnum, bool)
GetMappingListInternalOccmDemandSignalItemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalsRequest wrapper for the ListInternalOccmDemandSignals operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListInternalOccmDemandSignals.go.html to see an example of how to use ListInternalOccmDemandSignalsRequest.
type ListInternalOccmDemandSignalsRequest 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 query parameter to filter the list of demand signals based on it's OCID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A query parameter to filter the list of demand signals based on its state. LifecycleDetails *string `mandatory:"false" contributesTo:"query" name:"lifecycleDetails"` // 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"` // 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 ListInternalOccmDemandSignalsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand Signal API. Only one sort order may be provided. The default order for timeCreated is reverse chronological order (latest date at the top). The default order for displayName is case sensitive alphabetical order. SortBy ListInternalOccmDemandSignalsSortByEnum `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 (request ListInternalOccmDemandSignalsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListInternalOccmDemandSignalsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListInternalOccmDemandSignalsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListInternalOccmDemandSignalsRequest) String() string
func (request ListInternalOccmDemandSignalsRequest) 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
ListInternalOccmDemandSignalsResponse wrapper for the ListInternalOccmDemandSignals operation
type ListInternalOccmDemandSignalsResponse struct { // The underlying http response RawResponse *http.Response // A list of InternalOccmDemandSignalCollection instances InternalOccmDemandSignalCollection `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 (response ListInternalOccmDemandSignalsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListInternalOccmDemandSignalsResponse) String() string
ListInternalOccmDemandSignalsSortByEnum Enum with underlying type: string
type ListInternalOccmDemandSignalsSortByEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalsSortByEnum
const ( ListInternalOccmDemandSignalsSortByTimecreated ListInternalOccmDemandSignalsSortByEnum = "timeCreated" ListInternalOccmDemandSignalsSortByDisplayname ListInternalOccmDemandSignalsSortByEnum = "displayName" )
func GetListInternalOccmDemandSignalsSortByEnumValues() []ListInternalOccmDemandSignalsSortByEnum
GetListInternalOccmDemandSignalsSortByEnumValues Enumerates the set of values for ListInternalOccmDemandSignalsSortByEnum
func GetMappingListInternalOccmDemandSignalsSortByEnum(val string) (ListInternalOccmDemandSignalsSortByEnum, bool)
GetMappingListInternalOccmDemandSignalsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListInternalOccmDemandSignalsSortOrderEnum Enum with underlying type: string
type ListInternalOccmDemandSignalsSortOrderEnum string
Set of constants representing the allowable values for ListInternalOccmDemandSignalsSortOrderEnum
const ( ListInternalOccmDemandSignalsSortOrderAsc ListInternalOccmDemandSignalsSortOrderEnum = "ASC" ListInternalOccmDemandSignalsSortOrderDesc ListInternalOccmDemandSignalsSortOrderEnum = "DESC" )
func GetListInternalOccmDemandSignalsSortOrderEnumValues() []ListInternalOccmDemandSignalsSortOrderEnum
GetListInternalOccmDemandSignalsSortOrderEnumValues Enumerates the set of values for ListInternalOccmDemandSignalsSortOrderEnum
func GetMappingListInternalOccmDemandSignalsSortOrderEnum(val string) (ListInternalOccmDemandSignalsSortOrderEnum, bool)
GetMappingListInternalOccmDemandSignalsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccAvailabilitiesRequest wrapper for the ListOccAvailabilities operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccAvailabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccAvailabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccAvailabilitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccAvailabilitiesRequest) String() string
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
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 (response ListOccAvailabilitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccAvailabilitiesResponse) String() string
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() []ListOccAvailabilitiesSortByEnum
GetListOccAvailabilitiesSortByEnumValues Enumerates the set of values for ListOccAvailabilitiesSortByEnum
func GetMappingListOccAvailabilitiesSortByEnum(val string) (ListOccAvailabilitiesSortByEnum, bool)
GetMappingListOccAvailabilitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccAvailabilitiesSortOrderEnum
GetListOccAvailabilitiesSortOrderEnumValues Enumerates the set of values for ListOccAvailabilitiesSortOrderEnum
func GetMappingListOccAvailabilitiesSortOrderEnum(val string) (ListOccAvailabilitiesSortOrderEnum, bool)
GetMappingListOccAvailabilitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccAvailabilityCatalogsInternalNamespaceEnum Enum with underlying type: string
type ListOccAvailabilityCatalogsInternalNamespaceEnum string
Set of constants representing the allowable values for ListOccAvailabilityCatalogsInternalNamespaceEnum
const ( ListOccAvailabilityCatalogsInternalNamespaceCompute ListOccAvailabilityCatalogsInternalNamespaceEnum = "COMPUTE" )
func GetListOccAvailabilityCatalogsInternalNamespaceEnumValues() []ListOccAvailabilityCatalogsInternalNamespaceEnum
GetListOccAvailabilityCatalogsInternalNamespaceEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsInternalNamespaceEnum
func GetMappingListOccAvailabilityCatalogsInternalNamespaceEnum(val string) (ListOccAvailabilityCatalogsInternalNamespaceEnum, bool)
GetMappingListOccAvailabilityCatalogsInternalNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccAvailabilityCatalogsInternalRequest wrapper for the ListOccAvailabilityCatalogsInternal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccAvailabilityCatalogsInternalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccAvailabilityCatalogsInternalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccAvailabilityCatalogsInternalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccAvailabilityCatalogsInternalRequest) String() string
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
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 (response ListOccAvailabilityCatalogsInternalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccAvailabilityCatalogsInternalResponse) String() string
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() []ListOccAvailabilityCatalogsInternalSortByEnum
GetListOccAvailabilityCatalogsInternalSortByEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsInternalSortByEnum
func GetMappingListOccAvailabilityCatalogsInternalSortByEnum(val string) (ListOccAvailabilityCatalogsInternalSortByEnum, bool)
GetMappingListOccAvailabilityCatalogsInternalSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccAvailabilityCatalogsInternalSortOrderEnum
GetListOccAvailabilityCatalogsInternalSortOrderEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsInternalSortOrderEnum
func GetMappingListOccAvailabilityCatalogsInternalSortOrderEnum(val string) (ListOccAvailabilityCatalogsInternalSortOrderEnum, bool)
GetMappingListOccAvailabilityCatalogsInternalSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccAvailabilityCatalogsNamespaceEnum Enum with underlying type: string
type ListOccAvailabilityCatalogsNamespaceEnum string
Set of constants representing the allowable values for ListOccAvailabilityCatalogsNamespaceEnum
const ( ListOccAvailabilityCatalogsNamespaceCompute ListOccAvailabilityCatalogsNamespaceEnum = "COMPUTE" )
func GetListOccAvailabilityCatalogsNamespaceEnumValues() []ListOccAvailabilityCatalogsNamespaceEnum
GetListOccAvailabilityCatalogsNamespaceEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsNamespaceEnum
func GetMappingListOccAvailabilityCatalogsNamespaceEnum(val string) (ListOccAvailabilityCatalogsNamespaceEnum, bool)
GetMappingListOccAvailabilityCatalogsNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccAvailabilityCatalogsRequest wrapper for the ListOccAvailabilityCatalogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccAvailabilityCatalogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccAvailabilityCatalogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccAvailabilityCatalogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccAvailabilityCatalogsRequest) String() string
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
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 (response ListOccAvailabilityCatalogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccAvailabilityCatalogsResponse) String() string
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() []ListOccAvailabilityCatalogsSortByEnum
GetListOccAvailabilityCatalogsSortByEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsSortByEnum
func GetMappingListOccAvailabilityCatalogsSortByEnum(val string) (ListOccAvailabilityCatalogsSortByEnum, bool)
GetMappingListOccAvailabilityCatalogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccAvailabilityCatalogsSortOrderEnum
GetListOccAvailabilityCatalogsSortOrderEnumValues Enumerates the set of values for ListOccAvailabilityCatalogsSortOrderEnum
func GetMappingListOccAvailabilityCatalogsSortOrderEnum(val string) (ListOccAvailabilityCatalogsSortOrderEnum, bool)
GetMappingListOccAvailabilityCatalogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccCapacityRequestsInternalNamespaceEnum Enum with underlying type: string
type ListOccCapacityRequestsInternalNamespaceEnum string
Set of constants representing the allowable values for ListOccCapacityRequestsInternalNamespaceEnum
const ( ListOccCapacityRequestsInternalNamespaceCompute ListOccCapacityRequestsInternalNamespaceEnum = "COMPUTE" )
func GetListOccCapacityRequestsInternalNamespaceEnumValues() []ListOccCapacityRequestsInternalNamespaceEnum
GetListOccCapacityRequestsInternalNamespaceEnumValues Enumerates the set of values for ListOccCapacityRequestsInternalNamespaceEnum
func GetMappingListOccCapacityRequestsInternalNamespaceEnum(val string) (ListOccCapacityRequestsInternalNamespaceEnum, bool)
GetMappingListOccCapacityRequestsInternalNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccCapacityRequestsInternalRequest wrapper for the ListOccCapacityRequestsInternal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccCapacityRequestsInternalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccCapacityRequestsInternalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccCapacityRequestsInternalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccCapacityRequestsInternalRequest) String() string
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
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 (response ListOccCapacityRequestsInternalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccCapacityRequestsInternalResponse) String() string
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() []ListOccCapacityRequestsInternalSortByEnum
GetListOccCapacityRequestsInternalSortByEnumValues Enumerates the set of values for ListOccCapacityRequestsInternalSortByEnum
func GetMappingListOccCapacityRequestsInternalSortByEnum(val string) (ListOccCapacityRequestsInternalSortByEnum, bool)
GetMappingListOccCapacityRequestsInternalSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccCapacityRequestsInternalSortOrderEnum
GetListOccCapacityRequestsInternalSortOrderEnumValues Enumerates the set of values for ListOccCapacityRequestsInternalSortOrderEnum
func GetMappingListOccCapacityRequestsInternalSortOrderEnum(val string) (ListOccCapacityRequestsInternalSortOrderEnum, bool)
GetMappingListOccCapacityRequestsInternalSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccCapacityRequestsNamespaceEnum Enum with underlying type: string
type ListOccCapacityRequestsNamespaceEnum string
Set of constants representing the allowable values for ListOccCapacityRequestsNamespaceEnum
const ( ListOccCapacityRequestsNamespaceCompute ListOccCapacityRequestsNamespaceEnum = "COMPUTE" )
func GetListOccCapacityRequestsNamespaceEnumValues() []ListOccCapacityRequestsNamespaceEnum
GetListOccCapacityRequestsNamespaceEnumValues Enumerates the set of values for ListOccCapacityRequestsNamespaceEnum
func GetMappingListOccCapacityRequestsNamespaceEnum(val string) (ListOccCapacityRequestsNamespaceEnum, bool)
GetMappingListOccCapacityRequestsNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccCapacityRequestsRequest wrapper for the ListOccCapacityRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccCapacityRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccCapacityRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccCapacityRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccCapacityRequestsRequest) String() string
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
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 (response ListOccCapacityRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccCapacityRequestsResponse) String() string
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() []ListOccCapacityRequestsSortByEnum
GetListOccCapacityRequestsSortByEnumValues Enumerates the set of values for ListOccCapacityRequestsSortByEnum
func GetMappingListOccCapacityRequestsSortByEnum(val string) (ListOccCapacityRequestsSortByEnum, bool)
GetMappingListOccCapacityRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccCapacityRequestsSortOrderEnum
GetListOccCapacityRequestsSortOrderEnumValues Enumerates the set of values for ListOccCapacityRequestsSortOrderEnum
func GetMappingListOccCapacityRequestsSortOrderEnum(val string) (ListOccCapacityRequestsSortOrderEnum, bool)
GetMappingListOccCapacityRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccCustomerGroupsRequest wrapper for the ListOccCustomerGroups operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccCustomerGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccCustomerGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccCustomerGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccCustomerGroupsRequest) String() string
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
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 (response ListOccCustomerGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccCustomerGroupsResponse) String() string
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() []ListOccCustomerGroupsSortByEnum
GetListOccCustomerGroupsSortByEnumValues Enumerates the set of values for ListOccCustomerGroupsSortByEnum
func GetMappingListOccCustomerGroupsSortByEnum(val string) (ListOccCustomerGroupsSortByEnum, bool)
GetMappingListOccCustomerGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccCustomerGroupsSortOrderEnum
GetListOccCustomerGroupsSortOrderEnumValues Enumerates the set of values for ListOccCustomerGroupsSortOrderEnum
func GetMappingListOccCustomerGroupsSortOrderEnum(val string) (ListOccCustomerGroupsSortOrderEnum, bool)
GetMappingListOccCustomerGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccHandoverResourceBlockDetailsRequest wrapper for the ListOccHandoverResourceBlockDetails operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccHandoverResourceBlockDetailsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccHandoverResourceBlockDetailsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccHandoverResourceBlockDetailsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccHandoverResourceBlockDetailsRequest) String() string
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
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 (response ListOccHandoverResourceBlockDetailsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccHandoverResourceBlockDetailsResponse) String() string
ListOccHandoverResourceBlockDetailsSortByEnum Enum with underlying type: string
type ListOccHandoverResourceBlockDetailsSortByEnum string
Set of constants representing the allowable values for ListOccHandoverResourceBlockDetailsSortByEnum
const ( ListOccHandoverResourceBlockDetailsSortByHandoverdate ListOccHandoverResourceBlockDetailsSortByEnum = "handoverDate" )
func GetListOccHandoverResourceBlockDetailsSortByEnumValues() []ListOccHandoverResourceBlockDetailsSortByEnum
GetListOccHandoverResourceBlockDetailsSortByEnumValues Enumerates the set of values for ListOccHandoverResourceBlockDetailsSortByEnum
func GetMappingListOccHandoverResourceBlockDetailsSortByEnum(val string) (ListOccHandoverResourceBlockDetailsSortByEnum, bool)
GetMappingListOccHandoverResourceBlockDetailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccHandoverResourceBlockDetailsSortOrderEnum
GetListOccHandoverResourceBlockDetailsSortOrderEnumValues Enumerates the set of values for ListOccHandoverResourceBlockDetailsSortOrderEnum
func GetMappingListOccHandoverResourceBlockDetailsSortOrderEnum(val string) (ListOccHandoverResourceBlockDetailsSortOrderEnum, bool)
GetMappingListOccHandoverResourceBlockDetailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccHandoverResourceBlocksNamespaceEnum Enum with underlying type: string
type ListOccHandoverResourceBlocksNamespaceEnum string
Set of constants representing the allowable values for ListOccHandoverResourceBlocksNamespaceEnum
const ( ListOccHandoverResourceBlocksNamespaceCompute ListOccHandoverResourceBlocksNamespaceEnum = "COMPUTE" )
func GetListOccHandoverResourceBlocksNamespaceEnumValues() []ListOccHandoverResourceBlocksNamespaceEnum
GetListOccHandoverResourceBlocksNamespaceEnumValues Enumerates the set of values for ListOccHandoverResourceBlocksNamespaceEnum
func GetMappingListOccHandoverResourceBlocksNamespaceEnum(val string) (ListOccHandoverResourceBlocksNamespaceEnum, bool)
GetMappingListOccHandoverResourceBlocksNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccHandoverResourceBlocksRequest wrapper for the ListOccHandoverResourceBlocks operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccHandoverResourceBlocksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccHandoverResourceBlocksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccHandoverResourceBlocksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccHandoverResourceBlocksRequest) String() string
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
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 (response ListOccHandoverResourceBlocksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccHandoverResourceBlocksResponse) String() string
ListOccHandoverResourceBlocksSortByEnum Enum with underlying type: string
type ListOccHandoverResourceBlocksSortByEnum string
Set of constants representing the allowable values for ListOccHandoverResourceBlocksSortByEnum
const ( ListOccHandoverResourceBlocksSortByHandoverdate ListOccHandoverResourceBlocksSortByEnum = "handoverDate" )
func GetListOccHandoverResourceBlocksSortByEnumValues() []ListOccHandoverResourceBlocksSortByEnum
GetListOccHandoverResourceBlocksSortByEnumValues Enumerates the set of values for ListOccHandoverResourceBlocksSortByEnum
func GetMappingListOccHandoverResourceBlocksSortByEnum(val string) (ListOccHandoverResourceBlocksSortByEnum, bool)
GetMappingListOccHandoverResourceBlocksSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccHandoverResourceBlocksSortOrderEnum
GetListOccHandoverResourceBlocksSortOrderEnumValues Enumerates the set of values for ListOccHandoverResourceBlocksSortOrderEnum
func GetMappingListOccHandoverResourceBlocksSortOrderEnum(val string) (ListOccHandoverResourceBlocksSortOrderEnum, bool)
GetMappingListOccHandoverResourceBlocksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccOverviewsNamespaceEnum Enum with underlying type: string
type ListOccOverviewsNamespaceEnum string
Set of constants representing the allowable values for ListOccOverviewsNamespaceEnum
const ( ListOccOverviewsNamespaceCompute ListOccOverviewsNamespaceEnum = "COMPUTE" )
func GetListOccOverviewsNamespaceEnumValues() []ListOccOverviewsNamespaceEnum
GetListOccOverviewsNamespaceEnumValues Enumerates the set of values for ListOccOverviewsNamespaceEnum
func GetMappingListOccOverviewsNamespaceEnum(val string) (ListOccOverviewsNamespaceEnum, bool)
GetMappingListOccOverviewsNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccOverviewsRequest wrapper for the ListOccOverviews operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request ListOccOverviewsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccOverviewsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccOverviewsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccOverviewsRequest) String() string
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
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 (response ListOccOverviewsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccOverviewsResponse) String() string
ListOccOverviewsSortByEnum Enum with underlying type: string
type ListOccOverviewsSortByEnum string
Set of constants representing the allowable values for ListOccOverviewsSortByEnum
const ( ListOccOverviewsSortByPeriodvalue ListOccOverviewsSortByEnum = "periodValue" )
func GetListOccOverviewsSortByEnumValues() []ListOccOverviewsSortByEnum
GetListOccOverviewsSortByEnumValues Enumerates the set of values for ListOccOverviewsSortByEnum
func GetMappingListOccOverviewsSortByEnum(val string) (ListOccOverviewsSortByEnum, bool)
GetMappingListOccOverviewsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListOccOverviewsSortOrderEnum
GetListOccOverviewsSortOrderEnumValues Enumerates the set of values for ListOccOverviewsSortOrderEnum
func GetMappingListOccOverviewsSortOrderEnum(val string) (ListOccOverviewsSortOrderEnum, bool)
GetMappingListOccOverviewsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum Enum with underlying type: string
type ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum string
Set of constants representing the allowable values for ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum
const ( ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceCompute ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum = "COMPUTE" ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceNetwork ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum = "NETWORK" ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceGpu ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum = "GPU" ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceStorage ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum = "STORAGE" )
func GetListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnumValues() []ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum
GetListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnumValues Enumerates the set of values for ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum
func GetMappingListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum(val string) (ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum, bool)
GetMappingListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalCatalogResourcesRequest wrapper for the ListOccmDemandSignalCatalogResources operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccmDemandSignalCatalogResources.go.html to see an example of how to use ListOccmDemandSignalCatalogResourcesRequest.
type ListOccmDemandSignalCatalogResourcesRequest 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 parameter to filter the list of demand signal catalog resource based on the resource name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A query parameter to filter the list of demand signal catalog resources based on the namespace. DemandSignalNamespace ListOccmDemandSignalCatalogResourcesDemandSignalNamespaceEnum `mandatory:"false" contributesTo:"query" name:"demandSignalNamespace" 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 ListOccmDemandSignalCatalogResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand catalog resources API. Only one sort order may be provided. The default order for name is case sensitive alphabetical order. SortBy ListOccmDemandSignalCatalogResourcesSortByEnum `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 (request ListOccmDemandSignalCatalogResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccmDemandSignalCatalogResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccmDemandSignalCatalogResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccmDemandSignalCatalogResourcesRequest) String() string
func (request ListOccmDemandSignalCatalogResourcesRequest) 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
ListOccmDemandSignalCatalogResourcesResponse wrapper for the ListOccmDemandSignalCatalogResources operation
type ListOccmDemandSignalCatalogResourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of OccmDemandSignalCatalogResourceCollection instances OccmDemandSignalCatalogResourceCollection `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 (response ListOccmDemandSignalCatalogResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccmDemandSignalCatalogResourcesResponse) String() string
ListOccmDemandSignalCatalogResourcesSortByEnum Enum with underlying type: string
type ListOccmDemandSignalCatalogResourcesSortByEnum string
Set of constants representing the allowable values for ListOccmDemandSignalCatalogResourcesSortByEnum
const ( ListOccmDemandSignalCatalogResourcesSortByName ListOccmDemandSignalCatalogResourcesSortByEnum = "name" )
func GetListOccmDemandSignalCatalogResourcesSortByEnumValues() []ListOccmDemandSignalCatalogResourcesSortByEnum
GetListOccmDemandSignalCatalogResourcesSortByEnumValues Enumerates the set of values for ListOccmDemandSignalCatalogResourcesSortByEnum
func GetMappingListOccmDemandSignalCatalogResourcesSortByEnum(val string) (ListOccmDemandSignalCatalogResourcesSortByEnum, bool)
GetMappingListOccmDemandSignalCatalogResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalCatalogResourcesSortOrderEnum Enum with underlying type: string
type ListOccmDemandSignalCatalogResourcesSortOrderEnum string
Set of constants representing the allowable values for ListOccmDemandSignalCatalogResourcesSortOrderEnum
const ( ListOccmDemandSignalCatalogResourcesSortOrderAsc ListOccmDemandSignalCatalogResourcesSortOrderEnum = "ASC" ListOccmDemandSignalCatalogResourcesSortOrderDesc ListOccmDemandSignalCatalogResourcesSortOrderEnum = "DESC" )
func GetListOccmDemandSignalCatalogResourcesSortOrderEnumValues() []ListOccmDemandSignalCatalogResourcesSortOrderEnum
GetListOccmDemandSignalCatalogResourcesSortOrderEnumValues Enumerates the set of values for ListOccmDemandSignalCatalogResourcesSortOrderEnum
func GetMappingListOccmDemandSignalCatalogResourcesSortOrderEnum(val string) (ListOccmDemandSignalCatalogResourcesSortOrderEnum, bool)
GetMappingListOccmDemandSignalCatalogResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalDeliveriesRequest wrapper for the ListOccmDemandSignalDeliveries operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccmDemandSignalDeliveries.go.html to see an example of how to use ListOccmDemandSignalDeliveriesRequest.
type ListOccmDemandSignalDeliveriesRequest 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 parameter to filter the list of demand signals based on it's OCID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A query parameter to filter the list of demand signal items based on it's OCID. OccmDemandSignalItemId *string `mandatory:"false" contributesTo:"query" name:"occmDemandSignalItemId"` // 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 ListOccmDemandSignalDeliveriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand Signal Delivery API. Only one sort order may be provided. The default order for resource name is case sensitive alphabetical order. SortBy ListOccmDemandSignalDeliveriesSortByEnum `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 (request ListOccmDemandSignalDeliveriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccmDemandSignalDeliveriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccmDemandSignalDeliveriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccmDemandSignalDeliveriesRequest) String() string
func (request ListOccmDemandSignalDeliveriesRequest) 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
ListOccmDemandSignalDeliveriesResponse wrapper for the ListOccmDemandSignalDeliveries operation
type ListOccmDemandSignalDeliveriesResponse struct { // The underlying http response RawResponse *http.Response // A list of OccmDemandSignalDeliveryCollection instances OccmDemandSignalDeliveryCollection `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 (response ListOccmDemandSignalDeliveriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccmDemandSignalDeliveriesResponse) String() string
ListOccmDemandSignalDeliveriesSortByEnum Enum with underlying type: string
type ListOccmDemandSignalDeliveriesSortByEnum string
Set of constants representing the allowable values for ListOccmDemandSignalDeliveriesSortByEnum
const ( ListOccmDemandSignalDeliveriesSortByResourcename ListOccmDemandSignalDeliveriesSortByEnum = "resourceName" )
func GetListOccmDemandSignalDeliveriesSortByEnumValues() []ListOccmDemandSignalDeliveriesSortByEnum
GetListOccmDemandSignalDeliveriesSortByEnumValues Enumerates the set of values for ListOccmDemandSignalDeliveriesSortByEnum
func GetMappingListOccmDemandSignalDeliveriesSortByEnum(val string) (ListOccmDemandSignalDeliveriesSortByEnum, bool)
GetMappingListOccmDemandSignalDeliveriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalDeliveriesSortOrderEnum Enum with underlying type: string
type ListOccmDemandSignalDeliveriesSortOrderEnum string
Set of constants representing the allowable values for ListOccmDemandSignalDeliveriesSortOrderEnum
const ( ListOccmDemandSignalDeliveriesSortOrderAsc ListOccmDemandSignalDeliveriesSortOrderEnum = "ASC" ListOccmDemandSignalDeliveriesSortOrderDesc ListOccmDemandSignalDeliveriesSortOrderEnum = "DESC" )
func GetListOccmDemandSignalDeliveriesSortOrderEnumValues() []ListOccmDemandSignalDeliveriesSortOrderEnum
GetListOccmDemandSignalDeliveriesSortOrderEnumValues Enumerates the set of values for ListOccmDemandSignalDeliveriesSortOrderEnum
func GetMappingListOccmDemandSignalDeliveriesSortOrderEnum(val string) (ListOccmDemandSignalDeliveriesSortOrderEnum, bool)
GetMappingListOccmDemandSignalDeliveriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalItemsDemandSignalNamespaceEnum Enum with underlying type: string
type ListOccmDemandSignalItemsDemandSignalNamespaceEnum string
Set of constants representing the allowable values for ListOccmDemandSignalItemsDemandSignalNamespaceEnum
const ( ListOccmDemandSignalItemsDemandSignalNamespaceCompute ListOccmDemandSignalItemsDemandSignalNamespaceEnum = "COMPUTE" ListOccmDemandSignalItemsDemandSignalNamespaceNetwork ListOccmDemandSignalItemsDemandSignalNamespaceEnum = "NETWORK" ListOccmDemandSignalItemsDemandSignalNamespaceGpu ListOccmDemandSignalItemsDemandSignalNamespaceEnum = "GPU" ListOccmDemandSignalItemsDemandSignalNamespaceStorage ListOccmDemandSignalItemsDemandSignalNamespaceEnum = "STORAGE" )
func GetListOccmDemandSignalItemsDemandSignalNamespaceEnumValues() []ListOccmDemandSignalItemsDemandSignalNamespaceEnum
GetListOccmDemandSignalItemsDemandSignalNamespaceEnumValues Enumerates the set of values for ListOccmDemandSignalItemsDemandSignalNamespaceEnum
func GetMappingListOccmDemandSignalItemsDemandSignalNamespaceEnum(val string) (ListOccmDemandSignalItemsDemandSignalNamespaceEnum, bool)
GetMappingListOccmDemandSignalItemsDemandSignalNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalItemsRequest wrapper for the ListOccmDemandSignalItems operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccmDemandSignalItems.go.html to see an example of how to use ListOccmDemandSignalItemsRequest.
type ListOccmDemandSignalItemsRequest 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 parameter to filter the list of demand signal items based on a demand signal id. OccmDemandSignalId *string `mandatory:"false" contributesTo:"query" name:"occmDemandSignalId"` // A query parameter to filter the list of demand signal details based on the resource name. ResourceName *string `mandatory:"false" contributesTo:"query" name:"resourceName"` // A query parameter to filter the list of demand signal details based on the namespace. DemandSignalNamespace ListOccmDemandSignalItemsDemandSignalNamespaceEnum `mandatory:"false" contributesTo:"query" name:"demandSignalNamespace" 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 ListOccmDemandSignalItemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand Signal Details API. Only one sort order may be provided. The default order for resource name is case sensitive alphabetical order. SortBy ListOccmDemandSignalItemsSortByEnum `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 (request ListOccmDemandSignalItemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccmDemandSignalItemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccmDemandSignalItemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccmDemandSignalItemsRequest) String() string
func (request ListOccmDemandSignalItemsRequest) 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
ListOccmDemandSignalItemsResponse wrapper for the ListOccmDemandSignalItems operation
type ListOccmDemandSignalItemsResponse struct { // The underlying http response RawResponse *http.Response // A list of OccmDemandSignalItemCollection instances OccmDemandSignalItemCollection `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 (response ListOccmDemandSignalItemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccmDemandSignalItemsResponse) String() string
ListOccmDemandSignalItemsSortByEnum Enum with underlying type: string
type ListOccmDemandSignalItemsSortByEnum string
Set of constants representing the allowable values for ListOccmDemandSignalItemsSortByEnum
const ( ListOccmDemandSignalItemsSortByResourcename ListOccmDemandSignalItemsSortByEnum = "resourceName" )
func GetListOccmDemandSignalItemsSortByEnumValues() []ListOccmDemandSignalItemsSortByEnum
GetListOccmDemandSignalItemsSortByEnumValues Enumerates the set of values for ListOccmDemandSignalItemsSortByEnum
func GetMappingListOccmDemandSignalItemsSortByEnum(val string) (ListOccmDemandSignalItemsSortByEnum, bool)
GetMappingListOccmDemandSignalItemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalItemsSortOrderEnum Enum with underlying type: string
type ListOccmDemandSignalItemsSortOrderEnum string
Set of constants representing the allowable values for ListOccmDemandSignalItemsSortOrderEnum
const ( ListOccmDemandSignalItemsSortOrderAsc ListOccmDemandSignalItemsSortOrderEnum = "ASC" ListOccmDemandSignalItemsSortOrderDesc ListOccmDemandSignalItemsSortOrderEnum = "DESC" )
func GetListOccmDemandSignalItemsSortOrderEnumValues() []ListOccmDemandSignalItemsSortOrderEnum
GetListOccmDemandSignalItemsSortOrderEnumValues Enumerates the set of values for ListOccmDemandSignalItemsSortOrderEnum
func GetMappingListOccmDemandSignalItemsSortOrderEnum(val string) (ListOccmDemandSignalItemsSortOrderEnum, bool)
GetMappingListOccmDemandSignalItemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalsRequest wrapper for the ListOccmDemandSignals operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/ListOccmDemandSignals.go.html to see an example of how to use ListOccmDemandSignalsRequest.
type ListOccmDemandSignalsRequest 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 parameter to filter the list of demand signals based on it's OCID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A query parameter to filter the list of demand signals based on its state. LifecycleDetails *string `mandatory:"false" contributesTo:"query" name:"lifecycleDetails"` // 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"` // 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 ListOccmDemandSignalsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort the response of List Demand Signal API. Only one sort order may be provided. The default order for timeCreated is reverse chronological order (latest date at the top). The default order for displayName is case sensitive alphabetical order. SortBy ListOccmDemandSignalsSortByEnum `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 (request ListOccmDemandSignalsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOccmDemandSignalsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOccmDemandSignalsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOccmDemandSignalsRequest) String() string
func (request ListOccmDemandSignalsRequest) 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
ListOccmDemandSignalsResponse wrapper for the ListOccmDemandSignals operation
type ListOccmDemandSignalsResponse struct { // The underlying http response RawResponse *http.Response // A list of OccmDemandSignalCollection instances OccmDemandSignalCollection `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 (response ListOccmDemandSignalsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOccmDemandSignalsResponse) String() string
ListOccmDemandSignalsSortByEnum Enum with underlying type: string
type ListOccmDemandSignalsSortByEnum string
Set of constants representing the allowable values for ListOccmDemandSignalsSortByEnum
const ( ListOccmDemandSignalsSortByTimecreated ListOccmDemandSignalsSortByEnum = "timeCreated" ListOccmDemandSignalsSortByDisplayname ListOccmDemandSignalsSortByEnum = "displayName" )
func GetListOccmDemandSignalsSortByEnumValues() []ListOccmDemandSignalsSortByEnum
GetListOccmDemandSignalsSortByEnumValues Enumerates the set of values for ListOccmDemandSignalsSortByEnum
func GetMappingListOccmDemandSignalsSortByEnum(val string) (ListOccmDemandSignalsSortByEnum, bool)
GetMappingListOccmDemandSignalsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOccmDemandSignalsSortOrderEnum Enum with underlying type: string
type ListOccmDemandSignalsSortOrderEnum string
Set of constants representing the allowable values for ListOccmDemandSignalsSortOrderEnum
const ( ListOccmDemandSignalsSortOrderAsc ListOccmDemandSignalsSortOrderEnum = "ASC" ListOccmDemandSignalsSortOrderDesc ListOccmDemandSignalsSortOrderEnum = "DESC" )
func GetListOccmDemandSignalsSortOrderEnumValues() []ListOccmDemandSignalsSortOrderEnum
GetListOccmDemandSignalsSortOrderEnumValues Enumerates the set of values for ListOccmDemandSignalsSortOrderEnum
func GetMappingListOccmDemandSignalsSortOrderEnum(val string) (ListOccmDemandSignalsSortOrderEnum, bool)
GetMappingListOccmDemandSignalsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m MetadataDetails) String() string
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
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(val string) (MetadataDetailsFormatVersionEnum, bool)
GetMappingMetadataDetailsFormatVersionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMetadataDetailsFormatVersionEnumValues() []MetadataDetailsFormatVersionEnum
GetMetadataDetailsFormatVersionEnumValues Enumerates the set of values for MetadataDetailsFormatVersionEnum
NamespaceEnum Enum with underlying type: string
type NamespaceEnum string
Set of constants representing the allowable values for NamespaceEnum
const ( NamespaceCompute NamespaceEnum = "COMPUTE" )
func GetMappingNamespaceEnum(val string) (NamespaceEnum, bool)
GetMappingNamespaceEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNamespaceEnumValues() []NamespaceEnum
GetNamespaceEnumValues Enumerates the set of values for NamespaceEnum
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 (m OccAvailabilityCatalog) String() string
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
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(val string) (OccAvailabilityCatalogCatalogStateEnum, bool)
GetMappingOccAvailabilityCatalogCatalogStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccAvailabilityCatalogCatalogStateEnumValues() []OccAvailabilityCatalogCatalogStateEnum
GetOccAvailabilityCatalogCatalogStateEnumValues Enumerates the set of values for OccAvailabilityCatalogCatalogStateEnum
OccAvailabilityCatalogCollection A list of availability catalogs.
type OccAvailabilityCatalogCollection struct { // An array of availability catalogs. Items []OccAvailabilityCatalogSummary `mandatory:"true" json:"items"` }
func (m OccAvailabilityCatalogCollection) String() string
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
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(val string) (OccAvailabilityCatalogLifecycleStateEnum, bool)
GetMappingOccAvailabilityCatalogLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccAvailabilityCatalogLifecycleStateEnumValues() []OccAvailabilityCatalogLifecycleStateEnum
GetOccAvailabilityCatalogLifecycleStateEnumValues Enumerates the set of values for OccAvailabilityCatalogLifecycleStateEnum
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 (m OccAvailabilityCatalogSummary) String() string
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
OccAvailabilityCollection A list of capacity constraints.
type OccAvailabilityCollection struct { // An array of capacity constraints. Items []OccAvailabilitySummary `mandatory:"true" json:"items"` }
func (m OccAvailabilityCollection) String() string
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
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 (m OccAvailabilitySummary) String() string
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
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 (m OccCapacityRequest) String() string
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
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 (m OccCapacityRequestBaseDetails) String() string
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
OccCapacityRequestCollection A list of capacity requests.
type OccCapacityRequestCollection struct { // An array of capacity requests. Items []OccCapacityRequestSummary `mandatory:"true" json:"items"` }
func (m OccCapacityRequestCollection) String() string
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
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(val string) (OccCapacityRequestLifecycleStateEnum, bool)
GetMappingOccCapacityRequestLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccCapacityRequestLifecycleStateEnumValues() []OccCapacityRequestLifecycleStateEnum
GetOccCapacityRequestLifecycleStateEnumValues Enumerates the set of values for OccCapacityRequestLifecycleStateEnum
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(val string) (OccCapacityRequestRequestStateEnum, bool)
GetMappingOccCapacityRequestRequestStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccCapacityRequestRequestStateEnumValues() []OccCapacityRequestRequestStateEnum
GetOccCapacityRequestRequestStateEnumValues Enumerates the set of values for OccCapacityRequestRequestStateEnum
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(val string) (OccCapacityRequestRequestTypeEnum, bool)
GetMappingOccCapacityRequestRequestTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccCapacityRequestRequestTypeEnumValues() []OccCapacityRequestRequestTypeEnum
GetOccCapacityRequestRequestTypeEnumValues Enumerates the set of values for OccCapacityRequestRequestTypeEnum
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 (m OccCapacityRequestSummary) String() string
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
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 (m OccCustomer) String() string
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
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 (m OccCustomerGroup) String() string
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
OccCustomerGroupCollection A list of customer groups.
type OccCustomerGroupCollection struct { // An array of customer groups. Items []OccCustomerGroupSummary `mandatory:"true" json:"items"` }
func (m OccCustomerGroupCollection) String() string
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
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(val string) (OccCustomerGroupLifecycleStateEnum, bool)
GetMappingOccCustomerGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccCustomerGroupLifecycleStateEnumValues() []OccCustomerGroupLifecycleStateEnum
GetOccCustomerGroupLifecycleStateEnumValues Enumerates the set of values for OccCustomerGroupLifecycleStateEnum
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(val string) (OccCustomerGroupStatusEnum, bool)
GetMappingOccCustomerGroupStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccCustomerGroupStatusEnumValues() []OccCustomerGroupStatusEnum
GetOccCustomerGroupStatusEnumValues Enumerates the set of values for OccCustomerGroupStatusEnum
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 (m OccCustomerGroupSummary) String() string
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
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(val string) (OccCustomerStatusEnum, bool)
GetMappingOccCustomerStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccCustomerStatusEnumValues() []OccCustomerStatusEnum
GetOccCustomerStatusEnumValues Enumerates the set of values for OccCustomerStatusEnum
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 (m OccHandoverResourceBlockCollection) String() string
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
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 (m OccHandoverResourceBlockDetailCollection) String() string
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
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 (m OccHandoverResourceBlockDetailSummary) String() string
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
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 (m OccHandoverResourceBlockSummary) String() string
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
OccOverviewCollection A list representing response of overview API.
type OccOverviewCollection struct { // An array of overview summary. Items []OccOverviewSummary `mandatory:"true" json:"items"` }
func (m OccOverviewCollection) String() string
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
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 (m OccOverviewSummary) String() string
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
OccmDemandSignal An occm demand signal is a resource that communicates the forecasting needs of a customer to OCI in advance.
type OccmDemandSignal struct { // The OCID of the demand signal. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the request to create the demand signal was made. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The different states associated with a demand signal. // CREATED -> A demand signal is by default created in this state. // SUBMITTED -> Once you have reviewed the details of the demand signal, you can transition it to SUBMITTED state so that OCI can start working on it. // DELETED -> You can delete a demand signal as long as it is in either CREATED or SUBMITTED state. // IN_PROGRESS -> Once OCI starts working on a given demand signal. They transition it to IN_PROGRESS. // CANCELLED -> OCI can transition the demand signal to this state. // COMPLETED -> OCI will transition the demand signal to COMPLETED state once the quantities which OCI committed to deliver to you has been delivered. LifecycleDetails OccmDemandSignalLifecycleDetailsEnum `mandatory:"true" json:"lifecycleDetails"` // The display name of the demand signal. DisplayName *string `mandatory:"true" json:"displayName"` // The current lifecycle state of the resource. LifecycleState OccmDemandSignalLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Meaningful text about the demand signal. 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m OccmDemandSignal) String() string
func (m OccmDemandSignal) 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
OccmDemandSignalCatalog A model for the demand signal catalog.
type OccmDemandSignalCatalog struct { // The ocid of demand signal catalog. Id *string `mandatory:"true" json:"id"` // compartment id from where demand signal catalog is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The customer group OCID to which the availability catalog belongs. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // displayName of demand signal catalog. DisplayName *string `mandatory:"true" json:"displayName"` // The current lifecycle state of the resource. LifecycleState OccmDemandSignalCatalogLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal catalog was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal catalog was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // description of demand signal 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m OccmDemandSignalCatalog) String() string
func (m OccmDemandSignalCatalog) 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
OccmDemandSignalCatalogCollection A list containing demand signal catalogs.
type OccmDemandSignalCatalogCollection struct { // An array of items containing demand signal catalogs. Items []OccmDemandSignalCatalogSummary `mandatory:"true" json:"items"` }
func (m OccmDemandSignalCatalogCollection) String() string
func (m OccmDemandSignalCatalogCollection) 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
OccmDemandSignalCatalogLifecycleStateEnum Enum with underlying type: string
type OccmDemandSignalCatalogLifecycleStateEnum string
Set of constants representing the allowable values for OccmDemandSignalCatalogLifecycleStateEnum
const ( OccmDemandSignalCatalogLifecycleStateCreating OccmDemandSignalCatalogLifecycleStateEnum = "CREATING" OccmDemandSignalCatalogLifecycleStateActive OccmDemandSignalCatalogLifecycleStateEnum = "ACTIVE" OccmDemandSignalCatalogLifecycleStateUpdating OccmDemandSignalCatalogLifecycleStateEnum = "UPDATING" OccmDemandSignalCatalogLifecycleStateDeleted OccmDemandSignalCatalogLifecycleStateEnum = "DELETED" OccmDemandSignalCatalogLifecycleStateDeleting OccmDemandSignalCatalogLifecycleStateEnum = "DELETING" OccmDemandSignalCatalogLifecycleStateFailed OccmDemandSignalCatalogLifecycleStateEnum = "FAILED" )
func GetMappingOccmDemandSignalCatalogLifecycleStateEnum(val string) (OccmDemandSignalCatalogLifecycleStateEnum, bool)
GetMappingOccmDemandSignalCatalogLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccmDemandSignalCatalogLifecycleStateEnumValues() []OccmDemandSignalCatalogLifecycleStateEnum
GetOccmDemandSignalCatalogLifecycleStateEnumValues Enumerates the set of values for OccmDemandSignalCatalogLifecycleStateEnum
OccmDemandSignalCatalogResource A model containing information about the details of a demand signal catalog resource.
type OccmDemandSignalCatalogResource struct { // The OCID of the demand signal catalog resource. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the demand signal catalog was created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. Namespace DemandSignalNamespaceEnum `mandatory:"true" json:"namespace"` // The name of the OCI resource that you want to request. Name *string `mandatory:"true" json:"name"` // The current lifecycle state of the resource. LifecycleState OccmDemandSignalCatalogResourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal catalog resource was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal catalog resource was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID of the customer tenancy for which this resource will be available for the customer to order against. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // The name of region for which you want to request the OCI resource. This is an optional parameter. Region *string `mandatory:"false" json:"region"` // The name of the availability domain for which you want to request the OCI resource. This is an optional parameter. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` ResourceProperties *OccmDemandSignalResourcePropertiesCollection `mandatory:"false" json:"resourceProperties"` ResourcePropertyConstraints *OccmDemandSignalResourcePropertyConstraintsCollection `mandatory:"false" json:"resourcePropertyConstraints"` // 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 (m OccmDemandSignalCatalogResource) String() string
func (m OccmDemandSignalCatalogResource) 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
OccmDemandSignalCatalogResourceCollection A list containing detailed information about different resources.
type OccmDemandSignalCatalogResourceCollection struct { // An array of items containing detailed information about different resources. Items []OccmDemandSignalCatalogResourceSummary `mandatory:"true" json:"items"` }
func (m OccmDemandSignalCatalogResourceCollection) String() string
func (m OccmDemandSignalCatalogResourceCollection) 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
OccmDemandSignalCatalogResourceLifecycleStateEnum Enum with underlying type: string
type OccmDemandSignalCatalogResourceLifecycleStateEnum string
Set of constants representing the allowable values for OccmDemandSignalCatalogResourceLifecycleStateEnum
const ( OccmDemandSignalCatalogResourceLifecycleStateCreating OccmDemandSignalCatalogResourceLifecycleStateEnum = "CREATING" OccmDemandSignalCatalogResourceLifecycleStateActive OccmDemandSignalCatalogResourceLifecycleStateEnum = "ACTIVE" OccmDemandSignalCatalogResourceLifecycleStateUpdating OccmDemandSignalCatalogResourceLifecycleStateEnum = "UPDATING" OccmDemandSignalCatalogResourceLifecycleStateDeleted OccmDemandSignalCatalogResourceLifecycleStateEnum = "DELETED" OccmDemandSignalCatalogResourceLifecycleStateDeleting OccmDemandSignalCatalogResourceLifecycleStateEnum = "DELETING" OccmDemandSignalCatalogResourceLifecycleStateFailed OccmDemandSignalCatalogResourceLifecycleStateEnum = "FAILED" )
func GetMappingOccmDemandSignalCatalogResourceLifecycleStateEnum(val string) (OccmDemandSignalCatalogResourceLifecycleStateEnum, bool)
GetMappingOccmDemandSignalCatalogResourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccmDemandSignalCatalogResourceLifecycleStateEnumValues() []OccmDemandSignalCatalogResourceLifecycleStateEnum
GetOccmDemandSignalCatalogResourceLifecycleStateEnumValues Enumerates the set of values for OccmDemandSignalCatalogResourceLifecycleStateEnum
OccmDemandSignalCatalogResourceSummary A summary model containing information about the details of a demand signal catalog resource.
type OccmDemandSignalCatalogResourceSummary struct { // The OCID of the demand signal catalog resource. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the request to create the demand signal was made. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. Namespace DemandSignalNamespaceEnum `mandatory:"true" json:"namespace"` // The name of the OCI resource that you want to request. Name *string `mandatory:"true" json:"name"` // The current lifecycles state of the demand signal catalog resource. LifecycleState OccmDemandSignalCatalogResourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal catalog resource was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal catalog resource was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID of the customer tenancy for which this resource will be available for the customer to order against. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // The name of region for which you want to request the OCI resource. This is an optional parameter. Region *string `mandatory:"false" json:"region"` // The name of the availability domain for which you want to request the OCI resource. This is an optional parameter. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` ResourceProperties *OccmDemandSignalResourcePropertiesCollection `mandatory:"false" json:"resourceProperties"` ResourcePropertyConstraints *OccmDemandSignalResourcePropertyConstraintsCollection `mandatory:"false" json:"resourcePropertyConstraints"` // 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 (m OccmDemandSignalCatalogResourceSummary) String() string
func (m OccmDemandSignalCatalogResourceSummary) 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
OccmDemandSignalCatalogSummary A summary model for the demand signal catalog.
type OccmDemandSignalCatalogSummary struct { // compartment id from where demand signal catalog is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The customer group OCID to which the availability catalog belongs. OccCustomerGroupId *string `mandatory:"true" json:"occCustomerGroupId"` // The ocid of demand signal catalog. Id *string `mandatory:"true" json:"id"` // displayName of demand signal catalog. DisplayName *string `mandatory:"true" json:"displayName"` // The current lifecycle state of the demand signal catalog. LifecycleState OccmDemandSignalCatalogLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal catalog was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal catalog was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // description of demand signal 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m OccmDemandSignalCatalogSummary) String() string
func (m OccmDemandSignalCatalogSummary) 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
OccmDemandSignalCollection A list of demand signals.
type OccmDemandSignalCollection struct { // An array of demand signals. Items []OccmDemandSignalSummary `mandatory:"true" json:"items"` }
func (m OccmDemandSignalCollection) String() string
func (m OccmDemandSignalCollection) 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
OccmDemandSignalDeliveryCollection A list containing detailed delivery information about different resource demanded as part of the demand signal.
type OccmDemandSignalDeliveryCollection struct { // An array of items containing detailed information about demand signal delivery resources. Items []OccmDemandSignalDeliverySummary `mandatory:"true" json:"items"` }
func (m OccmDemandSignalDeliveryCollection) String() string
func (m OccmDemandSignalDeliveryCollection) 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
OccmDemandSignalDeliverySummary A summary model containing information about the demand signal delivery resources.
type OccmDemandSignalDeliverySummary struct { // The OCID of this demand signal delivery resource. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the demand signal delivery resource is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the demand signal under which this delivery will be grouped. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // The OCID of the demand signal item corresponding to which this delivery is made. DemandSignalItemId *string `mandatory:"true" json:"demandSignalItemId"` // The quantity of the resource that OCI will supply to the customer. AcceptedQuantity *int64 `mandatory:"true" json:"acceptedQuantity"` // The current lifecycle state of the resource. LifecycleState OccmDemandSignalDeliverySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The enum values corresponding to the various states associated with the delivery resource. // ACCEPTED -> OCI has accepted your resource request and will deliver the quantity as specified by acceptance quantity of this resource. // DECLINED -> OCI has declined you resource request. // DELIVERED -> OCI has delivered the accepted quantity to the customers. // Note: Under extreme rare scenarios the delivery state can toggle between ACCEPTED and DECLINED states LifecycleDetails OccmDemandSignalDeliverySummaryLifecycleDetailsEnum `mandatory:"true" json:"lifecycleDetails"` // This field could be used by OCI to communicate the reason for accepting or declining the request. Justification *string `mandatory:"false" json:"justification"` // The date on which the OCI delivered the resource to the customers. TimeDelivered *common.SDKTime `mandatory:"false" json:"timeDelivered"` // 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 (m OccmDemandSignalDeliverySummary) String() string
func (m OccmDemandSignalDeliverySummary) 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
OccmDemandSignalDeliverySummaryLifecycleDetailsEnum Enum with underlying type: string
type OccmDemandSignalDeliverySummaryLifecycleDetailsEnum string
Set of constants representing the allowable values for OccmDemandSignalDeliverySummaryLifecycleDetailsEnum
const ( OccmDemandSignalDeliverySummaryLifecycleDetailsAccepted OccmDemandSignalDeliverySummaryLifecycleDetailsEnum = "ACCEPTED" OccmDemandSignalDeliverySummaryLifecycleDetailsDeclined OccmDemandSignalDeliverySummaryLifecycleDetailsEnum = "DECLINED" OccmDemandSignalDeliverySummaryLifecycleDetailsDelivered OccmDemandSignalDeliverySummaryLifecycleDetailsEnum = "DELIVERED" )
func GetMappingOccmDemandSignalDeliverySummaryLifecycleDetailsEnum(val string) (OccmDemandSignalDeliverySummaryLifecycleDetailsEnum, bool)
GetMappingOccmDemandSignalDeliverySummaryLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccmDemandSignalDeliverySummaryLifecycleDetailsEnumValues() []OccmDemandSignalDeliverySummaryLifecycleDetailsEnum
GetOccmDemandSignalDeliverySummaryLifecycleDetailsEnumValues Enumerates the set of values for OccmDemandSignalDeliverySummaryLifecycleDetailsEnum
OccmDemandSignalDeliverySummaryLifecycleStateEnum Enum with underlying type: string
type OccmDemandSignalDeliverySummaryLifecycleStateEnum string
Set of constants representing the allowable values for OccmDemandSignalDeliverySummaryLifecycleStateEnum
const ( OccmDemandSignalDeliverySummaryLifecycleStateCreating OccmDemandSignalDeliverySummaryLifecycleStateEnum = "CREATING" OccmDemandSignalDeliverySummaryLifecycleStateActive OccmDemandSignalDeliverySummaryLifecycleStateEnum = "ACTIVE" OccmDemandSignalDeliverySummaryLifecycleStateUpdating OccmDemandSignalDeliverySummaryLifecycleStateEnum = "UPDATING" OccmDemandSignalDeliverySummaryLifecycleStateDeleted OccmDemandSignalDeliverySummaryLifecycleStateEnum = "DELETED" OccmDemandSignalDeliverySummaryLifecycleStateDeleting OccmDemandSignalDeliverySummaryLifecycleStateEnum = "DELETING" OccmDemandSignalDeliverySummaryLifecycleStateFailed OccmDemandSignalDeliverySummaryLifecycleStateEnum = "FAILED" )
func GetMappingOccmDemandSignalDeliverySummaryLifecycleStateEnum(val string) (OccmDemandSignalDeliverySummaryLifecycleStateEnum, bool)
GetMappingOccmDemandSignalDeliverySummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccmDemandSignalDeliverySummaryLifecycleStateEnumValues() []OccmDemandSignalDeliverySummaryLifecycleStateEnum
GetOccmDemandSignalDeliverySummaryLifecycleStateEnumValues Enumerates the set of values for OccmDemandSignalDeliverySummaryLifecycleStateEnum
OccmDemandSignalItem An occm demand signal item is a resource that is used to communicate the forecasting need for a particular resource with OCI. It's a sub-resource and need to be grouped inside a demand signal.
type OccmDemandSignalItem struct { // The OCID of the demand signal item. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the demand signal item was created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the demand signal under which this item will be grouped. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. DemandSignalNamespace DemandSignalNamespaceEnum `mandatory:"true" json:"demandSignalNamespace"` // The OCID of the corresponding demand signal catalog resource. DemandSignalCatalogResourceId *string `mandatory:"true" json:"demandSignalCatalogResourceId"` // The type of request (DEMAND or RETURN) made against a particular demand signal item. RequestType OccmDemandSignalItemRequestTypeEnum `mandatory:"true" json:"requestType"` // The name of the OCI resource that you want to request. ResourceName *string `mandatory:"true" json:"resourceName"` // The name of region for which you want to request the OCI resource. Region *string `mandatory:"true" json:"region"` // The quantity of the resource that you want to demand from OCI. DemandQuantity *int64 `mandatory:"true" json:"demandQuantity"` // the date before which you would ideally like the OCI resource to be delivered to you. TimeNeededBefore *common.SDKTime `mandatory:"true" json:"timeNeededBefore"` // A map of various properties associated with the OCI resource. ResourceProperties map[string]string `mandatory:"true" json:"resourceProperties"` // The current lifecycle state of the resource. LifecycleState OccmDemandSignalItemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The name of the availability domain for which you want to request the OCI resource. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` // The OCID of the tenancy for which you want to request the OCI resource for. This is an optional parameter. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // This field will serve as notes section for you. You can use this section to convey a message to OCI regarding your resource request. // NOTE: The previous value gets overwritten with the new one for this once updated. Notes *string `mandatory:"false" json:"notes"` // 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 (m OccmDemandSignalItem) String() string
func (m OccmDemandSignalItem) 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
OccmDemandSignalItemCollection A list containing detailed information about different resources demanded as part of a given demand signal.
type OccmDemandSignalItemCollection struct { // An array of items containing detailed information about different resource demanded as part of a demand signal. Items []OccmDemandSignalItemSummary `mandatory:"true" json:"items"` }
func (m OccmDemandSignalItemCollection) String() string
func (m OccmDemandSignalItemCollection) 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
OccmDemandSignalItemLifecycleStateEnum Enum with underlying type: string
type OccmDemandSignalItemLifecycleStateEnum string
Set of constants representing the allowable values for OccmDemandSignalItemLifecycleStateEnum
const ( OccmDemandSignalItemLifecycleStateCreating OccmDemandSignalItemLifecycleStateEnum = "CREATING" OccmDemandSignalItemLifecycleStateUpdating OccmDemandSignalItemLifecycleStateEnum = "UPDATING" OccmDemandSignalItemLifecycleStateActive OccmDemandSignalItemLifecycleStateEnum = "ACTIVE" OccmDemandSignalItemLifecycleStateDeleting OccmDemandSignalItemLifecycleStateEnum = "DELETING" OccmDemandSignalItemLifecycleStateDeleted OccmDemandSignalItemLifecycleStateEnum = "DELETED" OccmDemandSignalItemLifecycleStateFailed OccmDemandSignalItemLifecycleStateEnum = "FAILED" )
func GetMappingOccmDemandSignalItemLifecycleStateEnum(val string) (OccmDemandSignalItemLifecycleStateEnum, bool)
GetMappingOccmDemandSignalItemLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccmDemandSignalItemLifecycleStateEnumValues() []OccmDemandSignalItemLifecycleStateEnum
GetOccmDemandSignalItemLifecycleStateEnumValues Enumerates the set of values for OccmDemandSignalItemLifecycleStateEnum
OccmDemandSignalItemRequestTypeEnum Enum with underlying type: string
type OccmDemandSignalItemRequestTypeEnum string
Set of constants representing the allowable values for OccmDemandSignalItemRequestTypeEnum
const ( OccmDemandSignalItemRequestTypeDemand OccmDemandSignalItemRequestTypeEnum = "DEMAND" )
func GetMappingOccmDemandSignalItemRequestTypeEnum(val string) (OccmDemandSignalItemRequestTypeEnum, bool)
GetMappingOccmDemandSignalItemRequestTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccmDemandSignalItemRequestTypeEnumValues() []OccmDemandSignalItemRequestTypeEnum
GetOccmDemandSignalItemRequestTypeEnumValues Enumerates the set of values for OccmDemandSignalItemRequestTypeEnum
OccmDemandSignalItemSummary A summary model containing information about various demand signal resource requests.
type OccmDemandSignalItemSummary struct { // The OCID of the demand signal resource request. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the demand signal item was created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the demand signal under which this item will be grouped. DemandSignalId *string `mandatory:"true" json:"demandSignalId"` // The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. DemandSignalNamespace DemandSignalNamespaceEnum `mandatory:"true" json:"demandSignalNamespace"` // The OCID of the corresponding demand signal catalog resource. DemandSignalCatalogResourceId *string `mandatory:"true" json:"demandSignalCatalogResourceId"` // The type of request (DEMAND or RETURN) made against a particular demand signal item. RequestType OccmDemandSignalItemRequestTypeEnum `mandatory:"true" json:"requestType"` // The name of the OCI resource that you want to request. ResourceName *string `mandatory:"true" json:"resourceName"` // The name of region for which you want to request the OCI resource. Region *string `mandatory:"true" json:"region"` // The quantity of the resource that you want to demand from OCI or return to OCI. Quantity *int64 `mandatory:"true" json:"quantity"` // the date before which you would ideally like the OCI resource to be delivered to you. TimeNeededBefore *common.SDKTime `mandatory:"true" json:"timeNeededBefore"` // A map of various properties associated with the OCI resource. ResourceProperties map[string]string `mandatory:"true" json:"resourceProperties"` // The current lifecycle state of the demand signal item. LifecycleState OccmDemandSignalItemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The name of the availability domain for which you want to request the OCI resource. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` // The ocid of the tenancy for which you want to request the OCI resource for. This is an optional parameter. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // This field will serve as notes section for you. You can use this section to convey a message to OCI regarding your resource request. // NOTE: The previous value gets overwritten with the new one for this once updated. Notes *string `mandatory:"false" json:"notes"` // 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 (m OccmDemandSignalItemSummary) String() string
func (m OccmDemandSignalItemSummary) 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
OccmDemandSignalLifecycleDetailsEnum Enum with underlying type: string
type OccmDemandSignalLifecycleDetailsEnum string
Set of constants representing the allowable values for OccmDemandSignalLifecycleDetailsEnum
const ( OccmDemandSignalLifecycleDetailsCreated OccmDemandSignalLifecycleDetailsEnum = "CREATED" OccmDemandSignalLifecycleDetailsSubmitted OccmDemandSignalLifecycleDetailsEnum = "SUBMITTED" OccmDemandSignalLifecycleDetailsDeleted OccmDemandSignalLifecycleDetailsEnum = "DELETED" OccmDemandSignalLifecycleDetailsInProgress OccmDemandSignalLifecycleDetailsEnum = "IN_PROGRESS" OccmDemandSignalLifecycleDetailsRejected OccmDemandSignalLifecycleDetailsEnum = "REJECTED" OccmDemandSignalLifecycleDetailsCompleted OccmDemandSignalLifecycleDetailsEnum = "COMPLETED" )
func GetMappingOccmDemandSignalLifecycleDetailsEnum(val string) (OccmDemandSignalLifecycleDetailsEnum, bool)
GetMappingOccmDemandSignalLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccmDemandSignalLifecycleDetailsEnumValues() []OccmDemandSignalLifecycleDetailsEnum
GetOccmDemandSignalLifecycleDetailsEnumValues Enumerates the set of values for OccmDemandSignalLifecycleDetailsEnum
OccmDemandSignalLifecycleStateEnum Enum with underlying type: string
type OccmDemandSignalLifecycleStateEnum string
Set of constants representing the allowable values for OccmDemandSignalLifecycleStateEnum
const ( OccmDemandSignalLifecycleStateCreating OccmDemandSignalLifecycleStateEnum = "CREATING" OccmDemandSignalLifecycleStateActive OccmDemandSignalLifecycleStateEnum = "ACTIVE" OccmDemandSignalLifecycleStateUpdating OccmDemandSignalLifecycleStateEnum = "UPDATING" OccmDemandSignalLifecycleStateDeleted OccmDemandSignalLifecycleStateEnum = "DELETED" OccmDemandSignalLifecycleStateDeleting OccmDemandSignalLifecycleStateEnum = "DELETING" OccmDemandSignalLifecycleStateFailed OccmDemandSignalLifecycleStateEnum = "FAILED" )
func GetMappingOccmDemandSignalLifecycleStateEnum(val string) (OccmDemandSignalLifecycleStateEnum, bool)
GetMappingOccmDemandSignalLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOccmDemandSignalLifecycleStateEnumValues() []OccmDemandSignalLifecycleStateEnum
GetOccmDemandSignalLifecycleStateEnumValues Enumerates the set of values for OccmDemandSignalLifecycleStateEnum
OccmDemandSignalResourcePropertiesCollection A list containing detailed information about a resource's properties.
type OccmDemandSignalResourcePropertiesCollection struct { // An array of items containing detailed information about a resource's properties. Items []OccmDemandSignalResourcePropertiesSummary `mandatory:"true" json:"items"` }
func (m OccmDemandSignalResourcePropertiesCollection) String() string
func (m OccmDemandSignalResourcePropertiesCollection) 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
OccmDemandSignalResourcePropertiesSummary A summary model for the Occm demand signal resource properties.
type OccmDemandSignalResourcePropertiesSummary struct { // The name of demand signal resource's property. PropertyName *string `mandatory:"true" json:"propertyName"` // Default value of demand signal resource's property. PropertyValue *string `mandatory:"true" json:"propertyValue"` // This will indicate if demand signal resource's property is editable. IsEditable *bool `mandatory:"true" json:"isEditable"` // The minimum value of demand signal resource's property. This is an optional parameter. PropertyMinValue *int64 `mandatory:"false" json:"propertyMinValue"` // The maximum value of demand signal resource's property. This is an optional parameter. PropertyMaxValue *int64 `mandatory:"false" json:"propertyMaxValue"` // Predefined options for demand signal resource's property. This is an optional parameter. PropertyOptions []OccmDemandSignalResourcePropertyOptionSummary `mandatory:"false" json:"propertyOptions"` // Unit for demand signal resource's property. PropertyUnit *string `mandatory:"false" json:"propertyUnit"` }
func (m OccmDemandSignalResourcePropertiesSummary) String() string
func (m OccmDemandSignalResourcePropertiesSummary) 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
OccmDemandSignalResourcePropertyConstraintsCollection A list containing detailed information about a resource's property constraints.
type OccmDemandSignalResourcePropertyConstraintsCollection struct { // An array of items containing detailed information about a resource's property dependecies. Items []OccmDemandSignalResourcePropertyConstraintsSummary `mandatory:"true" json:"items"` }
func (m OccmDemandSignalResourcePropertyConstraintsCollection) String() string
func (m OccmDemandSignalResourcePropertyConstraintsCollection) 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
OccmDemandSignalResourcePropertyConstraintsSummary A summary model for the Occm demand signal resource property constraints.
type OccmDemandSignalResourcePropertyConstraintsSummary struct { // The name of demand signal resource's property constraint. ConstraintName *string `mandatory:"true" json:"constraintName"` // The value of demand signal resource's property constraint. ConstraintValue *string `mandatory:"true" json:"constraintValue"` }
func (m OccmDemandSignalResourcePropertyConstraintsSummary) String() string
func (m OccmDemandSignalResourcePropertyConstraintsSummary) 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
OccmDemandSignalResourcePropertyOptionSummary A summary model for the Occm demand signal resource property option. To support range of the options for a property
type OccmDemandSignalResourcePropertyOptionSummary struct { // key of a property option like memoryValue, ocpuValue. OptionKey *string `mandatory:"true" json:"optionKey"` // value of a property option like 64, 2 fastconnect etc. OptionValue *string `mandatory:"true" json:"optionValue"` }
func (m OccmDemandSignalResourcePropertyOptionSummary) String() string
func (m OccmDemandSignalResourcePropertyOptionSummary) 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
OccmDemandSignalSummary A summary model for the occm demand signal.
type OccmDemandSignalSummary struct { // The OCID of the demand signal. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy from which the request to create the demand signal was made. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the demand signal. DisplayName *string `mandatory:"true" json:"displayName"` // The different states associated with a demand signal. // CREATED -> A demand signal is by default created in this state. // SUBMITTED -> Once you have reviewed the details of the demand signal, you can transition it to SUBMITTED state so that OCI can start working on it. // DELETED -> You can delete a demand signal as long as it is in either CREATED or SUBMITTED state. // IN_PROGRESS -> Once OCI starts working on a given demand signal. They transition it to IN_PROGRESS. // REJECTED -> OCI can transition the demand signal to this state if all the demand signal items of that demand signal are declined. // COMPLETED -> OCI will transition the demand signal to COMPLETED state once the quantities which OCI committed to deliver to you has been delivered. LifecycleDetails OccmDemandSignalLifecycleDetailsEnum `mandatory:"true" json:"lifecycleDetails"` // The current lifecycle state of the demand signal. LifecycleState OccmDemandSignalLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time when the demand signal was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time when the demand signal was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // A short description about the demand signal. 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"` // System tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m OccmDemandSignalSummary) String() string
func (m OccmDemandSignalSummary) 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
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 (m PatchInsertInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchInsertInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchInsertInstruction) String() string
func (m PatchInsertInstruction) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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(val string) (PatchInsertInstructionPositionEnum, bool)
GetMappingPatchInsertInstructionPositionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchInsertInstructionPositionEnumValues() []PatchInsertInstructionPositionEnum
GetPatchInsertInstructionPositionEnumValues Enumerates the set of values for PatchInsertInstructionPositionEnum
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 (m PatchInsertMultipleInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchInsertMultipleInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchInsertMultipleInstruction) String() string
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
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(val string) (PatchInsertMultipleInstructionPositionEnum, bool)
GetMappingPatchInsertMultipleInstructionPositionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchInsertMultipleInstructionPositionEnumValues() []PatchInsertMultipleInstructionPositionEnum
GetPatchInsertMultipleInstructionPositionEnumValues Enumerates the set of values for PatchInsertMultipleInstructionPositionEnum
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 }
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(val string) (PatchInstructionOperationEnum, bool)
GetMappingPatchInstructionOperationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchInstructionOperationEnumValues() []PatchInstructionOperationEnum
GetPatchInstructionOperationEnumValues Enumerates the set of values for PatchInstructionOperationEnum
PatchInternalOccCapacityRequestRequest wrapper for the PatchInternalOccCapacityRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request PatchInternalOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PatchInternalOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PatchInternalOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PatchInternalOccCapacityRequestRequest) String() string
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
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 (response PatchInternalOccCapacityRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PatchInternalOccCapacityRequestResponse) String() string
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 (m PatchMergeInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchMergeInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchMergeInstruction) String() string
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
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 (m PatchMoveInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchMoveInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchMoveInstruction) String() string
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
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(val string) (PatchMoveInstructionPositionEnum, bool)
GetMappingPatchMoveInstructionPositionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPatchMoveInstructionPositionEnumValues() []PatchMoveInstructionPositionEnum
GetPatchMoveInstructionPositionEnumValues Enumerates the set of values for PatchMoveInstructionPositionEnum
PatchOccCapacityRequestDetails CapacityRequest details to patch.
type PatchOccCapacityRequestDetails struct { // List of patch instructions. Items []PatchInstruction `mandatory:"false" json:"items"` }
func (m PatchOccCapacityRequestDetails) String() string
func (m *PatchOccCapacityRequestDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
PatchOccCapacityRequestRequest wrapper for the PatchOccCapacityRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request PatchOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PatchOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PatchOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PatchOccCapacityRequestRequest) String() string
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
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 (response PatchOccCapacityRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PatchOccCapacityRequestResponse) String() string
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 (m PatchProhibitInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchProhibitInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchProhibitInstruction) String() string
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
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 (m PatchRemoveInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchRemoveInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchRemoveInstruction) String() string
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
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 (m PatchReplaceInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchReplaceInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchReplaceInstruction) String() string
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
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 (m PatchRequireInstruction) GetSelection() *string
GetSelection returns Selection
func (m PatchRequireInstruction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PatchRequireInstruction) String() string
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
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 (m PlacementDetails) String() string
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
PublishOccAvailabilityCatalogRequest wrapper for the PublishOccAvailabilityCatalog operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request PublishOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PublishOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PublishOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PublishOccAvailabilityCatalogRequest) String() string
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
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 (response PublishOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PublishOccAvailabilityCatalogResponse) String() string
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(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
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 (m UpdateInternalOccCapacityRequestDetails) String() string
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
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(val string) (UpdateInternalOccCapacityRequestDetailsRequestStateEnum, bool)
GetMappingUpdateInternalOccCapacityRequestDetailsRequestStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumValues() []UpdateInternalOccCapacityRequestDetailsRequestStateEnum
GetUpdateInternalOccCapacityRequestDetailsRequestStateEnumValues Enumerates the set of values for UpdateInternalOccCapacityRequestDetailsRequestStateEnum
UpdateInternalOccCapacityRequestRequest wrapper for the UpdateInternalOccCapacityRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request UpdateInternalOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateInternalOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateInternalOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateInternalOccCapacityRequestRequest) String() string
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
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 (response UpdateInternalOccCapacityRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateInternalOccCapacityRequestResponse) String() string
UpdateInternalOccmDemandSignalDeliveryDetails Details about different fields used to update the demand signal delivery resource.
type UpdateInternalOccmDemandSignalDeliveryDetails struct { // The quantity of the resource that OCI will supply to the customer. AcceptedQuantity *int64 `mandatory:"false" json:"acceptedQuantity"` // The state in which we want to transition the demand signal delivery resource. LifecycleDetails InternalOccmDemandSignalDeliveryLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` // The date on which the OCI delivered the resource to the customers. TimeDelivered *common.SDKTime `mandatory:"false" json:"timeDelivered"` // This field could be used by OCI to communicate the reason for declining the request. Justification *string `mandatory:"false" json:"justification"` // This field acts as a notes section for operators. Notes *string `mandatory:"false" json:"notes"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateInternalOccmDemandSignalDeliveryDetails) String() string
func (m UpdateInternalOccmDemandSignalDeliveryDetails) 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
UpdateInternalOccmDemandSignalDeliveryRequest wrapper for the UpdateInternalOccmDemandSignalDelivery operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateInternalOccmDemandSignalDelivery.go.html to see an example of how to use UpdateInternalOccmDemandSignalDeliveryRequest.
type UpdateInternalOccmDemandSignalDeliveryRequest struct { // The details about the request to update the specified demand signal delivery. UpdateInternalOccmDemandSignalDeliveryDetails `contributesTo:"body"` // The OCID of the demand signal delivery. OccmDemandSignalDeliveryId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalDeliveryId"` // 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 (request UpdateInternalOccmDemandSignalDeliveryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateInternalOccmDemandSignalDeliveryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateInternalOccmDemandSignalDeliveryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateInternalOccmDemandSignalDeliveryRequest) String() string
func (request UpdateInternalOccmDemandSignalDeliveryRequest) 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
UpdateInternalOccmDemandSignalDeliveryResponse wrapper for the UpdateInternalOccmDemandSignalDelivery operation
type UpdateInternalOccmDemandSignalDeliveryResponse struct { // The underlying http response RawResponse *http.Response // The InternalOccmDemandSignalDelivery instance InternalOccmDemandSignalDelivery `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 (response UpdateInternalOccmDemandSignalDeliveryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateInternalOccmDemandSignalDeliveryResponse) String() string
UpdateInternalOccmDemandSignalDetails An internal model to update the demand signal state.
type UpdateInternalOccmDemandSignalDetails struct { // The subset of demand signal states available for operators for updating the demand signal. // IN_PROGRESS -> Transitions the demand signal to IN_PROGRESS state. // REJECTED -> Transitions the demand signal to REJECTED state. // COMPLETED -> This will transition the demand signal to COMPLETED state. LifecycleDetails UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` }
func (m UpdateInternalOccmDemandSignalDetails) String() string
func (m UpdateInternalOccmDemandSignalDetails) 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
UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum Enum with underlying type: string
type UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum string
Set of constants representing the allowable values for UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum
const ( UpdateInternalOccmDemandSignalDetailsLifecycleDetailsInProgress UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum = "IN_PROGRESS" UpdateInternalOccmDemandSignalDetailsLifecycleDetailsCompleted UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum = "COMPLETED" UpdateInternalOccmDemandSignalDetailsLifecycleDetailsRejected UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum = "REJECTED" )
func GetMappingUpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum(val string) (UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum, bool)
GetMappingUpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnumValues() []UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum
GetUpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnumValues Enumerates the set of values for UpdateInternalOccmDemandSignalDetailsLifecycleDetailsEnum
UpdateInternalOccmDemandSignalRequest wrapper for the UpdateInternalOccmDemandSignal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateInternalOccmDemandSignal.go.html to see an example of how to use UpdateInternalOccmDemandSignalRequest.
type UpdateInternalOccmDemandSignalRequest struct { // The request details for this PUT API to update the metadata for a given demand signal resource. UpdateInternalOccmDemandSignalDetails `contributesTo:"body"` // The OCID of the demand signal. OccmDemandSignalId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalId"` // 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 (request UpdateInternalOccmDemandSignalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateInternalOccmDemandSignalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateInternalOccmDemandSignalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateInternalOccmDemandSignalRequest) String() string
func (request UpdateInternalOccmDemandSignalRequest) 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
UpdateInternalOccmDemandSignalResponse wrapper for the UpdateInternalOccmDemandSignal operation
type UpdateInternalOccmDemandSignalResponse struct { // The underlying http response RawResponse *http.Response // The InternalOccmDemandSignal instance InternalOccmDemandSignal `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 (response UpdateInternalOccmDemandSignalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateInternalOccmDemandSignalResponse) String() string
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 (m UpdateOccAvailabilityCatalogDetails) String() string
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
UpdateOccAvailabilityCatalogRequest wrapper for the UpdateOccAvailabilityCatalog operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request UpdateOccAvailabilityCatalogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOccAvailabilityCatalogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOccAvailabilityCatalogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOccAvailabilityCatalogRequest) String() string
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
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 (response UpdateOccAvailabilityCatalogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOccAvailabilityCatalogResponse) String() string
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 (m UpdateOccCapacityRequestDetails) String() string
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
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(val string) (UpdateOccCapacityRequestDetailsRequestStateEnum, bool)
GetMappingUpdateOccCapacityRequestDetailsRequestStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateOccCapacityRequestDetailsRequestStateEnumValues() []UpdateOccCapacityRequestDetailsRequestStateEnum
GetUpdateOccCapacityRequestDetailsRequestStateEnumValues Enumerates the set of values for UpdateOccCapacityRequestDetailsRequestStateEnum
UpdateOccCapacityRequestRequest wrapper for the UpdateOccCapacityRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request UpdateOccCapacityRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOccCapacityRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOccCapacityRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOccCapacityRequestRequest) String() string
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
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 (response UpdateOccCapacityRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOccCapacityRequestResponse) String() string
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 (m UpdateOccCustomerDetails) String() string
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
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(val string) (UpdateOccCustomerDetailsStatusEnum, bool)
GetMappingUpdateOccCustomerDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateOccCustomerDetailsStatusEnumValues() []UpdateOccCustomerDetailsStatusEnum
GetUpdateOccCustomerDetailsStatusEnumValues Enumerates the set of values for UpdateOccCustomerDetailsStatusEnum
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 (m UpdateOccCustomerGroupDetails) String() string
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
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(val string) (UpdateOccCustomerGroupDetailsStatusEnum, bool)
GetMappingUpdateOccCustomerGroupDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateOccCustomerGroupDetailsStatusEnumValues() []UpdateOccCustomerGroupDetailsStatusEnum
GetUpdateOccCustomerGroupDetailsStatusEnumValues Enumerates the set of values for UpdateOccCustomerGroupDetailsStatusEnum
UpdateOccCustomerGroupRequest wrapper for the UpdateOccCustomerGroup operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request UpdateOccCustomerGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOccCustomerGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOccCustomerGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOccCustomerGroupRequest) String() string
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
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 (response UpdateOccCustomerGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOccCustomerGroupResponse) String() string
UpdateOccCustomerRequest wrapper for the UpdateOccCustomer operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/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 (request UpdateOccCustomerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOccCustomerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOccCustomerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOccCustomerRequest) String() string
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
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 (response UpdateOccCustomerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOccCustomerResponse) String() string
UpdateOccmDemandSignalDetails Details about different fields that can be used to update the demand signal.
type UpdateOccmDemandSignalDetails struct { // Use this field to update the display name of the demand signal 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"` // Use this field to update the description of the demand signal. Description *string `mandatory:"false" json:"description"` // The subset of demand signal states available for updating the demand signal. LifecycleDetails UpdateOccmDemandSignalDetailsLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` }
func (m UpdateOccmDemandSignalDetails) String() string
func (m UpdateOccmDemandSignalDetails) 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
UpdateOccmDemandSignalDetailsLifecycleDetailsEnum Enum with underlying type: string
type UpdateOccmDemandSignalDetailsLifecycleDetailsEnum string
Set of constants representing the allowable values for UpdateOccmDemandSignalDetailsLifecycleDetailsEnum
const ( UpdateOccmDemandSignalDetailsLifecycleDetailsSubmitted UpdateOccmDemandSignalDetailsLifecycleDetailsEnum = "SUBMITTED" )
func GetMappingUpdateOccmDemandSignalDetailsLifecycleDetailsEnum(val string) (UpdateOccmDemandSignalDetailsLifecycleDetailsEnum, bool)
GetMappingUpdateOccmDemandSignalDetailsLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateOccmDemandSignalDetailsLifecycleDetailsEnumValues() []UpdateOccmDemandSignalDetailsLifecycleDetailsEnum
GetUpdateOccmDemandSignalDetailsLifecycleDetailsEnumValues Enumerates the set of values for UpdateOccmDemandSignalDetailsLifecycleDetailsEnum
UpdateOccmDemandSignalItemDetails Details about different fields used to update the demand signal item.
type UpdateOccmDemandSignalItemDetails struct { // The region for which you want to request the resource for. Region *string `mandatory:"false" json:"region"` // The name of the availability domain for which you want to request the OCI resource. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` // The OCID of the tenancy for which you want to request the OCI resource for. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // The quantity of the resource that you want to demand from OCI. DemandQuantity *int64 `mandatory:"false" json:"demandQuantity"` // the date before which you would ideally like the OCI resource to be delivered to you. TimeNeededBefore *common.SDKTime `mandatory:"false" json:"timeNeededBefore"` // A map of various properties associated with the OCI resource. This parameter will act as a replace parameter i.e the existing resource properties will be overridden by this update. ResourceProperties map[string]string `mandatory:"false" json:"resourceProperties"` // This field will serve as notes section for you. You can use this section to convey a message to OCI regarding your resource request. // NOTE: The previous value gets overwritten with the new one for this once updated. Notes *string `mandatory:"false" json:"notes"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateOccmDemandSignalItemDetails) String() string
func (m UpdateOccmDemandSignalItemDetails) 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
UpdateOccmDemandSignalItemRequest wrapper for the UpdateOccmDemandSignalItem operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateOccmDemandSignalItem.go.html to see an example of how to use UpdateOccmDemandSignalItemRequest.
type UpdateOccmDemandSignalItemRequest struct { // The details about the request to update the specified demand signal item. UpdateOccmDemandSignalItemDetails `contributesTo:"body"` // The OCID of the demand signal item. OccmDemandSignalItemId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalItemId"` // 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 (request UpdateOccmDemandSignalItemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOccmDemandSignalItemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOccmDemandSignalItemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOccmDemandSignalItemRequest) String() string
func (request UpdateOccmDemandSignalItemRequest) 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
UpdateOccmDemandSignalItemResponse wrapper for the UpdateOccmDemandSignalItem operation
type UpdateOccmDemandSignalItemResponse struct { // The underlying http response RawResponse *http.Response // The OccmDemandSignalItem instance OccmDemandSignalItem `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 (response UpdateOccmDemandSignalItemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOccmDemandSignalItemResponse) String() string
UpdateOccmDemandSignalRequest wrapper for the UpdateOccmDemandSignal operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/capacitymanagement/UpdateOccmDemandSignal.go.html to see an example of how to use UpdateOccmDemandSignalRequest.
type UpdateOccmDemandSignalRequest struct { // The request details for this PUT API to update the metadata for a given demand signal resource. UpdateOccmDemandSignalDetails `contributesTo:"body"` // The OCID of the demand signal. OccmDemandSignalId *string `mandatory:"true" contributesTo:"path" name:"occmDemandSignalId"` // 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 (request UpdateOccmDemandSignalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOccmDemandSignalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOccmDemandSignalRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOccmDemandSignalRequest) String() string
func (request UpdateOccmDemandSignalRequest) 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
UpdateOccmDemandSignalResponse wrapper for the UpdateOccmDemandSignal operation
type UpdateOccmDemandSignalResponse struct { // The underlying http response RawResponse *http.Response // The OccmDemandSignal instance OccmDemandSignal `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 (response UpdateOccmDemandSignalResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOccmDemandSignalResponse) String() string