...

Package licensemanager

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

Overview ▾

Index ▾

func GetLicenseUnitEnumStringValues() []string
func GetLifeCycleStateEnumStringValues() []string
func GetListLicenseRecordsSortByEnumStringValues() []string
func GetListLicenseRecordsSortOrderEnumStringValues() []string
func GetListProductLicenseConsumersSortByEnumStringValues() []string
func GetListProductLicenseConsumersSortOrderEnumStringValues() []string
func GetListProductLicensesSortByEnumStringValues() []string
func GetListProductLicensesSortOrderEnumStringValues() []string
func GetListTopUtilizedProductLicensesSortByEnumStringValues() []string
func GetListTopUtilizedProductLicensesSortOrderEnumStringValues() []string
func GetListTopUtilizedResourcesResourceUnitTypeEnumStringValues() []string
func GetListTopUtilizedResourcesSortByEnumStringValues() []string
func GetListTopUtilizedResourcesSortOrderEnumStringValues() []string
func GetProductCategoryEnumStringValues() []string
func GetResourceUnitEnumStringValues() []string
func GetStatusEnumStringValues() []string
type BulkUploadCellInfo
    func (m BulkUploadCellInfo) String() string
    func (m BulkUploadCellInfo) ValidateEnumValue() (bool, error)
type BulkUploadFailedRecordInfo
    func (m BulkUploadFailedRecordInfo) String() string
    func (m BulkUploadFailedRecordInfo) ValidateEnumValue() (bool, error)
type BulkUploadLicenseRecordsDetails
    func (m BulkUploadLicenseRecordsDetails) String() string
    func (m BulkUploadLicenseRecordsDetails) ValidateEnumValue() (bool, error)
type BulkUploadLicenseRecordsRequest
    func (request BulkUploadLicenseRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request BulkUploadLicenseRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request BulkUploadLicenseRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request BulkUploadLicenseRecordsRequest) String() string
    func (request BulkUploadLicenseRecordsRequest) ValidateEnumValue() (bool, error)
type BulkUploadLicenseRecordsResponse
    func (response BulkUploadLicenseRecordsResponse) HTTPResponse() *http.Response
    func (response BulkUploadLicenseRecordsResponse) String() string
type BulkUploadResponse
    func (m BulkUploadResponse) String() string
    func (m BulkUploadResponse) ValidateEnumValue() (bool, error)
type BulkUploadTemplate
    func (m BulkUploadTemplate) String() string
    func (m BulkUploadTemplate) ValidateEnumValue() (bool, error)
type BulkUploadValidationErrorInfo
    func (m BulkUploadValidationErrorInfo) String() string
    func (m BulkUploadValidationErrorInfo) ValidateEnumValue() (bool, error)
type Configuration
    func (m Configuration) String() string
    func (m Configuration) ValidateEnumValue() (bool, error)
type CreateLicenseRecordDetails
    func (m CreateLicenseRecordDetails) String() string
    func (m CreateLicenseRecordDetails) ValidateEnumValue() (bool, error)
type CreateLicenseRecordRequest
    func (request CreateLicenseRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateLicenseRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateLicenseRecordRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateLicenseRecordRequest) String() string
    func (request CreateLicenseRecordRequest) ValidateEnumValue() (bool, error)
type CreateLicenseRecordResponse
    func (response CreateLicenseRecordResponse) HTTPResponse() *http.Response
    func (response CreateLicenseRecordResponse) String() string
type CreateProductLicenseDetails
    func (m CreateProductLicenseDetails) String() string
    func (m CreateProductLicenseDetails) ValidateEnumValue() (bool, error)
type CreateProductLicenseRequest
    func (request CreateProductLicenseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateProductLicenseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateProductLicenseRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateProductLicenseRequest) String() string
    func (request CreateProductLicenseRequest) ValidateEnumValue() (bool, error)
type CreateProductLicenseResponse
    func (response CreateProductLicenseResponse) HTTPResponse() *http.Response
    func (response CreateProductLicenseResponse) String() string
type DeleteLicenseRecordRequest
    func (request DeleteLicenseRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteLicenseRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteLicenseRecordRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteLicenseRecordRequest) String() string
    func (request DeleteLicenseRecordRequest) ValidateEnumValue() (bool, error)
type DeleteLicenseRecordResponse
    func (response DeleteLicenseRecordResponse) HTTPResponse() *http.Response
    func (response DeleteLicenseRecordResponse) String() string
type DeleteProductLicenseRequest
    func (request DeleteProductLicenseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteProductLicenseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteProductLicenseRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteProductLicenseRequest) String() string
    func (request DeleteProductLicenseRequest) ValidateEnumValue() (bool, error)
type DeleteProductLicenseResponse
    func (response DeleteProductLicenseResponse) HTTPResponse() *http.Response
    func (response DeleteProductLicenseResponse) String() string
type GetBulkUploadTemplateRequest
    func (request GetBulkUploadTemplateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBulkUploadTemplateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBulkUploadTemplateRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBulkUploadTemplateRequest) String() string
    func (request GetBulkUploadTemplateRequest) ValidateEnumValue() (bool, error)
type GetBulkUploadTemplateResponse
    func (response GetBulkUploadTemplateResponse) HTTPResponse() *http.Response
    func (response GetBulkUploadTemplateResponse) String() string
type GetConfigurationRequest
    func (request GetConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request GetConfigurationRequest) String() string
    func (request GetConfigurationRequest) ValidateEnumValue() (bool, error)
type GetConfigurationResponse
    func (response GetConfigurationResponse) HTTPResponse() *http.Response
    func (response GetConfigurationResponse) String() string
type GetLicenseMetricRequest
    func (request GetLicenseMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetLicenseMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetLicenseMetricRequest) RetryPolicy() *common.RetryPolicy
    func (request GetLicenseMetricRequest) String() string
    func (request GetLicenseMetricRequest) ValidateEnumValue() (bool, error)
type GetLicenseMetricResponse
    func (response GetLicenseMetricResponse) HTTPResponse() *http.Response
    func (response GetLicenseMetricResponse) String() string
type GetLicenseRecordRequest
    func (request GetLicenseRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetLicenseRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetLicenseRecordRequest) RetryPolicy() *common.RetryPolicy
    func (request GetLicenseRecordRequest) String() string
    func (request GetLicenseRecordRequest) ValidateEnumValue() (bool, error)
type GetLicenseRecordResponse
    func (response GetLicenseRecordResponse) HTTPResponse() *http.Response
    func (response GetLicenseRecordResponse) String() string
type GetProductLicenseRequest
    func (request GetProductLicenseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetProductLicenseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetProductLicenseRequest) RetryPolicy() *common.RetryPolicy
    func (request GetProductLicenseRequest) String() string
    func (request GetProductLicenseRequest) ValidateEnumValue() (bool, error)
type GetProductLicenseResponse
    func (response GetProductLicenseResponse) HTTPResponse() *http.Response
    func (response GetProductLicenseResponse) String() string
type ImageDetails
    func (m ImageDetails) String() string
    func (m ImageDetails) ValidateEnumValue() (bool, error)
type ImageResponse
    func (m ImageResponse) String() string
    func (m ImageResponse) ValidateEnumValue() (bool, error)
type LicenseManagerClient
    func NewLicenseManagerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LicenseManagerClient, err error)
    func NewLicenseManagerClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LicenseManagerClient, err error)
    func (client LicenseManagerClient) BulkUploadLicenseRecords(ctx context.Context, request BulkUploadLicenseRecordsRequest) (response BulkUploadLicenseRecordsResponse, err error)
    func (client *LicenseManagerClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client LicenseManagerClient) CreateLicenseRecord(ctx context.Context, request CreateLicenseRecordRequest) (response CreateLicenseRecordResponse, err error)
    func (client LicenseManagerClient) CreateProductLicense(ctx context.Context, request CreateProductLicenseRequest) (response CreateProductLicenseResponse, err error)
    func (client LicenseManagerClient) DeleteLicenseRecord(ctx context.Context, request DeleteLicenseRecordRequest) (response DeleteLicenseRecordResponse, err error)
    func (client LicenseManagerClient) DeleteProductLicense(ctx context.Context, request DeleteProductLicenseRequest) (response DeleteProductLicenseResponse, err error)
    func (client LicenseManagerClient) GetBulkUploadTemplate(ctx context.Context, request GetBulkUploadTemplateRequest) (response GetBulkUploadTemplateResponse, err error)
    func (client LicenseManagerClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)
    func (client LicenseManagerClient) GetLicenseMetric(ctx context.Context, request GetLicenseMetricRequest) (response GetLicenseMetricResponse, err error)
    func (client LicenseManagerClient) GetLicenseRecord(ctx context.Context, request GetLicenseRecordRequest) (response GetLicenseRecordResponse, err error)
    func (client LicenseManagerClient) GetProductLicense(ctx context.Context, request GetProductLicenseRequest) (response GetProductLicenseResponse, err error)
    func (client LicenseManagerClient) ListLicenseRecords(ctx context.Context, request ListLicenseRecordsRequest) (response ListLicenseRecordsResponse, err error)
    func (client LicenseManagerClient) ListProductLicenseConsumers(ctx context.Context, request ListProductLicenseConsumersRequest) (response ListProductLicenseConsumersResponse, err error)
    func (client LicenseManagerClient) ListProductLicenses(ctx context.Context, request ListProductLicensesRequest) (response ListProductLicensesResponse, err error)
    func (client LicenseManagerClient) ListTopUtilizedProductLicenses(ctx context.Context, request ListTopUtilizedProductLicensesRequest) (response ListTopUtilizedProductLicensesResponse, err error)
    func (client LicenseManagerClient) ListTopUtilizedResources(ctx context.Context, request ListTopUtilizedResourcesRequest) (response ListTopUtilizedResourcesResponse, err error)
    func (client *LicenseManagerClient) SetRegion(region string)
    func (client LicenseManagerClient) UpdateConfiguration(ctx context.Context, request UpdateConfigurationRequest) (response UpdateConfigurationResponse, err error)
    func (client LicenseManagerClient) UpdateLicenseRecord(ctx context.Context, request UpdateLicenseRecordRequest) (response UpdateLicenseRecordResponse, err error)
    func (client LicenseManagerClient) UpdateProductLicense(ctx context.Context, request UpdateProductLicenseRequest) (response UpdateProductLicenseResponse, err error)
type LicenseMetric
    func (m LicenseMetric) String() string
    func (m LicenseMetric) ValidateEnumValue() (bool, error)
type LicenseRecord
    func (m LicenseRecord) String() string
    func (m LicenseRecord) ValidateEnumValue() (bool, error)
type LicenseRecordCollection
    func (m LicenseRecordCollection) String() string
    func (m LicenseRecordCollection) ValidateEnumValue() (bool, error)
type LicenseRecordSummary
    func (m LicenseRecordSummary) String() string
    func (m LicenseRecordSummary) ValidateEnumValue() (bool, error)
type LicenseUnitEnum
    func GetLicenseUnitEnumValues() []LicenseUnitEnum
    func GetMappingLicenseUnitEnum(val string) (LicenseUnitEnum, bool)
type LifeCycleStateEnum
    func GetLifeCycleStateEnumValues() []LifeCycleStateEnum
    func GetMappingLifeCycleStateEnum(val string) (LifeCycleStateEnum, bool)
type ListLicenseRecordsRequest
    func (request ListLicenseRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListLicenseRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListLicenseRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListLicenseRecordsRequest) String() string
    func (request ListLicenseRecordsRequest) ValidateEnumValue() (bool, error)
type ListLicenseRecordsResponse
    func (response ListLicenseRecordsResponse) HTTPResponse() *http.Response
    func (response ListLicenseRecordsResponse) String() string
type ListLicenseRecordsSortByEnum
    func GetListLicenseRecordsSortByEnumValues() []ListLicenseRecordsSortByEnum
    func GetMappingListLicenseRecordsSortByEnum(val string) (ListLicenseRecordsSortByEnum, bool)
type ListLicenseRecordsSortOrderEnum
    func GetListLicenseRecordsSortOrderEnumValues() []ListLicenseRecordsSortOrderEnum
    func GetMappingListLicenseRecordsSortOrderEnum(val string) (ListLicenseRecordsSortOrderEnum, bool)
type ListProductLicenseConsumersRequest
    func (request ListProductLicenseConsumersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListProductLicenseConsumersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListProductLicenseConsumersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListProductLicenseConsumersRequest) String() string
    func (request ListProductLicenseConsumersRequest) ValidateEnumValue() (bool, error)
type ListProductLicenseConsumersResponse
    func (response ListProductLicenseConsumersResponse) HTTPResponse() *http.Response
    func (response ListProductLicenseConsumersResponse) String() string
type ListProductLicenseConsumersSortByEnum
    func GetListProductLicenseConsumersSortByEnumValues() []ListProductLicenseConsumersSortByEnum
    func GetMappingListProductLicenseConsumersSortByEnum(val string) (ListProductLicenseConsumersSortByEnum, bool)
type ListProductLicenseConsumersSortOrderEnum
    func GetListProductLicenseConsumersSortOrderEnumValues() []ListProductLicenseConsumersSortOrderEnum
    func GetMappingListProductLicenseConsumersSortOrderEnum(val string) (ListProductLicenseConsumersSortOrderEnum, bool)
type ListProductLicensesRequest
    func (request ListProductLicensesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListProductLicensesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListProductLicensesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListProductLicensesRequest) String() string
    func (request ListProductLicensesRequest) ValidateEnumValue() (bool, error)
type ListProductLicensesResponse
    func (response ListProductLicensesResponse) HTTPResponse() *http.Response
    func (response ListProductLicensesResponse) String() string
type ListProductLicensesSortByEnum
    func GetListProductLicensesSortByEnumValues() []ListProductLicensesSortByEnum
    func GetMappingListProductLicensesSortByEnum(val string) (ListProductLicensesSortByEnum, bool)
type ListProductLicensesSortOrderEnum
    func GetListProductLicensesSortOrderEnumValues() []ListProductLicensesSortOrderEnum
    func GetMappingListProductLicensesSortOrderEnum(val string) (ListProductLicensesSortOrderEnum, bool)
type ListTopUtilizedProductLicensesRequest
    func (request ListTopUtilizedProductLicensesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListTopUtilizedProductLicensesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListTopUtilizedProductLicensesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListTopUtilizedProductLicensesRequest) String() string
    func (request ListTopUtilizedProductLicensesRequest) ValidateEnumValue() (bool, error)
type ListTopUtilizedProductLicensesResponse
    func (response ListTopUtilizedProductLicensesResponse) HTTPResponse() *http.Response
    func (response ListTopUtilizedProductLicensesResponse) String() string
type ListTopUtilizedProductLicensesSortByEnum
    func GetListTopUtilizedProductLicensesSortByEnumValues() []ListTopUtilizedProductLicensesSortByEnum
    func GetMappingListTopUtilizedProductLicensesSortByEnum(val string) (ListTopUtilizedProductLicensesSortByEnum, bool)
type ListTopUtilizedProductLicensesSortOrderEnum
    func GetListTopUtilizedProductLicensesSortOrderEnumValues() []ListTopUtilizedProductLicensesSortOrderEnum
    func GetMappingListTopUtilizedProductLicensesSortOrderEnum(val string) (ListTopUtilizedProductLicensesSortOrderEnum, bool)
type ListTopUtilizedResourcesRequest
    func (request ListTopUtilizedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListTopUtilizedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListTopUtilizedResourcesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListTopUtilizedResourcesRequest) String() string
    func (request ListTopUtilizedResourcesRequest) ValidateEnumValue() (bool, error)
type ListTopUtilizedResourcesResourceUnitTypeEnum
    func GetListTopUtilizedResourcesResourceUnitTypeEnumValues() []ListTopUtilizedResourcesResourceUnitTypeEnum
    func GetMappingListTopUtilizedResourcesResourceUnitTypeEnum(val string) (ListTopUtilizedResourcesResourceUnitTypeEnum, bool)
type ListTopUtilizedResourcesResponse
    func (response ListTopUtilizedResourcesResponse) HTTPResponse() *http.Response
    func (response ListTopUtilizedResourcesResponse) String() string
type ListTopUtilizedResourcesSortByEnum
    func GetListTopUtilizedResourcesSortByEnumValues() []ListTopUtilizedResourcesSortByEnum
    func GetMappingListTopUtilizedResourcesSortByEnum(val string) (ListTopUtilizedResourcesSortByEnum, bool)
type ListTopUtilizedResourcesSortOrderEnum
    func GetListTopUtilizedResourcesSortOrderEnumValues() []ListTopUtilizedResourcesSortOrderEnum
    func GetMappingListTopUtilizedResourcesSortOrderEnum(val string) (ListTopUtilizedResourcesSortOrderEnum, bool)
type Product
    func (m Product) String() string
    func (m Product) ValidateEnumValue() (bool, error)
type ProductCategoryEnum
    func GetMappingProductCategoryEnum(val string) (ProductCategoryEnum, bool)
    func GetProductCategoryEnumValues() []ProductCategoryEnum
type ProductLicense
    func (m ProductLicense) String() string
    func (m ProductLicense) ValidateEnumValue() (bool, error)
type ProductLicenseCollection
    func (m ProductLicenseCollection) String() string
    func (m ProductLicenseCollection) ValidateEnumValue() (bool, error)
type ProductLicenseConsumerCollection
    func (m ProductLicenseConsumerCollection) String() string
    func (m ProductLicenseConsumerCollection) ValidateEnumValue() (bool, error)
type ProductLicenseConsumerSummary
    func (m ProductLicenseConsumerSummary) String() string
    func (m ProductLicenseConsumerSummary) ValidateEnumValue() (bool, error)
type ProductLicenseSummary
    func (m ProductLicenseSummary) String() string
    func (m ProductLicenseSummary) ValidateEnumValue() (bool, error)
type ResourceUnitEnum
    func GetMappingResourceUnitEnum(val string) (ResourceUnitEnum, bool)
    func GetResourceUnitEnumValues() []ResourceUnitEnum
type StatusEnum
    func GetMappingStatusEnum(val string) (StatusEnum, bool)
    func GetStatusEnumValues() []StatusEnum
type TopUtilizedProductLicenseCollection
    func (m TopUtilizedProductLicenseCollection) String() string
    func (m TopUtilizedProductLicenseCollection) ValidateEnumValue() (bool, error)
type TopUtilizedProductLicenseSummary
    func (m TopUtilizedProductLicenseSummary) String() string
    func (m TopUtilizedProductLicenseSummary) ValidateEnumValue() (bool, error)
type TopUtilizedResourceCollection
    func (m TopUtilizedResourceCollection) String() string
    func (m TopUtilizedResourceCollection) ValidateEnumValue() (bool, error)
type TopUtilizedResourceSummary
    func (m TopUtilizedResourceSummary) String() string
    func (m TopUtilizedResourceSummary) ValidateEnumValue() (bool, error)
type UpdateConfigurationDetails
    func (m UpdateConfigurationDetails) String() string
    func (m UpdateConfigurationDetails) ValidateEnumValue() (bool, error)
type UpdateConfigurationRequest
    func (request UpdateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateConfigurationRequest) String() string
    func (request UpdateConfigurationRequest) ValidateEnumValue() (bool, error)
type UpdateConfigurationResponse
    func (response UpdateConfigurationResponse) HTTPResponse() *http.Response
    func (response UpdateConfigurationResponse) String() string
type UpdateLicenseRecordDetails
    func (m UpdateLicenseRecordDetails) String() string
    func (m UpdateLicenseRecordDetails) ValidateEnumValue() (bool, error)
type UpdateLicenseRecordRequest
    func (request UpdateLicenseRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateLicenseRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateLicenseRecordRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateLicenseRecordRequest) String() string
    func (request UpdateLicenseRecordRequest) ValidateEnumValue() (bool, error)
type UpdateLicenseRecordResponse
    func (response UpdateLicenseRecordResponse) HTTPResponse() *http.Response
    func (response UpdateLicenseRecordResponse) String() string
type UpdateProductLicenseDetails
    func (m UpdateProductLicenseDetails) String() string
    func (m UpdateProductLicenseDetails) ValidateEnumValue() (bool, error)
type UpdateProductLicenseRequest
    func (request UpdateProductLicenseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateProductLicenseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateProductLicenseRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateProductLicenseRequest) String() string
    func (request UpdateProductLicenseRequest) ValidateEnumValue() (bool, error)
type UpdateProductLicenseResponse
    func (response UpdateProductLicenseResponse) HTTPResponse() *http.Response
    func (response UpdateProductLicenseResponse) String() string

Package files

bulk_upload_cell_info.go bulk_upload_failed_record_info.go bulk_upload_license_records_details.go bulk_upload_license_records_request_response.go bulk_upload_response.go bulk_upload_template.go bulk_upload_validation_error_info.go configuration.go create_license_record_details.go create_license_record_request_response.go create_product_license_details.go create_product_license_request_response.go delete_license_record_request_response.go delete_product_license_request_response.go get_bulk_upload_template_request_response.go get_configuration_request_response.go get_license_metric_request_response.go get_license_record_request_response.go get_product_license_request_response.go image_details.go image_response.go license_metric.go license_record.go license_record_collection.go license_record_summary.go license_unit.go licensemanager_client.go life_cycle_state.go list_license_records_request_response.go list_product_license_consumers_request_response.go list_product_licenses_request_response.go list_top_utilized_product_licenses_request_response.go list_top_utilized_resources_request_response.go product.go product_category.go product_license.go product_license_collection.go product_license_consumer_collection.go product_license_consumer_summary.go product_license_summary.go resource_unit.go status.go top_utilized_product_license_collection.go top_utilized_product_license_summary.go top_utilized_resource_collection.go top_utilized_resource_summary.go update_configuration_details.go update_configuration_request_response.go update_license_record_details.go update_license_record_request_response.go update_product_license_details.go update_product_license_request_response.go

func GetLicenseUnitEnumStringValues

func GetLicenseUnitEnumStringValues() []string

GetLicenseUnitEnumStringValues Enumerates the set of values in String for LicenseUnitEnum

func GetLifeCycleStateEnumStringValues

func GetLifeCycleStateEnumStringValues() []string

GetLifeCycleStateEnumStringValues Enumerates the set of values in String for LifeCycleStateEnum

func GetListLicenseRecordsSortByEnumStringValues

func GetListLicenseRecordsSortByEnumStringValues() []string

GetListLicenseRecordsSortByEnumStringValues Enumerates the set of values in String for ListLicenseRecordsSortByEnum

func GetListLicenseRecordsSortOrderEnumStringValues

func GetListLicenseRecordsSortOrderEnumStringValues() []string

GetListLicenseRecordsSortOrderEnumStringValues Enumerates the set of values in String for ListLicenseRecordsSortOrderEnum

func GetListProductLicenseConsumersSortByEnumStringValues

func GetListProductLicenseConsumersSortByEnumStringValues() []string

GetListProductLicenseConsumersSortByEnumStringValues Enumerates the set of values in String for ListProductLicenseConsumersSortByEnum

func GetListProductLicenseConsumersSortOrderEnumStringValues

func GetListProductLicenseConsumersSortOrderEnumStringValues() []string

GetListProductLicenseConsumersSortOrderEnumStringValues Enumerates the set of values in String for ListProductLicenseConsumersSortOrderEnum

func GetListProductLicensesSortByEnumStringValues

func GetListProductLicensesSortByEnumStringValues() []string

GetListProductLicensesSortByEnumStringValues Enumerates the set of values in String for ListProductLicensesSortByEnum

func GetListProductLicensesSortOrderEnumStringValues

func GetListProductLicensesSortOrderEnumStringValues() []string

GetListProductLicensesSortOrderEnumStringValues Enumerates the set of values in String for ListProductLicensesSortOrderEnum

func GetListTopUtilizedProductLicensesSortByEnumStringValues

func GetListTopUtilizedProductLicensesSortByEnumStringValues() []string

GetListTopUtilizedProductLicensesSortByEnumStringValues Enumerates the set of values in String for ListTopUtilizedProductLicensesSortByEnum

func GetListTopUtilizedProductLicensesSortOrderEnumStringValues

func GetListTopUtilizedProductLicensesSortOrderEnumStringValues() []string

GetListTopUtilizedProductLicensesSortOrderEnumStringValues Enumerates the set of values in String for ListTopUtilizedProductLicensesSortOrderEnum

func GetListTopUtilizedResourcesResourceUnitTypeEnumStringValues

func GetListTopUtilizedResourcesResourceUnitTypeEnumStringValues() []string

GetListTopUtilizedResourcesResourceUnitTypeEnumStringValues Enumerates the set of values in String for ListTopUtilizedResourcesResourceUnitTypeEnum

func GetListTopUtilizedResourcesSortByEnumStringValues

func GetListTopUtilizedResourcesSortByEnumStringValues() []string

GetListTopUtilizedResourcesSortByEnumStringValues Enumerates the set of values in String for ListTopUtilizedResourcesSortByEnum

func GetListTopUtilizedResourcesSortOrderEnumStringValues

func GetListTopUtilizedResourcesSortOrderEnumStringValues() []string

GetListTopUtilizedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListTopUtilizedResourcesSortOrderEnum

func GetProductCategoryEnumStringValues

func GetProductCategoryEnumStringValues() []string

GetProductCategoryEnumStringValues Enumerates the set of values in String for ProductCategoryEnum

func GetResourceUnitEnumStringValues

func GetResourceUnitEnumStringValues() []string

GetResourceUnitEnumStringValues Enumerates the set of values in String for ResourceUnitEnum

func GetStatusEnumStringValues

func GetStatusEnumStringValues() []string

GetStatusEnumStringValues Enumerates the set of values in String for StatusEnum

type BulkUploadCellInfo

BulkUploadCellInfo Error information corresponding to each column that was required but was invalid.

type BulkUploadCellInfo struct {

    // Column index as in the given bulk upload file.
    ColumnIndex *string `mandatory:"true" json:"columnIndex"`

    // Error information corresponding to a particular column.
    ErrorInfo *string `mandatory:"true" json:"errorInfo"`
}

func (BulkUploadCellInfo) String

func (m BulkUploadCellInfo) String() string

func (BulkUploadCellInfo) ValidateEnumValue

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

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

type BulkUploadFailedRecordInfo

BulkUploadFailedRecordInfo Error information for a valid license record that could not be uploaded.

type BulkUploadFailedRecordInfo struct {

    // Refers to the license record number as provided in the bulk upload file.
    RowNumber *int `mandatory:"true" json:"rowNumber"`

    // Product name of the failed row.
    ProductName *string `mandatory:"true" json:"productName"`

    // Failed license record error information.
    Error *string `mandatory:"true" json:"error"`
}

func (BulkUploadFailedRecordInfo) String

func (m BulkUploadFailedRecordInfo) String() string

func (BulkUploadFailedRecordInfo) ValidateEnumValue

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

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

type BulkUploadLicenseRecordsDetails

BulkUploadLicenseRecordsDetails Details required for bulk uploading of license records.

type BulkUploadLicenseRecordsDetails struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where license records are created.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Name of the file that is being uploaded.
    FileName *string `mandatory:"true" json:"fileName"`

    // The file to be uploaded.
    FileContent *string `mandatory:"true" json:"fileContent"`
}

func (BulkUploadLicenseRecordsDetails) String

func (m BulkUploadLicenseRecordsDetails) String() string

func (BulkUploadLicenseRecordsDetails) ValidateEnumValue

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

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

type BulkUploadLicenseRecordsRequest

BulkUploadLicenseRecordsRequest wrapper for the BulkUploadLicenseRecords operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/BulkUploadLicenseRecords.go.html to see an example of how to use BulkUploadLicenseRecordsRequest.

type BulkUploadLicenseRecordsRequest struct {

    // Details required for the bulk upload of product licenses and license records.
    BulkUploadLicenseRecordsDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (BulkUploadLicenseRecordsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (BulkUploadLicenseRecordsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (BulkUploadLicenseRecordsRequest) RetryPolicy

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

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

func (BulkUploadLicenseRecordsRequest) String

func (request BulkUploadLicenseRecordsRequest) String() string

func (BulkUploadLicenseRecordsRequest) ValidateEnumValue

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

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

type BulkUploadLicenseRecordsResponse

BulkUploadLicenseRecordsResponse wrapper for the BulkUploadLicenseRecords operation

type BulkUploadLicenseRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (BulkUploadLicenseRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (BulkUploadLicenseRecordsResponse) String

func (response BulkUploadLicenseRecordsResponse) String() string

type BulkUploadResponse

BulkUploadResponse The bulk upload response.

type BulkUploadResponse struct {

    // The number of license records which were supported.
    TotalSupportedRecords *int `mandatory:"true" json:"totalSupportedRecords"`

    // The number of supported license records that were uploaded successfully.
    TotalSupportedRecordsSaved *int `mandatory:"true" json:"totalSupportedRecordsSaved"`

    // The number of supported license records that were valid but not uploaded since they were duplicates.
    TotalSupportedDuplicateRecords *int `mandatory:"true" json:"totalSupportedDuplicateRecords"`

    // The number of supported license records that were valid but failed with errors during upload.
    TotalSupportedFailedLicenseRecords *int `mandatory:"true" json:"totalSupportedFailedLicenseRecords"`

    // The number of supported license records that could not be uploaded since they were invalid.
    TotalSupportedInvalidRecords *int `mandatory:"true" json:"totalSupportedInvalidRecords"`

    // Detailed error information corresponding to each supported but invalid row for the uploaded file.
    ValidationErrorInfo []BulkUploadValidationErrorInfo `mandatory:"true" json:"validationErrorInfo"`

    // Error information corresponding to the supported records which are valid but could not be created.
    FailedLicenseRecordInfo []BulkUploadFailedRecordInfo `mandatory:"true" json:"failedLicenseRecordInfo"`

    // Response message for bulk upload.
    Message *string `mandatory:"true" json:"message"`
}

func (BulkUploadResponse) String

func (m BulkUploadResponse) String() string

func (BulkUploadResponse) ValidateEnumValue

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

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

type BulkUploadTemplate

BulkUploadTemplate The bulk upload template file.

type BulkUploadTemplate struct {

    // The bulk upload template.
    Template *string `mandatory:"true" json:"template"`
}

func (BulkUploadTemplate) String

func (m BulkUploadTemplate) String() string

func (BulkUploadTemplate) ValidateEnumValue

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

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

type BulkUploadValidationErrorInfo

BulkUploadValidationErrorInfo Detailed error information corresponding to each column for a particular supported license record that could not be uploaded.

type BulkUploadValidationErrorInfo struct {

    // Refers to the license record number as provided in the bulk upload file.
    RowNumber *int `mandatory:"true" json:"rowNumber"`

    // Product name of invalid row.
    ProductName *string `mandatory:"true" json:"productName"`

    // Error information corresponding to each column.
    RowError []BulkUploadCellInfo `mandatory:"true" json:"rowError"`
}

func (BulkUploadValidationErrorInfo) String

func (m BulkUploadValidationErrorInfo) String() string

func (BulkUploadValidationErrorInfo) ValidateEnumValue

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

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

type Configuration

Configuration Details of the compartment-specific configuration.

type Configuration struct {

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

    // The list of associated configuration email IDs.
    EmailIds []string `mandatory:"true" json:"emailIds"`

    // The time the configuration was created. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the configuration was updated. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (Configuration) String

func (m Configuration) String() string

func (Configuration) ValidateEnumValue

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

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

type CreateLicenseRecordDetails

CreateLicenseRecordDetails The details about the new license record.

type CreateLicenseRecordDetails struct {

    // License record name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Specifies if the license record term is perpertual.
    IsPerpetual *bool `mandatory:"true" json:"isPerpetual"`

    // Specifies if the license count is unlimited.
    IsUnlimited *bool `mandatory:"true" json:"isUnlimited"`

    // The license record end date in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // date format.
    // Example: `2018-09-12`
    ExpirationDate *common.SDKTime `mandatory:"false" json:"expirationDate"`

    // The license record support end date in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // date format.
    // Example: `2018-09-12`
    SupportEndDate *common.SDKTime `mandatory:"false" json:"supportEndDate"`

    // The number of license units added by a user in a license record.
    // Default 1
    LicenseCount *int `mandatory:"false" json:"licenseCount"`

    // The license record product ID.
    ProductId *string `mandatory:"false" json:"productId"`

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

func (m CreateLicenseRecordDetails) String() string

func (CreateLicenseRecordDetails) ValidateEnumValue

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

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

type CreateLicenseRecordRequest

CreateLicenseRecordRequest wrapper for the CreateLicenseRecord operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/CreateLicenseRecord.go.html to see an example of how to use CreateLicenseRecordRequest.

type CreateLicenseRecordRequest struct {

    // Details needed to create a new license record.
    CreateLicenseRecordDetails `contributesTo:"body"`

    // Unique product license identifier.
    ProductLicenseId *string `mandatory:"true" contributesTo:"query" name:"productLicenseId"`

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

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
    // risk of 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"`

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

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

BinaryRequestBody implements the OCIRequest interface

func (CreateLicenseRecordRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateLicenseRecordRequest) RetryPolicy

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

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

func (CreateLicenseRecordRequest) String

func (request CreateLicenseRecordRequest) String() string

func (CreateLicenseRecordRequest) ValidateEnumValue

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

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

type CreateLicenseRecordResponse

CreateLicenseRecordResponse wrapper for the CreateLicenseRecord operation

type CreateLicenseRecordResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

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

func (CreateLicenseRecordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateLicenseRecordResponse) String

func (response CreateLicenseRecordResponse) String() string

type CreateProductLicenseDetails

CreateProductLicenseDetails Details for creating a new product license.

type CreateProductLicenseDetails struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where product licenses are created.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Specifies if the product license vendor is Oracle or a third party.
    IsVendorOracle *bool `mandatory:"true" json:"isVendorOracle"`

    // Name of the product license.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The product license unit.
    LicenseUnit LicenseUnitEnum `mandatory:"true" json:"licenseUnit"`

    // The product license vendor name, for example: Microsoft, RHEL, and so on.
    VendorName *string `mandatory:"false" json:"vendorName"`

    // The image details associated with the product license.
    Images []ImageDetails `mandatory:"false" json:"images"`

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

func (m CreateProductLicenseDetails) String() string

func (CreateProductLicenseDetails) ValidateEnumValue

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

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

type CreateProductLicenseRequest

CreateProductLicenseRequest wrapper for the CreateProductLicense operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/CreateProductLicense.go.html to see an example of how to use CreateProductLicenseRequest.

type CreateProductLicenseRequest struct {

    // Details for creating a new product license.
    CreateProductLicenseDetails `contributesTo:"body"`

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

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without
    // risk of 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"`

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

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

BinaryRequestBody implements the OCIRequest interface

func (CreateProductLicenseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateProductLicenseRequest) RetryPolicy

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

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

func (CreateProductLicenseRequest) String

func (request CreateProductLicenseRequest) String() string

func (CreateProductLicenseRequest) ValidateEnumValue

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

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

type CreateProductLicenseResponse

CreateProductLicenseResponse wrapper for the CreateProductLicense operation

type CreateProductLicenseResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

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

func (CreateProductLicenseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateProductLicenseResponse) String

func (response CreateProductLicenseResponse) String() string

type DeleteLicenseRecordRequest

DeleteLicenseRecordRequest wrapper for the DeleteLicenseRecord operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/DeleteLicenseRecord.go.html to see an example of how to use DeleteLicenseRecordRequest.

type DeleteLicenseRecordRequest struct {

    // Unique license record identifier.
    LicenseRecordId *string `mandatory:"true" contributesTo:"path" name:"licenseRecordId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (DeleteLicenseRecordRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteLicenseRecordRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteLicenseRecordRequest) RetryPolicy

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

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

func (DeleteLicenseRecordRequest) String

func (request DeleteLicenseRecordRequest) String() string

func (DeleteLicenseRecordRequest) ValidateEnumValue

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

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

type DeleteLicenseRecordResponse

DeleteLicenseRecordResponse wrapper for the DeleteLicenseRecord operation

type DeleteLicenseRecordResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (DeleteLicenseRecordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteLicenseRecordResponse) String

func (response DeleteLicenseRecordResponse) String() string

type DeleteProductLicenseRequest

DeleteProductLicenseRequest wrapper for the DeleteProductLicense operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/DeleteProductLicense.go.html to see an example of how to use DeleteProductLicenseRequest.

type DeleteProductLicenseRequest struct {

    // Unique product license identifier.
    ProductLicenseId *string `mandatory:"true" contributesTo:"path" name:"productLicenseId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (DeleteProductLicenseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteProductLicenseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteProductLicenseRequest) RetryPolicy

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

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

func (DeleteProductLicenseRequest) String

func (request DeleteProductLicenseRequest) String() string

func (DeleteProductLicenseRequest) ValidateEnumValue

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

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

type DeleteProductLicenseResponse

DeleteProductLicenseResponse wrapper for the DeleteProductLicense operation

type DeleteProductLicenseResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (DeleteProductLicenseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteProductLicenseResponse) String

func (response DeleteProductLicenseResponse) String() string

type GetBulkUploadTemplateRequest

GetBulkUploadTemplateRequest wrapper for the GetBulkUploadTemplate operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/GetBulkUploadTemplate.go.html to see an example of how to use GetBulkUploadTemplateRequest.

type GetBulkUploadTemplateRequest struct {

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (GetBulkUploadTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBulkUploadTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBulkUploadTemplateRequest) RetryPolicy

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

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

func (GetBulkUploadTemplateRequest) String

func (request GetBulkUploadTemplateRequest) String() string

func (GetBulkUploadTemplateRequest) ValidateEnumValue

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

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

type GetBulkUploadTemplateResponse

GetBulkUploadTemplateResponse wrapper for the GetBulkUploadTemplate operation

type GetBulkUploadTemplateResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BulkUploadTemplate instance
    BulkUploadTemplate `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 (GetBulkUploadTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBulkUploadTemplateResponse) String

func (response GetBulkUploadTemplateResponse) String() string

type GetConfigurationRequest

GetConfigurationRequest wrapper for the GetConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/GetConfiguration.go.html to see an example of how to use GetConfigurationRequest.

type GetConfigurationRequest struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (GetConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetConfigurationRequest) RetryPolicy

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

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

func (GetConfigurationRequest) String

func (request GetConfigurationRequest) String() string

func (GetConfigurationRequest) ValidateEnumValue

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

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

type GetConfigurationResponse

GetConfigurationResponse wrapper for the GetConfiguration operation

type GetConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetConfigurationResponse) String

func (response GetConfigurationResponse) String() string

type GetLicenseMetricRequest

GetLicenseMetricRequest wrapper for the GetLicenseMetric operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/GetLicenseMetric.go.html to see an example of how to use GetLicenseMetricRequest.

type GetLicenseMetricRequest struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // Indicates if the given compartment is the root compartment.
    IsCompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isCompartmentIdInSubtree"`

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

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

BinaryRequestBody implements the OCIRequest interface

func (GetLicenseMetricRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetLicenseMetricRequest) RetryPolicy

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

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

func (GetLicenseMetricRequest) String

func (request GetLicenseMetricRequest) String() string

func (GetLicenseMetricRequest) ValidateEnumValue

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

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

type GetLicenseMetricResponse

GetLicenseMetricResponse wrapper for the GetLicenseMetric operation

type GetLicenseMetricResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The LicenseMetric instance
    LicenseMetric `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 (GetLicenseMetricResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLicenseMetricResponse) String

func (response GetLicenseMetricResponse) String() string

type GetLicenseRecordRequest

GetLicenseRecordRequest wrapper for the GetLicenseRecord operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/GetLicenseRecord.go.html to see an example of how to use GetLicenseRecordRequest.

type GetLicenseRecordRequest struct {

    // Unique license record identifier.
    LicenseRecordId *string `mandatory:"true" contributesTo:"path" name:"licenseRecordId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (GetLicenseRecordRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetLicenseRecordRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetLicenseRecordRequest) RetryPolicy

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

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

func (GetLicenseRecordRequest) String

func (request GetLicenseRecordRequest) String() string

func (GetLicenseRecordRequest) ValidateEnumValue

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

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

type GetLicenseRecordResponse

GetLicenseRecordResponse wrapper for the GetLicenseRecord operation

type GetLicenseRecordResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The LicenseRecord instance
    LicenseRecord `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 (GetLicenseRecordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLicenseRecordResponse) String

func (response GetLicenseRecordResponse) String() string

type GetProductLicenseRequest

GetProductLicenseRequest wrapper for the GetProductLicense operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/GetProductLicense.go.html to see an example of how to use GetProductLicenseRequest.

type GetProductLicenseRequest struct {

    // Unique product license identifier.
    ProductLicenseId *string `mandatory:"true" contributesTo:"path" name:"productLicenseId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (GetProductLicenseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetProductLicenseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetProductLicenseRequest) RetryPolicy

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

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

func (GetProductLicenseRequest) String

func (request GetProductLicenseRequest) String() string

func (GetProductLicenseRequest) ValidateEnumValue

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

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

type GetProductLicenseResponse

GetProductLicenseResponse wrapper for the GetProductLicense operation

type GetProductLicenseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ProductLicense instance
    ProductLicense `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 (GetProductLicenseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetProductLicenseResponse) String

func (response GetProductLicenseResponse) String() string

type ImageDetails

ImageDetails Image details associated with the product license.

type ImageDetails struct {

    // Marketplace image listing ID.
    ListingId *string `mandatory:"true" json:"listingId"`

    // Image package version.
    PackageVersion *string `mandatory:"true" json:"packageVersion"`
}

func (ImageDetails) String

func (m ImageDetails) String() string

func (ImageDetails) ValidateEnumValue

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

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

type ImageResponse

ImageResponse The collection of image details for the product license.

type ImageResponse struct {

    // The image ID associated with the product license.
    Id *string `mandatory:"false" json:"id"`

    // The listing name associated with the product license.
    ListingName *string `mandatory:"false" json:"listingName"`

    // The image publisher.
    Publisher *string `mandatory:"false" json:"publisher"`

    // The image listing ID.
    ListingId *string `mandatory:"false" json:"listingId"`

    // The image package version.
    PackageVersion *string `mandatory:"false" json:"packageVersion"`
}

func (ImageResponse) String

func (m ImageResponse) String() string

func (ImageResponse) ValidateEnumValue

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

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

type LicenseManagerClient

LicenseManagerClient a client for LicenseManager

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

func NewLicenseManagerClientWithConfigurationProvider

func NewLicenseManagerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LicenseManagerClient, err error)

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

func NewLicenseManagerClientWithOboToken

func NewLicenseManagerClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LicenseManagerClient, err error)

NewLicenseManagerClientWithOboToken Creates a new default LicenseManager 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 (LicenseManagerClient) BulkUploadLicenseRecords

func (client LicenseManagerClient) BulkUploadLicenseRecords(ctx context.Context, request BulkUploadLicenseRecordsRequest) (response BulkUploadLicenseRecordsResponse, err error)

BulkUploadLicenseRecords Bulk upload the product licenses and license records for a given compartment.

# See also

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

func (*LicenseManagerClient) ConfigurationProvider

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

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

func (LicenseManagerClient) CreateLicenseRecord

func (client LicenseManagerClient) CreateLicenseRecord(ctx context.Context, request CreateLicenseRecordRequest) (response CreateLicenseRecordResponse, err error)

CreateLicenseRecord Creates a new license record for the given product license ID.

# See also

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

func (LicenseManagerClient) CreateProductLicense

func (client LicenseManagerClient) CreateProductLicense(ctx context.Context, request CreateProductLicenseRequest) (response CreateProductLicenseResponse, err error)

CreateProductLicense Creates a new product license.

# See also

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

func (LicenseManagerClient) DeleteLicenseRecord

func (client LicenseManagerClient) DeleteLicenseRecord(ctx context.Context, request DeleteLicenseRecordRequest) (response DeleteLicenseRecordResponse, err error)

DeleteLicenseRecord Removes a license record.

# See also

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

func (LicenseManagerClient) DeleteProductLicense

func (client LicenseManagerClient) DeleteProductLicense(ctx context.Context, request DeleteProductLicenseRequest) (response DeleteProductLicenseResponse, err error)

DeleteProductLicense Removes a product license.

# See also

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

func (LicenseManagerClient) GetBulkUploadTemplate

func (client LicenseManagerClient) GetBulkUploadTemplate(ctx context.Context, request GetBulkUploadTemplateRequest) (response GetBulkUploadTemplateResponse, err error)

GetBulkUploadTemplate Provides the bulk upload file template.

# See also

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

func (LicenseManagerClient) GetConfiguration

func (client LicenseManagerClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)

GetConfiguration Retrieves configuration for a compartment.

# See also

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

func (LicenseManagerClient) GetLicenseMetric

func (client LicenseManagerClient) GetLicenseMetric(ctx context.Context, request GetLicenseMetricRequest) (response GetLicenseMetricResponse, err error)

GetLicenseMetric Retrieves the license metrics for a given compartment.

# See also

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

func (LicenseManagerClient) GetLicenseRecord

func (client LicenseManagerClient) GetLicenseRecord(ctx context.Context, request GetLicenseRecordRequest) (response GetLicenseRecordResponse, err error)

GetLicenseRecord Retrieves license record details by the license record ID in a given compartment.

# See also

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

func (LicenseManagerClient) GetProductLicense

func (client LicenseManagerClient) GetProductLicense(ctx context.Context, request GetProductLicenseRequest) (response GetProductLicenseResponse, err error)

GetProductLicense Retrieves product license details by product license ID in a given compartment.

# See also

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

func (LicenseManagerClient) ListLicenseRecords

func (client LicenseManagerClient) ListLicenseRecords(ctx context.Context, request ListLicenseRecordsRequest) (response ListLicenseRecordsResponse, err error)

ListLicenseRecords Retrieves all license records for a given product license ID.

# See also

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

func (LicenseManagerClient) ListProductLicenseConsumers

func (client LicenseManagerClient) ListProductLicenseConsumers(ctx context.Context, request ListProductLicenseConsumersRequest) (response ListProductLicenseConsumersResponse, err error)

ListProductLicenseConsumers Retrieves the product license consumers for a particular product license ID.

# See also

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

func (LicenseManagerClient) ListProductLicenses

func (client LicenseManagerClient) ListProductLicenses(ctx context.Context, request ListProductLicensesRequest) (response ListProductLicensesResponse, err error)

ListProductLicenses Retrieves all the product licenses from a given compartment.

# See also

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

func (LicenseManagerClient) ListTopUtilizedProductLicenses

func (client LicenseManagerClient) ListTopUtilizedProductLicenses(ctx context.Context, request ListTopUtilizedProductLicensesRequest) (response ListTopUtilizedProductLicensesResponse, err error)

ListTopUtilizedProductLicenses Retrieves the top utilized product licenses for a given compartment.

# See also

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

func (LicenseManagerClient) ListTopUtilizedResources

func (client LicenseManagerClient) ListTopUtilizedResources(ctx context.Context, request ListTopUtilizedResourcesRequest) (response ListTopUtilizedResourcesResponse, err error)

ListTopUtilizedResources Retrieves the top utilized resources for a given compartment.

# See also

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

func (*LicenseManagerClient) SetRegion

func (client *LicenseManagerClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (LicenseManagerClient) UpdateConfiguration

func (client LicenseManagerClient) UpdateConfiguration(ctx context.Context, request UpdateConfigurationRequest) (response UpdateConfigurationResponse, err error)

UpdateConfiguration Updates the configuration for the compartment.

# See also

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

func (LicenseManagerClient) UpdateLicenseRecord

func (client LicenseManagerClient) UpdateLicenseRecord(ctx context.Context, request UpdateLicenseRecordRequest) (response UpdateLicenseRecordResponse, err error)

UpdateLicenseRecord Updates license record entity details.

# See also

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

func (LicenseManagerClient) UpdateProductLicense

func (client LicenseManagerClient) UpdateProductLicense(ctx context.Context, request UpdateProductLicenseRequest) (response UpdateProductLicenseResponse, err error)

UpdateProductLicense Updates the list of images for a product license.

# See also

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

type LicenseMetric

LicenseMetric Overview of product license and resources usage.

type LicenseMetric struct {

    // Total number of product licenses in a particular compartment.
    TotalProductLicenseCount *int `mandatory:"true" json:"totalProductLicenseCount"`

    // Total number of BYOL instances in a particular compartment.
    TotalByolInstanceCount *int `mandatory:"true" json:"totalByolInstanceCount"`

    // Total number of License Included (LI) instances in a particular compartment.
    TotalLicenseIncludedInstanceCount *int `mandatory:"true" json:"totalLicenseIncludedInstanceCount"`

    // Total number of license records that will expire within 90 days in a particular compartment.
    LicenseRecordExpiringSoonCount *int `mandatory:"true" json:"licenseRecordExpiringSoonCount"`
}

func (LicenseMetric) String

func (m LicenseMetric) String() string

func (LicenseMetric) ValidateEnumValue

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

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

type LicenseRecord

LicenseRecord License record summary.

type LicenseRecord struct {

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

    // The license record display name. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Specifies if the license count is unlimited.
    IsUnlimited *bool `mandatory:"true" json:"isUnlimited"`

    // Specifies if the license record term is perpertual.
    IsPerpetual *bool `mandatory:"true" json:"isPerpetual"`

    // The current license record state.
    LifecycleState LifeCycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The product license OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with which the license record is associated.
    ProductLicenseId *string `mandatory:"false" json:"productLicenseId"`

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The license record product ID.
    ProductId *string `mandatory:"false" json:"productId"`

    // The number of license units added by the user for the given license record.
    // Default 1
    LicenseCount *int `mandatory:"false" json:"licenseCount"`

    // The license record end date in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // date format.
    // Example: `2018-09-12`
    ExpirationDate *common.SDKTime `mandatory:"false" json:"expirationDate"`

    // The license record support end date in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // date format.
    // Example: `2018-09-12`
    SupportEndDate *common.SDKTime `mandatory:"false" json:"supportEndDate"`

    // The time the license record was created. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the license record was updated. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The product license unit.
    LicenseUnit LicenseUnitEnum `mandatory:"false" json:"licenseUnit,omitempty"`

    // The product license name with which the license record is associated.
    ProductLicense *string `mandatory:"false" json:"productLicense"`

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

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

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

func (LicenseRecord) String

func (m LicenseRecord) String() string

func (LicenseRecord) ValidateEnumValue

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

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

type LicenseRecordCollection

LicenseRecordCollection The license record summary collection.

type LicenseRecordCollection struct {

    // The license record summary collection.
    Items []LicenseRecordSummary `mandatory:"true" json:"items"`
}

func (LicenseRecordCollection) String

func (m LicenseRecordCollection) String() string

func (LicenseRecordCollection) ValidateEnumValue

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

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

type LicenseRecordSummary

LicenseRecordSummary The license record summary.

type LicenseRecordSummary struct {

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

    // License record display name. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Specifies if the license count is unlimited.
    IsUnlimited *bool `mandatory:"true" json:"isUnlimited"`

    // Specifies if the license record term is perpertual.
    IsPerpetual *bool `mandatory:"true" json:"isPerpetual"`

    // The product license OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with which the license record is associated.
    ProductLicenseId *string `mandatory:"false" json:"productLicenseId"`

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The license record product ID.
    ProductId *string `mandatory:"false" json:"productId"`

    // The number of license record units added by the user for the given license record.
    // Default 1
    LicenseCount *int `mandatory:"false" json:"licenseCount"`

    // The license record end date in RFC 3339 (https://tools.ietf.org/html/rfc3339) format.
    // date format.
    // Example: `2018-09-12`
    ExpirationDate *common.SDKTime `mandatory:"false" json:"expirationDate"`

    // The license record support end date in RFC 3339 (https://tools.ietf.org/html/rfc3339) format.
    // date format.
    // Example: `2018-09-12`
    SupportEndDate *common.SDKTime `mandatory:"false" json:"supportEndDate"`

    // The time the license record was created. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the license record was updated. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The current license record state.
    LifecycleState LifeCycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The product license unit.
    LicenseUnit LicenseUnitEnum `mandatory:"false" json:"licenseUnit,omitempty"`

    // The product license name with which the license record is associated.
    ProductLicense *string `mandatory:"false" json:"productLicense"`

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

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

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

func (LicenseRecordSummary) String

func (m LicenseRecordSummary) String() string

func (LicenseRecordSummary) ValidateEnumValue

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

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

type LicenseUnitEnum

LicenseUnitEnum Enum with underlying type: string

type LicenseUnitEnum string

Set of constants representing the allowable values for LicenseUnitEnum

const (
    LicenseUnitOcpu          LicenseUnitEnum = "OCPU"
    LicenseUnitNamedUserPlus LicenseUnitEnum = "NAMED_USER_PLUS"
    LicenseUnitProcessors    LicenseUnitEnum = "PROCESSORS"
)

func GetLicenseUnitEnumValues

func GetLicenseUnitEnumValues() []LicenseUnitEnum

GetLicenseUnitEnumValues Enumerates the set of values for LicenseUnitEnum

func GetMappingLicenseUnitEnum

func GetMappingLicenseUnitEnum(val string) (LicenseUnitEnum, bool)

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

type LifeCycleStateEnum

LifeCycleStateEnum Enum with underlying type: string

type LifeCycleStateEnum string

Set of constants representing the allowable values for LifeCycleStateEnum

const (
    LifeCycleStateActive   LifeCycleStateEnum = "ACTIVE"
    LifeCycleStateInactive LifeCycleStateEnum = "INACTIVE"
    LifeCycleStateDeleted  LifeCycleStateEnum = "DELETED"
)

func GetLifeCycleStateEnumValues

func GetLifeCycleStateEnumValues() []LifeCycleStateEnum

GetLifeCycleStateEnumValues Enumerates the set of values for LifeCycleStateEnum

func GetMappingLifeCycleStateEnum

func GetMappingLifeCycleStateEnum(val string) (LifeCycleStateEnum, bool)

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

type ListLicenseRecordsRequest

ListLicenseRecordsRequest wrapper for the ListLicenseRecords operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/ListLicenseRecords.go.html to see an example of how to use ListLicenseRecordsRequest.

type ListLicenseRecordsRequest struct {

    // Unique product license identifier.
    ProductLicenseId *string `mandatory:"true" contributesTo:"query" name:"productLicenseId"`

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

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

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

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

    // Specifies the attribute with which to sort the rules.
    // Default: `expirationDate`
    // * **expirationDate:** Sorts by expiration date of the license record.
    SortBy ListLicenseRecordsSortByEnum `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 (ListLicenseRecordsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListLicenseRecordsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListLicenseRecordsRequest) RetryPolicy

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

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

func (ListLicenseRecordsRequest) String

func (request ListLicenseRecordsRequest) String() string

func (ListLicenseRecordsRequest) ValidateEnumValue

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

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

type ListLicenseRecordsResponse

ListLicenseRecordsResponse wrapper for the ListLicenseRecords operation

type ListLicenseRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of LicenseRecordCollection instances
    LicenseRecordCollection `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 (ListLicenseRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListLicenseRecordsResponse) String

func (response ListLicenseRecordsResponse) String() string

type ListLicenseRecordsSortByEnum

ListLicenseRecordsSortByEnum Enum with underlying type: string

type ListLicenseRecordsSortByEnum string

Set of constants representing the allowable values for ListLicenseRecordsSortByEnum

const (
    ListLicenseRecordsSortByExpirationdate ListLicenseRecordsSortByEnum = "expirationDate"
)

func GetListLicenseRecordsSortByEnumValues

func GetListLicenseRecordsSortByEnumValues() []ListLicenseRecordsSortByEnum

GetListLicenseRecordsSortByEnumValues Enumerates the set of values for ListLicenseRecordsSortByEnum

func GetMappingListLicenseRecordsSortByEnum

func GetMappingListLicenseRecordsSortByEnum(val string) (ListLicenseRecordsSortByEnum, bool)

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

type ListLicenseRecordsSortOrderEnum

ListLicenseRecordsSortOrderEnum Enum with underlying type: string

type ListLicenseRecordsSortOrderEnum string

Set of constants representing the allowable values for ListLicenseRecordsSortOrderEnum

const (
    ListLicenseRecordsSortOrderAsc  ListLicenseRecordsSortOrderEnum = "ASC"
    ListLicenseRecordsSortOrderDesc ListLicenseRecordsSortOrderEnum = "DESC"
)

func GetListLicenseRecordsSortOrderEnumValues

func GetListLicenseRecordsSortOrderEnumValues() []ListLicenseRecordsSortOrderEnum

GetListLicenseRecordsSortOrderEnumValues Enumerates the set of values for ListLicenseRecordsSortOrderEnum

func GetMappingListLicenseRecordsSortOrderEnum

func GetMappingListLicenseRecordsSortOrderEnum(val string) (ListLicenseRecordsSortOrderEnum, bool)

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

type ListProductLicenseConsumersRequest

ListProductLicenseConsumersRequest wrapper for the ListProductLicenseConsumers operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/ListProductLicenseConsumers.go.html to see an example of how to use ListProductLicenseConsumersRequest.

type ListProductLicenseConsumersRequest struct {

    // Unique product license identifier.
    ProductLicenseId *string `mandatory:"true" contributesTo:"query" name:"productLicenseId"`

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

    // Indicates if the given compartment is the root compartment.
    IsCompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isCompartmentIdInSubtree"`

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

    // Specifies the attribute with which to sort the rules.
    // Default: `licenseUnitsRequired`
    // * **licenseUnitsRequired:** Sorts by licenseUnitsRequired of the Resource.
    SortBy ListProductLicenseConsumersSortByEnum `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 (ListProductLicenseConsumersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListProductLicenseConsumersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListProductLicenseConsumersRequest) RetryPolicy

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

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

func (ListProductLicenseConsumersRequest) String

func (request ListProductLicenseConsumersRequest) String() string

func (ListProductLicenseConsumersRequest) ValidateEnumValue

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

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

type ListProductLicenseConsumersResponse

ListProductLicenseConsumersResponse wrapper for the ListProductLicenseConsumers operation

type ListProductLicenseConsumersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ProductLicenseConsumerCollection instances
    ProductLicenseConsumerCollection `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 (ListProductLicenseConsumersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProductLicenseConsumersResponse) String

func (response ListProductLicenseConsumersResponse) String() string

type ListProductLicenseConsumersSortByEnum

ListProductLicenseConsumersSortByEnum Enum with underlying type: string

type ListProductLicenseConsumersSortByEnum string

Set of constants representing the allowable values for ListProductLicenseConsumersSortByEnum

const (
    ListProductLicenseConsumersSortByLicenseunitsrequired ListProductLicenseConsumersSortByEnum = "licenseUnitsRequired"
)

func GetListProductLicenseConsumersSortByEnumValues

func GetListProductLicenseConsumersSortByEnumValues() []ListProductLicenseConsumersSortByEnum

GetListProductLicenseConsumersSortByEnumValues Enumerates the set of values for ListProductLicenseConsumersSortByEnum

func GetMappingListProductLicenseConsumersSortByEnum

func GetMappingListProductLicenseConsumersSortByEnum(val string) (ListProductLicenseConsumersSortByEnum, bool)

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

type ListProductLicenseConsumersSortOrderEnum

ListProductLicenseConsumersSortOrderEnum Enum with underlying type: string

type ListProductLicenseConsumersSortOrderEnum string

Set of constants representing the allowable values for ListProductLicenseConsumersSortOrderEnum

const (
    ListProductLicenseConsumersSortOrderAsc  ListProductLicenseConsumersSortOrderEnum = "ASC"
    ListProductLicenseConsumersSortOrderDesc ListProductLicenseConsumersSortOrderEnum = "DESC"
)

func GetListProductLicenseConsumersSortOrderEnumValues

func GetListProductLicenseConsumersSortOrderEnumValues() []ListProductLicenseConsumersSortOrderEnum

GetListProductLicenseConsumersSortOrderEnumValues Enumerates the set of values for ListProductLicenseConsumersSortOrderEnum

func GetMappingListProductLicenseConsumersSortOrderEnum

func GetMappingListProductLicenseConsumersSortOrderEnum(val string) (ListProductLicenseConsumersSortOrderEnum, bool)

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

type ListProductLicensesRequest

ListProductLicensesRequest wrapper for the ListProductLicenses operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/ListProductLicenses.go.html to see an example of how to use ListProductLicensesRequest.

type ListProductLicensesRequest struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

    // Indicates if the given compartment is the root compartment.
    IsCompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isCompartmentIdInSubtree"`

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

    // Specifies the attribute with which to sort the rules.
    // Default: `totalLicenseUnitsConsumed`
    // * **totalLicenseUnitsConsumed:** Sorts by totalLicenseUnitsConsumed of ProductLicense.
    SortBy ListProductLicensesSortByEnum `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 (ListProductLicensesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListProductLicensesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListProductLicensesRequest) RetryPolicy

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

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

func (ListProductLicensesRequest) String

func (request ListProductLicensesRequest) String() string

func (ListProductLicensesRequest) ValidateEnumValue

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

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

type ListProductLicensesResponse

ListProductLicensesResponse wrapper for the ListProductLicenses operation

type ListProductLicensesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ProductLicenseCollection instances
    ProductLicenseCollection `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 (ListProductLicensesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProductLicensesResponse) String

func (response ListProductLicensesResponse) String() string

type ListProductLicensesSortByEnum

ListProductLicensesSortByEnum Enum with underlying type: string

type ListProductLicensesSortByEnum string

Set of constants representing the allowable values for ListProductLicensesSortByEnum

const (
    ListProductLicensesSortByTotallicenseunitsconsumed ListProductLicensesSortByEnum = "totalLicenseUnitsConsumed"
)

func GetListProductLicensesSortByEnumValues

func GetListProductLicensesSortByEnumValues() []ListProductLicensesSortByEnum

GetListProductLicensesSortByEnumValues Enumerates the set of values for ListProductLicensesSortByEnum

func GetMappingListProductLicensesSortByEnum

func GetMappingListProductLicensesSortByEnum(val string) (ListProductLicensesSortByEnum, bool)

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

type ListProductLicensesSortOrderEnum

ListProductLicensesSortOrderEnum Enum with underlying type: string

type ListProductLicensesSortOrderEnum string

Set of constants representing the allowable values for ListProductLicensesSortOrderEnum

const (
    ListProductLicensesSortOrderAsc  ListProductLicensesSortOrderEnum = "ASC"
    ListProductLicensesSortOrderDesc ListProductLicensesSortOrderEnum = "DESC"
)

func GetListProductLicensesSortOrderEnumValues

func GetListProductLicensesSortOrderEnumValues() []ListProductLicensesSortOrderEnum

GetListProductLicensesSortOrderEnumValues Enumerates the set of values for ListProductLicensesSortOrderEnum

func GetMappingListProductLicensesSortOrderEnum

func GetMappingListProductLicensesSortOrderEnum(val string) (ListProductLicensesSortOrderEnum, bool)

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

type ListTopUtilizedProductLicensesRequest

ListTopUtilizedProductLicensesRequest wrapper for the ListTopUtilizedProductLicenses operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/ListTopUtilizedProductLicenses.go.html to see an example of how to use ListTopUtilizedProductLicensesRequest.

type ListTopUtilizedProductLicensesRequest struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

    // Indicates if the given compartment is the root compartment.
    IsCompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isCompartmentIdInSubtree"`

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

    // Specifies the attribute with which to sort the rules.
    // Default: `totalLicenseUnitsConsumed`
    // * **totalLicenseUnitsConsumed:** Sorts by totalLicenseUnitsConsumed of ProductLicense.
    SortBy ListTopUtilizedProductLicensesSortByEnum `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 (ListTopUtilizedProductLicensesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTopUtilizedProductLicensesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTopUtilizedProductLicensesRequest) RetryPolicy

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

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

func (ListTopUtilizedProductLicensesRequest) String

func (request ListTopUtilizedProductLicensesRequest) String() string

func (ListTopUtilizedProductLicensesRequest) ValidateEnumValue

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

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

type ListTopUtilizedProductLicensesResponse

ListTopUtilizedProductLicensesResponse wrapper for the ListTopUtilizedProductLicenses operation

type ListTopUtilizedProductLicensesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of TopUtilizedProductLicenseCollection instances
    TopUtilizedProductLicenseCollection `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 (ListTopUtilizedProductLicensesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTopUtilizedProductLicensesResponse) String

func (response ListTopUtilizedProductLicensesResponse) String() string

type ListTopUtilizedProductLicensesSortByEnum

ListTopUtilizedProductLicensesSortByEnum Enum with underlying type: string

type ListTopUtilizedProductLicensesSortByEnum string

Set of constants representing the allowable values for ListTopUtilizedProductLicensesSortByEnum

const (
    ListTopUtilizedProductLicensesSortByTotallicenseunitsconsumed ListTopUtilizedProductLicensesSortByEnum = "totalLicenseUnitsConsumed"
)

func GetListTopUtilizedProductLicensesSortByEnumValues

func GetListTopUtilizedProductLicensesSortByEnumValues() []ListTopUtilizedProductLicensesSortByEnum

GetListTopUtilizedProductLicensesSortByEnumValues Enumerates the set of values for ListTopUtilizedProductLicensesSortByEnum

func GetMappingListTopUtilizedProductLicensesSortByEnum

func GetMappingListTopUtilizedProductLicensesSortByEnum(val string) (ListTopUtilizedProductLicensesSortByEnum, bool)

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

type ListTopUtilizedProductLicensesSortOrderEnum

ListTopUtilizedProductLicensesSortOrderEnum Enum with underlying type: string

type ListTopUtilizedProductLicensesSortOrderEnum string

Set of constants representing the allowable values for ListTopUtilizedProductLicensesSortOrderEnum

const (
    ListTopUtilizedProductLicensesSortOrderAsc  ListTopUtilizedProductLicensesSortOrderEnum = "ASC"
    ListTopUtilizedProductLicensesSortOrderDesc ListTopUtilizedProductLicensesSortOrderEnum = "DESC"
)

func GetListTopUtilizedProductLicensesSortOrderEnumValues

func GetListTopUtilizedProductLicensesSortOrderEnumValues() []ListTopUtilizedProductLicensesSortOrderEnum

GetListTopUtilizedProductLicensesSortOrderEnumValues Enumerates the set of values for ListTopUtilizedProductLicensesSortOrderEnum

func GetMappingListTopUtilizedProductLicensesSortOrderEnum

func GetMappingListTopUtilizedProductLicensesSortOrderEnum(val string) (ListTopUtilizedProductLicensesSortOrderEnum, bool)

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

type ListTopUtilizedResourcesRequest

ListTopUtilizedResourcesRequest wrapper for the ListTopUtilizedResources operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/ListTopUtilizedResources.go.html to see an example of how to use ListTopUtilizedResourcesRequest.

type ListTopUtilizedResourcesRequest struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

    // Indicates if the given compartment is the root compartment.
    IsCompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isCompartmentIdInSubtree"`

    // A filter to return only resources whose unit matches the given resource unit.
    ResourceUnitType ListTopUtilizedResourcesResourceUnitTypeEnum `mandatory:"false" contributesTo:"query" name:"resourceUnitType" omitEmpty:"true"`

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

    // Specifies the attribute with which to sort the rules.
    // Default: `totalUnits`
    // * **totalUnits:** Sorts by totalUnits consumed by resource.
    SortBy ListTopUtilizedResourcesSortByEnum `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 (ListTopUtilizedResourcesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTopUtilizedResourcesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTopUtilizedResourcesRequest) RetryPolicy

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

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

func (ListTopUtilizedResourcesRequest) String

func (request ListTopUtilizedResourcesRequest) String() string

func (ListTopUtilizedResourcesRequest) ValidateEnumValue

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

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

type ListTopUtilizedResourcesResourceUnitTypeEnum

ListTopUtilizedResourcesResourceUnitTypeEnum Enum with underlying type: string

type ListTopUtilizedResourcesResourceUnitTypeEnum string

Set of constants representing the allowable values for ListTopUtilizedResourcesResourceUnitTypeEnum

const (
    ListTopUtilizedResourcesResourceUnitTypeOcpu ListTopUtilizedResourcesResourceUnitTypeEnum = "OCPU"
    ListTopUtilizedResourcesResourceUnitTypeEcpu ListTopUtilizedResourcesResourceUnitTypeEnum = "ECPU"
)

func GetListTopUtilizedResourcesResourceUnitTypeEnumValues

func GetListTopUtilizedResourcesResourceUnitTypeEnumValues() []ListTopUtilizedResourcesResourceUnitTypeEnum

GetListTopUtilizedResourcesResourceUnitTypeEnumValues Enumerates the set of values for ListTopUtilizedResourcesResourceUnitTypeEnum

func GetMappingListTopUtilizedResourcesResourceUnitTypeEnum

func GetMappingListTopUtilizedResourcesResourceUnitTypeEnum(val string) (ListTopUtilizedResourcesResourceUnitTypeEnum, bool)

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

type ListTopUtilizedResourcesResponse

ListTopUtilizedResourcesResponse wrapper for the ListTopUtilizedResources operation

type ListTopUtilizedResourcesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of TopUtilizedResourceCollection instances
    TopUtilizedResourceCollection `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 (ListTopUtilizedResourcesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTopUtilizedResourcesResponse) String

func (response ListTopUtilizedResourcesResponse) String() string

type ListTopUtilizedResourcesSortByEnum

ListTopUtilizedResourcesSortByEnum Enum with underlying type: string

type ListTopUtilizedResourcesSortByEnum string

Set of constants representing the allowable values for ListTopUtilizedResourcesSortByEnum

const (
    ListTopUtilizedResourcesSortByTotalunits ListTopUtilizedResourcesSortByEnum = "totalUnits"
)

func GetListTopUtilizedResourcesSortByEnumValues

func GetListTopUtilizedResourcesSortByEnumValues() []ListTopUtilizedResourcesSortByEnum

GetListTopUtilizedResourcesSortByEnumValues Enumerates the set of values for ListTopUtilizedResourcesSortByEnum

func GetMappingListTopUtilizedResourcesSortByEnum

func GetMappingListTopUtilizedResourcesSortByEnum(val string) (ListTopUtilizedResourcesSortByEnum, bool)

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

type ListTopUtilizedResourcesSortOrderEnum

ListTopUtilizedResourcesSortOrderEnum Enum with underlying type: string

type ListTopUtilizedResourcesSortOrderEnum string

Set of constants representing the allowable values for ListTopUtilizedResourcesSortOrderEnum

const (
    ListTopUtilizedResourcesSortOrderAsc  ListTopUtilizedResourcesSortOrderEnum = "ASC"
    ListTopUtilizedResourcesSortOrderDesc ListTopUtilizedResourcesSortOrderEnum = "DESC"
)

func GetListTopUtilizedResourcesSortOrderEnumValues

func GetListTopUtilizedResourcesSortOrderEnumValues() []ListTopUtilizedResourcesSortOrderEnum

GetListTopUtilizedResourcesSortOrderEnumValues Enumerates the set of values for ListTopUtilizedResourcesSortOrderEnum

func GetMappingListTopUtilizedResourcesSortOrderEnum

func GetMappingListTopUtilizedResourcesSortOrderEnum(val string) (ListTopUtilizedResourcesSortOrderEnum, bool)

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

type Product

Product Details of product.

type Product struct {

    // Name of the product.
    Name *string `mandatory:"true" json:"name"`

    // Units required for the missing product.
    Count *float64 `mandatory:"true" json:"count"`

    // Product category base or option.
    Category ProductCategoryEnum `mandatory:"true" json:"category"`
}

func (Product) String

func (m Product) String() string

func (Product) ValidateEnumValue

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

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

type ProductCategoryEnum

ProductCategoryEnum Enum with underlying type: string

type ProductCategoryEnum string

Set of constants representing the allowable values for ProductCategoryEnum

const (
    ProductCategoryBase   ProductCategoryEnum = "BASE"
    ProductCategoryOption ProductCategoryEnum = "OPTION"
)

func GetMappingProductCategoryEnum

func GetMappingProductCategoryEnum(val string) (ProductCategoryEnum, bool)

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

func GetProductCategoryEnumValues

func GetProductCategoryEnumValues() []ProductCategoryEnum

GetProductCategoryEnumValues Enumerates the set of values for ProductCategoryEnum

type ProductLicense

ProductLicense The product license details.

type ProductLicense struct {

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

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

    // The current product license status.
    Status StatusEnum `mandatory:"true" json:"status"`

    // The product license unit.
    LicenseUnit LicenseUnitEnum `mandatory:"true" json:"licenseUnit"`

    // Specifies whether the vendor is Oracle or a third party.
    IsVendorOracle *bool `mandatory:"true" json:"isVendorOracle"`

    // License record name
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Status description for the current product license status.
    StatusDescription *string `mandatory:"false" json:"statusDescription"`

    // The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
    TotalActiveLicenseUnitCount *int `mandatory:"false" json:"totalActiveLicenseUnitCount"`

    // The current product license state.
    LifecycleState LifeCycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The number of license units consumed. Updated after each allocation run.
    TotalLicenseUnitsConsumed *float64 `mandatory:"false" json:"totalLicenseUnitsConsumed"`

    // The number of license records associated with the product license.
    TotalLicenseRecordCount *int `mandatory:"false" json:"totalLicenseRecordCount"`

    // The number of active license records associated with the product license.
    ActiveLicenseRecordCount *int `mandatory:"false" json:"activeLicenseRecordCount"`

    // Specifies whether or not the product license is oversubscribed.
    IsOverSubscribed *bool `mandatory:"false" json:"isOverSubscribed"`

    // Specifies if the license unit count is unlimited.
    IsUnlimited *bool `mandatory:"false" json:"isUnlimited"`

    // The vendor of the ProductLicense
    VendorName *string `mandatory:"false" json:"vendorName"`

    // The time the product license was created. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the product license was updated. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The images associated with the product license.
    Images []ImageResponse `mandatory:"false" json:"images"`

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

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

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

func (ProductLicense) String

func (m ProductLicense) String() string

func (ProductLicense) ValidateEnumValue

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

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

type ProductLicenseCollection

ProductLicenseCollection The product license summary collection.

type ProductLicenseCollection struct {

    // The product license summary collection.
    Items []ProductLicenseSummary `mandatory:"true" json:"items"`
}

func (ProductLicenseCollection) String

func (m ProductLicenseCollection) String() string

func (ProductLicenseCollection) ValidateEnumValue

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

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

type ProductLicenseConsumerCollection

ProductLicenseConsumerCollection Collection of resources which have consumed licenses.

type ProductLicenseConsumerCollection struct {

    // Collection of product license consumers.
    Items []ProductLicenseConsumerSummary `mandatory:"true" json:"items"`
}

func (ProductLicenseConsumerCollection) String

func (m ProductLicenseConsumerCollection) String() string

func (ProductLicenseConsumerCollection) ValidateEnumValue

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

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

type ProductLicenseConsumerSummary

ProductLicenseConsumerSummary Details of a resource that is consuming a particular product license.

type ProductLicenseConsumerSummary struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
    ResourceId *string `mandatory:"true" json:"resourceId"`

    // The display name of the resource.
    ResourceName *string `mandatory:"true" json:"resourceName"`

    // The resource product name.
    ProductName *string `mandatory:"true" json:"productName"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the resource.
    ResourceCompartmentId *string `mandatory:"true" json:"resourceCompartmentId"`

    // The display name of the compartment that contains the resource.
    ResourceCompartmentName *string `mandatory:"true" json:"resourceCompartmentName"`

    // The unit type for the resource.
    ResourceUnitType ResourceUnitEnum `mandatory:"true" json:"resourceUnitType"`

    // Number of units of the resource
    ResourceUnitCount *float64 `mandatory:"true" json:"resourceUnitCount"`

    // The product license unit.
    LicenseUnitType LicenseUnitEnum `mandatory:"true" json:"licenseUnitType"`

    // Number of license units consumed by the resource.
    LicenseUnitsConsumed *float64 `mandatory:"true" json:"licenseUnitsConsumed"`

    // Specifies if the base license is available.
    IsBaseLicenseAvailable *bool `mandatory:"true" json:"isBaseLicenseAvailable"`

    // Specifies if all options are available.
    AreAllOptionsAvailable *bool `mandatory:"true" json:"areAllOptionsAvailable"`

    // Collection of missing product licenses.
    MissingProducts []Product `mandatory:"true" json:"missingProducts"`
}

func (ProductLicenseConsumerSummary) String

func (m ProductLicenseConsumerSummary) String() string

func (ProductLicenseConsumerSummary) ValidateEnumValue

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

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

type ProductLicenseSummary

ProductLicenseSummary The product license summary.

type ProductLicenseSummary struct {

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

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

    // The current product license status.
    Status StatusEnum `mandatory:"true" json:"status"`

    // The product license unit.
    LicenseUnit LicenseUnitEnum `mandatory:"true" json:"licenseUnit"`

    // Specifies whether the vendor is Oracle or a third party.
    IsVendorOracle *bool `mandatory:"true" json:"isVendorOracle"`

    // License record name
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Status description for the current product license status.
    StatusDescription *string `mandatory:"false" json:"statusDescription"`

    // The current product license state.
    LifecycleState LifeCycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
    TotalActiveLicenseUnitCount *int `mandatory:"false" json:"totalActiveLicenseUnitCount"`

    // The number of license units consumed. Updated after each allocation run.
    TotalLicenseUnitsConsumed *float64 `mandatory:"false" json:"totalLicenseUnitsConsumed"`

    // The number of license records associated with the product license.
    TotalLicenseRecordCount *int `mandatory:"false" json:"totalLicenseRecordCount"`

    // The number of active license records associated with the product license.
    ActiveLicenseRecordCount *int `mandatory:"false" json:"activeLicenseRecordCount"`

    // Specifies whether or not the product license is oversubscribed.
    IsOverSubscribed *bool `mandatory:"false" json:"isOverSubscribed"`

    // Specifies if the license unit count is unlimited.
    IsUnlimited *bool `mandatory:"false" json:"isUnlimited"`

    // The vendor of the ProductLicense
    VendorName *string `mandatory:"false" json:"vendorName"`

    // The time the product license was created. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the product license was updated. An RFC 3339 (https://tools.ietf.org/html/rfc3339)-formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The images associated with the product license.
    Images []ImageResponse `mandatory:"false" json:"images"`

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

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

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

func (ProductLicenseSummary) String

func (m ProductLicenseSummary) String() string

func (ProductLicenseSummary) ValidateEnumValue

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

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

type ResourceUnitEnum

ResourceUnitEnum Enum with underlying type: string

type ResourceUnitEnum string

Set of constants representing the allowable values for ResourceUnitEnum

const (
    ResourceUnitOcpu ResourceUnitEnum = "OCPU"
    ResourceUnitEcpu ResourceUnitEnum = "ECPU"
)

func GetMappingResourceUnitEnum

func GetMappingResourceUnitEnum(val string) (ResourceUnitEnum, bool)

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

func GetResourceUnitEnumValues

func GetResourceUnitEnumValues() []ResourceUnitEnum

GetResourceUnitEnumValues Enumerates the set of values for ResourceUnitEnum

type StatusEnum

StatusEnum Enum with underlying type: string

type StatusEnum string

Set of constants representing the allowable values for StatusEnum

const (
    StatusIncomplete  StatusEnum = "INCOMPLETE"
    StatusIssuesFound StatusEnum = "ISSUES_FOUND"
    StatusWarning     StatusEnum = "WARNING"
    StatusOk          StatusEnum = "OK"
)

func GetMappingStatusEnum

func GetMappingStatusEnum(val string) (StatusEnum, bool)

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

func GetStatusEnumValues

func GetStatusEnumValues() []StatusEnum

GetStatusEnumValues Enumerates the set of values for StatusEnum

type TopUtilizedProductLicenseCollection

TopUtilizedProductLicenseCollection A collection of top utilized product licenses.

type TopUtilizedProductLicenseCollection struct {

    // Collection of top utilized product licenses.
    Items []TopUtilizedProductLicenseSummary `mandatory:"true" json:"items"`
}

func (TopUtilizedProductLicenseCollection) String

func (m TopUtilizedProductLicenseCollection) String() string

func (TopUtilizedProductLicenseCollection) ValidateEnumValue

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

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

type TopUtilizedProductLicenseSummary

TopUtilizedProductLicenseSummary A summary of the top utilized product licenses.

type TopUtilizedProductLicenseSummary struct {

    // The product license OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    ProductLicenseId *string `mandatory:"true" json:"productLicenseId"`

    // The product type.
    ProductType *string `mandatory:"true" json:"productType"`

    // The product license unit.
    UnitType LicenseUnitEnum `mandatory:"true" json:"unitType"`

    // Number of license units consumed.
    TotalUnitsConsumed *float64 `mandatory:"true" json:"totalUnitsConsumed"`

    // Total number of license units in the product license provided by the user.
    TotalLicenseUnitCount *int `mandatory:"true" json:"totalLicenseUnitCount"`

    // Specifies if the license unit count is unlimited.
    IsUnlimited *bool `mandatory:"true" json:"isUnlimited"`

    // The current product license status.
    Status StatusEnum `mandatory:"true" json:"status"`
}

func (TopUtilizedProductLicenseSummary) String

func (m TopUtilizedProductLicenseSummary) String() string

func (TopUtilizedProductLicenseSummary) ValidateEnumValue

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

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

type TopUtilizedResourceCollection

TopUtilizedResourceCollection The collection of top utilized resources.

type TopUtilizedResourceCollection struct {

    // The top utilized resource summary collection.
    Items []TopUtilizedResourceSummary `mandatory:"true" json:"items"`
}

func (TopUtilizedResourceCollection) String

func (m TopUtilizedResourceCollection) String() string

func (TopUtilizedResourceCollection) ValidateEnumValue

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

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

type TopUtilizedResourceSummary

TopUtilizedResourceSummary A summary of a top utlized resource.

type TopUtilizedResourceSummary struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
    ResourceId *string `mandatory:"true" json:"resourceId"`

    // Resource canonical name.
    ResourceName *string `mandatory:"true" json:"resourceName"`

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that contains the resource.
    ResourceCompartmentId *string `mandatory:"true" json:"resourceCompartmentId"`

    // The display name of the compartment that contains the resource.
    ResourceCompartmentName *string `mandatory:"true" json:"resourceCompartmentName"`

    // Number of license units consumed by the resource.
    TotalUnits *float64 `mandatory:"true" json:"totalUnits"`

    // The resource unit.
    UnitType ResourceUnitEnum `mandatory:"true" json:"unitType"`
}

func (TopUtilizedResourceSummary) String

func (m TopUtilizedResourceSummary) String() string

func (TopUtilizedResourceSummary) ValidateEnumValue

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

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

type UpdateConfigurationDetails

UpdateConfigurationDetails The compartment-specific configuration.

type UpdateConfigurationDetails struct {

    // List of email IDs associated with the configuration.
    EmailIds []string `mandatory:"true" json:"emailIds"`
}

func (UpdateConfigurationDetails) String

func (m UpdateConfigurationDetails) String() string

func (UpdateConfigurationDetails) ValidateEnumValue

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

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

type UpdateConfigurationRequest

UpdateConfigurationRequest wrapper for the UpdateConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/UpdateConfiguration.go.html to see an example of how to use UpdateConfigurationRequest.

type UpdateConfigurationRequest struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Configuration details that need to be updated.
    UpdateConfigurationDetails `contributesTo:"body"`

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

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (UpdateConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateConfigurationRequest) RetryPolicy

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

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

func (UpdateConfigurationRequest) String

func (request UpdateConfigurationRequest) String() string

func (UpdateConfigurationRequest) ValidateEnumValue

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

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

type UpdateConfigurationResponse

UpdateConfigurationResponse wrapper for the UpdateConfiguration operation

type UpdateConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateConfigurationResponse) String

func (response UpdateConfigurationResponse) String() string

type UpdateLicenseRecordDetails

UpdateLicenseRecordDetails The details about updates in the license record.

type UpdateLicenseRecordDetails struct {

    // License record name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Specifies if the license record term is perpertual.
    IsPerpetual *bool `mandatory:"true" json:"isPerpetual"`

    // Specifies if the license count is unlimited.
    IsUnlimited *bool `mandatory:"true" json:"isUnlimited"`

    // The license record end date in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // date format.
    // Example: `2018-09-12`
    ExpirationDate *common.SDKTime `mandatory:"false" json:"expirationDate"`

    // The license record support end date in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // date format.
    // Example: `2018-09-12`
    SupportEndDate *common.SDKTime `mandatory:"false" json:"supportEndDate"`

    // The number of license units added by a user in a license record.
    // Default 1
    LicenseCount *int `mandatory:"false" json:"licenseCount"`

    // The license record product ID.
    ProductId *string `mandatory:"false" json:"productId"`

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

func (m UpdateLicenseRecordDetails) String() string

func (UpdateLicenseRecordDetails) ValidateEnumValue

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

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

type UpdateLicenseRecordRequest

UpdateLicenseRecordRequest wrapper for the UpdateLicenseRecord operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/UpdateLicenseRecord.go.html to see an example of how to use UpdateLicenseRecordRequest.

type UpdateLicenseRecordRequest struct {

    // Unique license record identifier.
    LicenseRecordId *string `mandatory:"true" contributesTo:"path" name:"licenseRecordId"`

    // Details to update a license record entity.
    UpdateLicenseRecordDetails `contributesTo:"body"`

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

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (UpdateLicenseRecordRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateLicenseRecordRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateLicenseRecordRequest) RetryPolicy

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

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

func (UpdateLicenseRecordRequest) String

func (request UpdateLicenseRecordRequest) String() string

func (UpdateLicenseRecordRequest) ValidateEnumValue

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

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

type UpdateLicenseRecordResponse

UpdateLicenseRecordResponse wrapper for the UpdateLicenseRecord operation

type UpdateLicenseRecordResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The LicenseRecord instance
    LicenseRecord `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 (UpdateLicenseRecordResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateLicenseRecordResponse) String

func (response UpdateLicenseRecordResponse) String() string

type UpdateProductLicenseDetails

UpdateProductLicenseDetails Updates the product license object (only allows image updates).

type UpdateProductLicenseDetails struct {

    // The image details associated with the product license.
    Images []ImageDetails `mandatory:"true" json:"images"`

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

func (m UpdateProductLicenseDetails) String() string

func (UpdateProductLicenseDetails) ValidateEnumValue

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

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

type UpdateProductLicenseRequest

UpdateProductLicenseRequest wrapper for the UpdateProductLicense operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/licensemanager/UpdateProductLicense.go.html to see an example of how to use UpdateProductLicenseRequest.

type UpdateProductLicenseRequest struct {

    // Unique product license identifier.
    ProductLicenseId *string `mandatory:"true" contributesTo:"path" name:"productLicenseId"`

    // The list of images that needs to be updated.
    UpdateProductLicenseDetails `contributesTo:"body"`

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

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    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 (UpdateProductLicenseRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateProductLicenseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateProductLicenseRequest) RetryPolicy

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

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

func (UpdateProductLicenseRequest) String

func (request UpdateProductLicenseRequest) String() string

func (UpdateProductLicenseRequest) ValidateEnumValue

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

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

type UpdateProductLicenseResponse

UpdateProductLicenseResponse wrapper for the UpdateProductLicense operation

type UpdateProductLicenseResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ProductLicense instance
    ProductLicense `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 (UpdateProductLicenseResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateProductLicenseResponse) String

func (response UpdateProductLicenseResponse) String() string