...

Package blockchain

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

Overview ▾

Index ▾

func GetAvailabilityDomainAdsEnumStringValues() []string
func GetBlockchainPlatformComputeShapeEnumStringValues() []string
func GetBlockchainPlatformLifecycleStateEnumStringValues() []string
func GetBlockchainPlatformLoadBalancerShapeEnumStringValues() []string
func GetBlockchainPlatformPlatformRoleEnumStringValues() []string
func GetBlockchainPlatformPlatformShapeTypeEnumStringValues() []string
func GetListBlockchainPlatformsSortByEnumStringValues() []string
func GetListBlockchainPlatformsSortOrderEnumStringValues() []string
func GetListOsnsSortByEnumStringValues() []string
func GetListOsnsSortOrderEnumStringValues() []string
func GetListPeersSortByEnumStringValues() []string
func GetListPeersSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetOsnLifecycleStateEnumStringValues() []string
func GetPeerLifecycleStateEnumStringValues() []string
func GetPeerRoleRoleEnumStringValues() []string
func GetWorkRequestOperationTypeEnumStringValues() []string
func GetWorkRequestResourceActionTypeEnumStringValues() []string
func GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumStringValues() []string
func GetWorkRequestStatusEnumStringValues() []string
func GetWorkRequestSummaryOperationTypeEnumStringValues() []string
type AvailabilityDomain
    func (m AvailabilityDomain) String() string
    func (m AvailabilityDomain) ValidateEnumValue() (bool, error)
type AvailabilityDomainAdsEnum
    func GetAvailabilityDomainAdsEnumValues() []AvailabilityDomainAdsEnum
    func GetMappingAvailabilityDomainAdsEnum(val string) (AvailabilityDomainAdsEnum, bool)
type BlockchainPlatform
    func (m BlockchainPlatform) String() string
    func (m BlockchainPlatform) ValidateEnumValue() (bool, error)
type BlockchainPlatformByHostname
    func (m BlockchainPlatformByHostname) String() string
    func (m BlockchainPlatformByHostname) ValidateEnumValue() (bool, error)
type BlockchainPlatformClient
    func NewBlockchainPlatformClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BlockchainPlatformClient, err error)
    func NewBlockchainPlatformClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BlockchainPlatformClient, err error)
    func (client BlockchainPlatformClient) ChangeBlockchainPlatformCompartment(ctx context.Context, request ChangeBlockchainPlatformCompartmentRequest) (response ChangeBlockchainPlatformCompartmentResponse, err error)
    func (client *BlockchainPlatformClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client BlockchainPlatformClient) CreateBlockchainPlatform(ctx context.Context, request CreateBlockchainPlatformRequest) (response CreateBlockchainPlatformResponse, err error)
    func (client BlockchainPlatformClient) CreateOsn(ctx context.Context, request CreateOsnRequest) (response CreateOsnResponse, err error)
    func (client BlockchainPlatformClient) CreatePeer(ctx context.Context, request CreatePeerRequest) (response CreatePeerResponse, err error)
    func (client BlockchainPlatformClient) DeleteBlockchainPlatform(ctx context.Context, request DeleteBlockchainPlatformRequest) (response DeleteBlockchainPlatformResponse, err error)
    func (client BlockchainPlatformClient) DeleteOsn(ctx context.Context, request DeleteOsnRequest) (response DeleteOsnResponse, err error)
    func (client BlockchainPlatformClient) DeletePeer(ctx context.Context, request DeletePeerRequest) (response DeletePeerResponse, err error)
    func (client BlockchainPlatformClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
    func (client BlockchainPlatformClient) GetBlockchainPlatform(ctx context.Context, request GetBlockchainPlatformRequest) (response GetBlockchainPlatformResponse, err error)
    func (client BlockchainPlatformClient) GetOsn(ctx context.Context, request GetOsnRequest) (response GetOsnResponse, err error)
    func (client BlockchainPlatformClient) GetPeer(ctx context.Context, request GetPeerRequest) (response GetPeerResponse, err error)
    func (client BlockchainPlatformClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client BlockchainPlatformClient) ListBlockchainPlatformPatches(ctx context.Context, request ListBlockchainPlatformPatchesRequest) (response ListBlockchainPlatformPatchesResponse, err error)
    func (client BlockchainPlatformClient) ListBlockchainPlatforms(ctx context.Context, request ListBlockchainPlatformsRequest) (response ListBlockchainPlatformsResponse, err error)
    func (client BlockchainPlatformClient) ListOsns(ctx context.Context, request ListOsnsRequest) (response ListOsnsResponse, err error)
    func (client BlockchainPlatformClient) ListPeers(ctx context.Context, request ListPeersRequest) (response ListPeersResponse, err error)
    func (client BlockchainPlatformClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client BlockchainPlatformClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client BlockchainPlatformClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client BlockchainPlatformClient) PreviewScaleBlockchainPlatform(ctx context.Context, request PreviewScaleBlockchainPlatformRequest) (response PreviewScaleBlockchainPlatformResponse, err error)
    func (client BlockchainPlatformClient) ScaleBlockchainPlatform(ctx context.Context, request ScaleBlockchainPlatformRequest) (response ScaleBlockchainPlatformResponse, err error)
    func (client *BlockchainPlatformClient) SetRegion(region string)
    func (client BlockchainPlatformClient) StartBlockchainPlatform(ctx context.Context, request StartBlockchainPlatformRequest) (response StartBlockchainPlatformResponse, err error)
    func (client BlockchainPlatformClient) StopBlockchainPlatform(ctx context.Context, request StopBlockchainPlatformRequest) (response StopBlockchainPlatformResponse, err error)
    func (client BlockchainPlatformClient) UpdateBlockchainPlatform(ctx context.Context, request UpdateBlockchainPlatformRequest) (response UpdateBlockchainPlatformResponse, err error)
    func (client BlockchainPlatformClient) UpdateOsn(ctx context.Context, request UpdateOsnRequest) (response UpdateOsnResponse, err error)
    func (client BlockchainPlatformClient) UpdatePeer(ctx context.Context, request UpdatePeerRequest) (response UpdatePeerResponse, err error)
    func (client BlockchainPlatformClient) UpgradeBlockchainPlatform(ctx context.Context, request UpgradeBlockchainPlatformRequest) (response UpgradeBlockchainPlatformResponse, err error)
type BlockchainPlatformCollection
    func (m BlockchainPlatformCollection) String() string
    func (m BlockchainPlatformCollection) ValidateEnumValue() (bool, error)
type BlockchainPlatformComponentDetails
    func (m BlockchainPlatformComponentDetails) String() string
    func (m BlockchainPlatformComponentDetails) ValidateEnumValue() (bool, error)
type BlockchainPlatformComputeShapeEnum
    func GetBlockchainPlatformComputeShapeEnumValues() []BlockchainPlatformComputeShapeEnum
    func GetMappingBlockchainPlatformComputeShapeEnum(val string) (BlockchainPlatformComputeShapeEnum, bool)
type BlockchainPlatformLifecycleStateEnum
    func GetBlockchainPlatformLifecycleStateEnumValues() []BlockchainPlatformLifecycleStateEnum
    func GetMappingBlockchainPlatformLifecycleStateEnum(val string) (BlockchainPlatformLifecycleStateEnum, bool)
type BlockchainPlatformLoadBalancerShapeEnum
    func GetBlockchainPlatformLoadBalancerShapeEnumValues() []BlockchainPlatformLoadBalancerShapeEnum
    func GetMappingBlockchainPlatformLoadBalancerShapeEnum(val string) (BlockchainPlatformLoadBalancerShapeEnum, bool)
type BlockchainPlatformPatchCollection
    func (m BlockchainPlatformPatchCollection) String() string
    func (m BlockchainPlatformPatchCollection) ValidateEnumValue() (bool, error)
type BlockchainPlatformPatchSummary
    func (m BlockchainPlatformPatchSummary) String() string
    func (m BlockchainPlatformPatchSummary) ValidateEnumValue() (bool, error)
type BlockchainPlatformPlatformRoleEnum
    func GetBlockchainPlatformPlatformRoleEnumValues() []BlockchainPlatformPlatformRoleEnum
    func GetMappingBlockchainPlatformPlatformRoleEnum(val string) (BlockchainPlatformPlatformRoleEnum, bool)
type BlockchainPlatformPlatformShapeTypeEnum
    func GetBlockchainPlatformPlatformShapeTypeEnumValues() []BlockchainPlatformPlatformShapeTypeEnum
    func GetMappingBlockchainPlatformPlatformShapeTypeEnum(val string) (BlockchainPlatformPlatformShapeTypeEnum, bool)
type BlockchainPlatformSummary
    func (m BlockchainPlatformSummary) String() string
    func (m BlockchainPlatformSummary) ValidateEnumValue() (bool, error)
type ChangeBlockchainPlatformCompartmentDetails
    func (m ChangeBlockchainPlatformCompartmentDetails) String() string
    func (m ChangeBlockchainPlatformCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeBlockchainPlatformCompartmentRequest
    func (request ChangeBlockchainPlatformCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeBlockchainPlatformCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeBlockchainPlatformCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeBlockchainPlatformCompartmentRequest) String() string
    func (request ChangeBlockchainPlatformCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeBlockchainPlatformCompartmentResponse
    func (response ChangeBlockchainPlatformCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeBlockchainPlatformCompartmentResponse) String() string
type CreateBlockchainPlatformDetails
    func (m CreateBlockchainPlatformDetails) String() string
    func (m CreateBlockchainPlatformDetails) ValidateEnumValue() (bool, error)
type CreateBlockchainPlatformRequest
    func (request CreateBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBlockchainPlatformRequest) String() string
    func (request CreateBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type CreateBlockchainPlatformResponse
    func (response CreateBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response CreateBlockchainPlatformResponse) String() string
type CreateOsnDetails
    func (m CreateOsnDetails) String() string
    func (m CreateOsnDetails) ValidateEnumValue() (bool, error)
type CreateOsnRequest
    func (request CreateOsnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOsnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOsnRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOsnRequest) String() string
    func (request CreateOsnRequest) ValidateEnumValue() (bool, error)
type CreateOsnResponse
    func (response CreateOsnResponse) HTTPResponse() *http.Response
    func (response CreateOsnResponse) String() string
type CreatePeerDetails
    func (m CreatePeerDetails) String() string
    func (m CreatePeerDetails) ValidateEnumValue() (bool, error)
type CreatePeerRequest
    func (request CreatePeerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreatePeerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreatePeerRequest) RetryPolicy() *common.RetryPolicy
    func (request CreatePeerRequest) String() string
    func (request CreatePeerRequest) ValidateEnumValue() (bool, error)
type CreatePeerResponse
    func (response CreatePeerResponse) HTTPResponse() *http.Response
    func (response CreatePeerResponse) String() string
type DeleteBlockchainPlatformRequest
    func (request DeleteBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBlockchainPlatformRequest) String() string
    func (request DeleteBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type DeleteBlockchainPlatformResponse
    func (response DeleteBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response DeleteBlockchainPlatformResponse) String() string
type DeleteOsnRequest
    func (request DeleteOsnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOsnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOsnRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOsnRequest) String() string
    func (request DeleteOsnRequest) ValidateEnumValue() (bool, error)
type DeleteOsnResponse
    func (response DeleteOsnResponse) HTTPResponse() *http.Response
    func (response DeleteOsnResponse) String() string
type DeletePeerRequest
    func (request DeletePeerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeletePeerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeletePeerRequest) RetryPolicy() *common.RetryPolicy
    func (request DeletePeerRequest) String() string
    func (request DeletePeerRequest) ValidateEnumValue() (bool, error)
type DeletePeerResponse
    func (response DeletePeerResponse) HTTPResponse() *http.Response
    func (response DeletePeerResponse) String() string
type DeleteWorkRequestRequest
    func (request DeleteWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteWorkRequestRequest) String() string
    func (request DeleteWorkRequestRequest) ValidateEnumValue() (bool, error)
type DeleteWorkRequestResponse
    func (response DeleteWorkRequestResponse) HTTPResponse() *http.Response
    func (response DeleteWorkRequestResponse) String() string
type GetBlockchainPlatformRequest
    func (request GetBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBlockchainPlatformRequest) String() string
    func (request GetBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type GetBlockchainPlatformResponse
    func (response GetBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response GetBlockchainPlatformResponse) String() string
type GetOsnRequest
    func (request GetOsnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOsnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOsnRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOsnRequest) String() string
    func (request GetOsnRequest) ValidateEnumValue() (bool, error)
type GetOsnResponse
    func (response GetOsnResponse) HTTPResponse() *http.Response
    func (response GetOsnResponse) String() string
type GetPeerRequest
    func (request GetPeerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetPeerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetPeerRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPeerRequest) String() string
    func (request GetPeerRequest) ValidateEnumValue() (bool, error)
type GetPeerResponse
    func (response GetPeerResponse) HTTPResponse() *http.Response
    func (response GetPeerResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type ListBlockchainPlatformPatchesRequest
    func (request ListBlockchainPlatformPatchesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBlockchainPlatformPatchesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBlockchainPlatformPatchesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBlockchainPlatformPatchesRequest) String() string
    func (request ListBlockchainPlatformPatchesRequest) ValidateEnumValue() (bool, error)
type ListBlockchainPlatformPatchesResponse
    func (response ListBlockchainPlatformPatchesResponse) HTTPResponse() *http.Response
    func (response ListBlockchainPlatformPatchesResponse) String() string
type ListBlockchainPlatformsRequest
    func (request ListBlockchainPlatformsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBlockchainPlatformsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBlockchainPlatformsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBlockchainPlatformsRequest) String() string
    func (request ListBlockchainPlatformsRequest) ValidateEnumValue() (bool, error)
type ListBlockchainPlatformsResponse
    func (response ListBlockchainPlatformsResponse) HTTPResponse() *http.Response
    func (response ListBlockchainPlatformsResponse) String() string
type ListBlockchainPlatformsSortByEnum
    func GetListBlockchainPlatformsSortByEnumValues() []ListBlockchainPlatformsSortByEnum
    func GetMappingListBlockchainPlatformsSortByEnum(val string) (ListBlockchainPlatformsSortByEnum, bool)
type ListBlockchainPlatformsSortOrderEnum
    func GetListBlockchainPlatformsSortOrderEnumValues() []ListBlockchainPlatformsSortOrderEnum
    func GetMappingListBlockchainPlatformsSortOrderEnum(val string) (ListBlockchainPlatformsSortOrderEnum, bool)
type ListOsnsRequest
    func (request ListOsnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOsnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOsnsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOsnsRequest) String() string
    func (request ListOsnsRequest) ValidateEnumValue() (bool, error)
type ListOsnsResponse
    func (response ListOsnsResponse) HTTPResponse() *http.Response
    func (response ListOsnsResponse) String() string
type ListOsnsSortByEnum
    func GetListOsnsSortByEnumValues() []ListOsnsSortByEnum
    func GetMappingListOsnsSortByEnum(val string) (ListOsnsSortByEnum, bool)
type ListOsnsSortOrderEnum
    func GetListOsnsSortOrderEnumValues() []ListOsnsSortOrderEnum
    func GetMappingListOsnsSortOrderEnum(val string) (ListOsnsSortOrderEnum, bool)
type ListPeersRequest
    func (request ListPeersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPeersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPeersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPeersRequest) String() string
    func (request ListPeersRequest) ValidateEnumValue() (bool, error)
type ListPeersResponse
    func (response ListPeersResponse) HTTPResponse() *http.Response
    func (response ListPeersResponse) String() string
type ListPeersSortByEnum
    func GetListPeersSortByEnumValues() []ListPeersSortByEnum
    func GetMappingListPeersSortByEnum(val string) (ListPeersSortByEnum, bool)
type ListPeersSortOrderEnum
    func GetListPeersSortOrderEnumValues() []ListPeersSortOrderEnum
    func GetMappingListPeersSortOrderEnum(val string) (ListPeersSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type MetadataDetails
    func (m MetadataDetails) String() string
    func (m MetadataDetails) ValidateEnumValue() (bool, error)
type ModifyPeerDetails
    func (m ModifyPeerDetails) String() string
    func (m ModifyPeerDetails) ValidateEnumValue() (bool, error)
type OcpuAllocationNumberParam
    func (m OcpuAllocationNumberParam) String() string
    func (m OcpuAllocationNumberParam) ValidateEnumValue() (bool, error)
type OcpuUtilizationInfo
    func (m OcpuUtilizationInfo) String() string
    func (m OcpuUtilizationInfo) ValidateEnumValue() (bool, error)
type Osn
    func (m Osn) String() string
    func (m Osn) ValidateEnumValue() (bool, error)
type OsnCollection
    func (m OsnCollection) String() string
    func (m OsnCollection) ValidateEnumValue() (bool, error)
type OsnLifecycleStateEnum
    func GetMappingOsnLifecycleStateEnum(val string) (OsnLifecycleStateEnum, bool)
    func GetOsnLifecycleStateEnumValues() []OsnLifecycleStateEnum
type OsnSummary
    func (m OsnSummary) String() string
    func (m OsnSummary) ValidateEnumValue() (bool, error)
type Peer
    func (m Peer) String() string
    func (m Peer) ValidateEnumValue() (bool, error)
type PeerCollection
    func (m PeerCollection) String() string
    func (m PeerCollection) ValidateEnumValue() (bool, error)
type PeerLifecycleStateEnum
    func GetMappingPeerLifecycleStateEnum(val string) (PeerLifecycleStateEnum, bool)
    func GetPeerLifecycleStateEnumValues() []PeerLifecycleStateEnum
type PeerRole
    func (m PeerRole) String() string
    func (m PeerRole) ValidateEnumValue() (bool, error)
type PeerRoleRoleEnum
    func GetMappingPeerRoleRoleEnum(val string) (PeerRoleRoleEnum, bool)
    func GetPeerRoleRoleEnumValues() []PeerRoleRoleEnum
type PeerSummary
    func (m PeerSummary) String() string
    func (m PeerSummary) ValidateEnumValue() (bool, error)
type PreviewScaleBlockchainPlatformRequest
    func (request PreviewScaleBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PreviewScaleBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PreviewScaleBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request PreviewScaleBlockchainPlatformRequest) String() string
    func (request PreviewScaleBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type PreviewScaleBlockchainPlatformResponse
    func (response PreviewScaleBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response PreviewScaleBlockchainPlatformResponse) String() string
type ReplicaDetails
    func (m ReplicaDetails) String() string
    func (m ReplicaDetails) ValidateEnumValue() (bool, error)
type ScaleBlockchainPlatformDetails
    func (m ScaleBlockchainPlatformDetails) String() string
    func (m ScaleBlockchainPlatformDetails) ValidateEnumValue() (bool, error)
type ScaleBlockchainPlatformRequest
    func (request ScaleBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ScaleBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ScaleBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request ScaleBlockchainPlatformRequest) String() string
    func (request ScaleBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type ScaleBlockchainPlatformResponse
    func (response ScaleBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response ScaleBlockchainPlatformResponse) String() string
type ScaleStorageDetails
    func (m ScaleStorageDetails) String() string
    func (m ScaleStorageDetails) ValidateEnumValue() (bool, error)
type ScaledBlockchainPlatformPreview
    func (m ScaledBlockchainPlatformPreview) String() string
    func (m ScaledBlockchainPlatformPreview) ValidateEnumValue() (bool, error)
type ScaledPlatformMeteringPreview
    func (m ScaledPlatformMeteringPreview) String() string
    func (m ScaledPlatformMeteringPreview) ValidateEnumValue() (bool, error)
type StartBlockchainPlatformRequest
    func (request StartBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StartBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StartBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request StartBlockchainPlatformRequest) String() string
    func (request StartBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type StartBlockchainPlatformResponse
    func (response StartBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response StartBlockchainPlatformResponse) String() string
type StopBlockchainPlatformRequest
    func (request StopBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StopBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StopBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request StopBlockchainPlatformRequest) String() string
    func (request StopBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type StopBlockchainPlatformResponse
    func (response StopBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response StopBlockchainPlatformResponse) String() string
type UpdateBlockchainPlatformDetails
    func (m UpdateBlockchainPlatformDetails) String() string
    func (m UpdateBlockchainPlatformDetails) ValidateEnumValue() (bool, error)
type UpdateBlockchainPlatformRequest
    func (request UpdateBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBlockchainPlatformRequest) String() string
    func (request UpdateBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type UpdateBlockchainPlatformResponse
    func (response UpdateBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response UpdateBlockchainPlatformResponse) String() string
type UpdateOsnDetails
    func (m UpdateOsnDetails) String() string
    func (m UpdateOsnDetails) ValidateEnumValue() (bool, error)
type UpdateOsnRequest
    func (request UpdateOsnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOsnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOsnRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOsnRequest) String() string
    func (request UpdateOsnRequest) ValidateEnumValue() (bool, error)
type UpdateOsnResponse
    func (response UpdateOsnResponse) HTTPResponse() *http.Response
    func (response UpdateOsnResponse) String() string
type UpdatePeerDetails
    func (m UpdatePeerDetails) String() string
    func (m UpdatePeerDetails) ValidateEnumValue() (bool, error)
type UpdatePeerRequest
    func (request UpdatePeerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdatePeerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdatePeerRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdatePeerRequest) String() string
    func (request UpdatePeerRequest) ValidateEnumValue() (bool, error)
type UpdatePeerResponse
    func (response UpdatePeerResponse) HTTPResponse() *http.Response
    func (response UpdatePeerResponse) String() string
type UpgradeBlockchainPlatformDetails
    func (m UpgradeBlockchainPlatformDetails) String() string
    func (m UpgradeBlockchainPlatformDetails) ValidateEnumValue() (bool, error)
type UpgradeBlockchainPlatformRequest
    func (request UpgradeBlockchainPlatformRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpgradeBlockchainPlatformRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpgradeBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request UpgradeBlockchainPlatformRequest) String() string
    func (request UpgradeBlockchainPlatformRequest) ValidateEnumValue() (bool, error)
type UpgradeBlockchainPlatformResponse
    func (response UpgradeBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response UpgradeBlockchainPlatformResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestCollection
    func (m WorkRequestCollection) String() string
    func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestOperationTypeEnum
    func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
    func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceActionTypeEnum
    func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
    func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
type WorkRequestResourceSubTypeDetail
    func (m WorkRequestResourceSubTypeDetail) String() string
    func (m WorkRequestResourceSubTypeDetail) ValidateEnumValue() (bool, error)
type WorkRequestResourceSubTypeDetailSubTypeStatusEnum
    func GetMappingWorkRequestResourceSubTypeDetailSubTypeStatusEnum(val string) (WorkRequestResourceSubTypeDetailSubTypeStatusEnum, bool)
    func GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumValues() []WorkRequestResourceSubTypeDetailSubTypeStatusEnum
type WorkRequestStatusEnum
    func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
    func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryOperationTypeEnum
    func GetMappingWorkRequestSummaryOperationTypeEnum(val string) (WorkRequestSummaryOperationTypeEnum, bool)
    func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum

Package files

availability_domain.go blockchain_blockchainplatform_client.go blockchain_platform.go blockchain_platform_by_hostname.go blockchain_platform_collection.go blockchain_platform_component_details.go blockchain_platform_patch_collection.go blockchain_platform_patch_summary.go blockchain_platform_summary.go change_blockchain_platform_compartment_details.go change_blockchain_platform_compartment_request_response.go create_blockchain_platform_details.go create_blockchain_platform_request_response.go create_osn_details.go create_osn_request_response.go create_peer_details.go create_peer_request_response.go delete_blockchain_platform_request_response.go delete_osn_request_response.go delete_peer_request_response.go delete_work_request_request_response.go get_blockchain_platform_request_response.go get_osn_request_response.go get_peer_request_response.go get_work_request_request_response.go list_blockchain_platform_patches_request_response.go list_blockchain_platforms_request_response.go list_osns_request_response.go list_peers_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go metadata_details.go modify_peer_details.go ocpu_allocation_number_param.go ocpu_utilization_info.go osn.go osn_collection.go osn_summary.go peer.go peer_collection.go peer_role.go peer_summary.go preview_scale_blockchain_platform_request_response.go replica_details.go scale_blockchain_platform_details.go scale_blockchain_platform_request_response.go scale_storage_details.go scaled_blockchain_platform_preview.go scaled_platform_metering_preview.go start_blockchain_platform_request_response.go stop_blockchain_platform_request_response.go update_blockchain_platform_details.go update_blockchain_platform_request_response.go update_osn_details.go update_osn_request_response.go update_peer_details.go update_peer_request_response.go upgrade_blockchain_platform_details.go upgrade_blockchain_platform_request_response.go work_request.go work_request_collection.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_sub_type_detail.go work_request_summary.go

func GetAvailabilityDomainAdsEnumStringValues

func GetAvailabilityDomainAdsEnumStringValues() []string

GetAvailabilityDomainAdsEnumStringValues Enumerates the set of values in String for AvailabilityDomainAdsEnum

func GetBlockchainPlatformComputeShapeEnumStringValues

func GetBlockchainPlatformComputeShapeEnumStringValues() []string

GetBlockchainPlatformComputeShapeEnumStringValues Enumerates the set of values in String for BlockchainPlatformComputeShapeEnum

func GetBlockchainPlatformLifecycleStateEnumStringValues

func GetBlockchainPlatformLifecycleStateEnumStringValues() []string

GetBlockchainPlatformLifecycleStateEnumStringValues Enumerates the set of values in String for BlockchainPlatformLifecycleStateEnum

func GetBlockchainPlatformLoadBalancerShapeEnumStringValues

func GetBlockchainPlatformLoadBalancerShapeEnumStringValues() []string

GetBlockchainPlatformLoadBalancerShapeEnumStringValues Enumerates the set of values in String for BlockchainPlatformLoadBalancerShapeEnum

func GetBlockchainPlatformPlatformRoleEnumStringValues

func GetBlockchainPlatformPlatformRoleEnumStringValues() []string

GetBlockchainPlatformPlatformRoleEnumStringValues Enumerates the set of values in String for BlockchainPlatformPlatformRoleEnum

func GetBlockchainPlatformPlatformShapeTypeEnumStringValues

func GetBlockchainPlatformPlatformShapeTypeEnumStringValues() []string

GetBlockchainPlatformPlatformShapeTypeEnumStringValues Enumerates the set of values in String for BlockchainPlatformPlatformShapeTypeEnum

func GetListBlockchainPlatformsSortByEnumStringValues

func GetListBlockchainPlatformsSortByEnumStringValues() []string

GetListBlockchainPlatformsSortByEnumStringValues Enumerates the set of values in String for ListBlockchainPlatformsSortByEnum

func GetListBlockchainPlatformsSortOrderEnumStringValues

func GetListBlockchainPlatformsSortOrderEnumStringValues() []string

GetListBlockchainPlatformsSortOrderEnumStringValues Enumerates the set of values in String for ListBlockchainPlatformsSortOrderEnum

func GetListOsnsSortByEnumStringValues

func GetListOsnsSortByEnumStringValues() []string

GetListOsnsSortByEnumStringValues Enumerates the set of values in String for ListOsnsSortByEnum

func GetListOsnsSortOrderEnumStringValues

func GetListOsnsSortOrderEnumStringValues() []string

GetListOsnsSortOrderEnumStringValues Enumerates the set of values in String for ListOsnsSortOrderEnum

func GetListPeersSortByEnumStringValues

func GetListPeersSortByEnumStringValues() []string

GetListPeersSortByEnumStringValues Enumerates the set of values in String for ListPeersSortByEnum

func GetListPeersSortOrderEnumStringValues

func GetListPeersSortOrderEnumStringValues() []string

GetListPeersSortOrderEnumStringValues Enumerates the set of values in String for ListPeersSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetOsnLifecycleStateEnumStringValues

func GetOsnLifecycleStateEnumStringValues() []string

GetOsnLifecycleStateEnumStringValues Enumerates the set of values in String for OsnLifecycleStateEnum

func GetPeerLifecycleStateEnumStringValues

func GetPeerLifecycleStateEnumStringValues() []string

GetPeerLifecycleStateEnumStringValues Enumerates the set of values in String for PeerLifecycleStateEnum

func GetPeerRoleRoleEnumStringValues

func GetPeerRoleRoleEnumStringValues() []string

GetPeerRoleRoleEnumStringValues Enumerates the set of values in String for PeerRoleRoleEnum

func GetWorkRequestOperationTypeEnumStringValues

func GetWorkRequestOperationTypeEnumStringValues() []string

GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum

func GetWorkRequestResourceActionTypeEnumStringValues

func GetWorkRequestResourceActionTypeEnumStringValues() []string

GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum

func GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumStringValues

func GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumStringValues() []string

GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumStringValues Enumerates the set of values in String for WorkRequestResourceSubTypeDetailSubTypeStatusEnum

func GetWorkRequestStatusEnumStringValues

func GetWorkRequestStatusEnumStringValues() []string

GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum

func GetWorkRequestSummaryOperationTypeEnumStringValues

func GetWorkRequestSummaryOperationTypeEnumStringValues() []string

GetWorkRequestSummaryOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestSummaryOperationTypeEnum

type AvailabilityDomain

AvailabilityDomain Availability Domains

type AvailabilityDomain struct {

    // Availability Domain Identifiers
    Ads AvailabilityDomainAdsEnum `mandatory:"false" json:"ads,omitempty"`
}

func (AvailabilityDomain) String

func (m AvailabilityDomain) String() string

func (AvailabilityDomain) ValidateEnumValue

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

ValidateEnumValue returns an 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 AvailabilityDomainAdsEnum

AvailabilityDomainAdsEnum Enum with underlying type: string

type AvailabilityDomainAdsEnum string

Set of constants representing the allowable values for AvailabilityDomainAdsEnum

const (
    AvailabilityDomainAdsAd1 AvailabilityDomainAdsEnum = "AD1"
    AvailabilityDomainAdsAd2 AvailabilityDomainAdsEnum = "AD2"
    AvailabilityDomainAdsAd3 AvailabilityDomainAdsEnum = "AD3"
)

func GetAvailabilityDomainAdsEnumValues

func GetAvailabilityDomainAdsEnumValues() []AvailabilityDomainAdsEnum

GetAvailabilityDomainAdsEnumValues Enumerates the set of values for AvailabilityDomainAdsEnum

func GetMappingAvailabilityDomainAdsEnum

func GetMappingAvailabilityDomainAdsEnum(val string) (AvailabilityDomainAdsEnum, bool)

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

type BlockchainPlatform

BlockchainPlatform Blockchain Platform Instance Description.

type BlockchainPlatform struct {

    // unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // Platform Instance Display name, can be renamed
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Role of platform - FOUNDER or PARTICIPANT
    PlatformRole BlockchainPlatformPlatformRoleEnum `mandatory:"true" json:"platformRole"`

    // Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
    ComputeShape BlockchainPlatformComputeShapeEnum `mandatory:"true" json:"computeShape"`

    // Platform Instance Description
    Description *string `mandatory:"false" json:"description"`

    // Bring your own license
    IsByol *bool `mandatory:"false" json:"isByol"`

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

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

    // Platform Version
    PlatformVersion *string `mandatory:"false" json:"platformVersion"`

    // The version of the Platform Instance.
    ServiceVersion *string `mandatory:"false" json:"serviceVersion"`

    // Type of Platform shape - DEFAULT or CUSTOM
    PlatformShapeType BlockchainPlatformPlatformShapeTypeEnum `mandatory:"false" json:"platformShapeType,omitempty"`

    // Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.
    LoadBalancerShape BlockchainPlatformLoadBalancerShapeEnum `mandatory:"false" json:"loadBalancerShape,omitempty"`

    // Service endpoint URL, valid post-provisioning
    ServiceEndpoint *string `mandatory:"false" json:"serviceEndpoint"`

    // The current state of the Platform Instance.
    LifecycleState BlockchainPlatformLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

    // Storage size in TBs
    StorageSizeInTBs *float64 `mandatory:"false" json:"storageSizeInTBs"`

    // Storage used in TBs
    StorageUsedInTBs *float64 `mandatory:"false" json:"storageUsedInTBs"`

    // True for multi-AD blockchain plaforms, false for single-AD
    IsMultiAD *bool `mandatory:"false" json:"isMultiAD"`

    // Number of total OCPUs allocated to the platform cluster
    TotalOcpuCapacity *int `mandatory:"false" json:"totalOcpuCapacity"`

    ComponentDetails *BlockchainPlatformComponentDetails `mandatory:"false" json:"componentDetails"`

    Replicas *ReplicaDetails `mandatory:"false" json:"replicas"`

    // List of OcpuUtilization for all hosts
    HostOcpuUtilizationInfo []OcpuUtilizationInfo `mandatory:"false" json:"hostOcpuUtilizationInfo"`

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

func (m BlockchainPlatform) String() string

func (BlockchainPlatform) ValidateEnumValue

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

ValidateEnumValue returns an 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 BlockchainPlatformByHostname

BlockchainPlatformByHostname Blockchain Platform Instance Details For Hostname.

type BlockchainPlatformByHostname struct {

    // unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // Platform Instance Display name, can be renamed
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
    ComputeShape BlockchainPlatformComputeShapeEnum `mandatory:"true" json:"computeShape"`

    // Service endpoint URL, valid post-provisioning
    ServiceEndpoint *string `mandatory:"false" json:"serviceEndpoint"`

    // Platform Instance Description
    Description *string `mandatory:"false" json:"description"`

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

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

    // Role of platform - founder or participant
    PlatformRole BlockchainPlatformPlatformRoleEnum `mandatory:"false" json:"platformRole,omitempty"`

    // The current state of the Platform Instance.
    LifecycleState BlockchainPlatformLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

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

func (m BlockchainPlatformByHostname) String() string

func (BlockchainPlatformByHostname) ValidateEnumValue

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

ValidateEnumValue returns an 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 BlockchainPlatformClient

BlockchainPlatformClient a client for BlockchainPlatform

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

func NewBlockchainPlatformClientWithConfigurationProvider

func NewBlockchainPlatformClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BlockchainPlatformClient, err error)

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

func NewBlockchainPlatformClientWithOboToken

func NewBlockchainPlatformClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BlockchainPlatformClient, err error)

NewBlockchainPlatformClientWithOboToken Creates a new default BlockchainPlatform 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 (BlockchainPlatformClient) ChangeBlockchainPlatformCompartment

func (client BlockchainPlatformClient) ChangeBlockchainPlatformCompartment(ctx context.Context, request ChangeBlockchainPlatformCompartmentRequest) (response ChangeBlockchainPlatformCompartmentResponse, err error)

ChangeBlockchainPlatformCompartment Change Blockchain Platform Compartment

# See also

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

func (*BlockchainPlatformClient) ConfigurationProvider

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

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

func (BlockchainPlatformClient) CreateBlockchainPlatform

func (client BlockchainPlatformClient) CreateBlockchainPlatform(ctx context.Context, request CreateBlockchainPlatformRequest) (response CreateBlockchainPlatformResponse, err error)

CreateBlockchainPlatform Creates a new Blockchain Platform.

# See also

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

func (BlockchainPlatformClient) CreateOsn

func (client BlockchainPlatformClient) CreateOsn(ctx context.Context, request CreateOsnRequest) (response CreateOsnResponse, err error)

CreateOsn Create Blockchain Platform Osn

# See also

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

func (BlockchainPlatformClient) CreatePeer

func (client BlockchainPlatformClient) CreatePeer(ctx context.Context, request CreatePeerRequest) (response CreatePeerResponse, err error)

CreatePeer Create Blockchain Platform Peer

# See also

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

func (BlockchainPlatformClient) DeleteBlockchainPlatform

func (client BlockchainPlatformClient) DeleteBlockchainPlatform(ctx context.Context, request DeleteBlockchainPlatformRequest) (response DeleteBlockchainPlatformResponse, err error)

DeleteBlockchainPlatform Delete a particular of a Blockchain Platform

# See also

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

func (BlockchainPlatformClient) DeleteOsn

func (client BlockchainPlatformClient) DeleteOsn(ctx context.Context, request DeleteOsnRequest) (response DeleteOsnResponse, err error)

DeleteOsn Delete a particular OSN of a Blockchain Platform

# See also

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

func (BlockchainPlatformClient) DeletePeer

func (client BlockchainPlatformClient) DeletePeer(ctx context.Context, request DeletePeerRequest) (response DeletePeerResponse, err error)

DeletePeer Delete a particular peer of a Blockchain Platform

# See also

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

func (BlockchainPlatformClient) DeleteWorkRequest

func (client BlockchainPlatformClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)

DeleteWorkRequest Attempts to cancel the work request with the given ID.

# See also

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

func (BlockchainPlatformClient) GetBlockchainPlatform

func (client BlockchainPlatformClient) GetBlockchainPlatform(ctx context.Context, request GetBlockchainPlatformRequest) (response GetBlockchainPlatformResponse, err error)

GetBlockchainPlatform Gets information about a Blockchain Platform identified by the specific id

# See also

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

func (BlockchainPlatformClient) GetOsn

func (client BlockchainPlatformClient) GetOsn(ctx context.Context, request GetOsnRequest) (response GetOsnResponse, err error)

GetOsn Gets information about an OSN identified by the specific id

# See also

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

func (BlockchainPlatformClient) GetPeer

func (client BlockchainPlatformClient) GetPeer(ctx context.Context, request GetPeerRequest) (response GetPeerResponse, err error)

GetPeer Gets information about a peer identified by the specific id

# See also

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

func (BlockchainPlatformClient) GetWorkRequest

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

GetWorkRequest Gets the status of the work request with the given ID.

# See also

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

func (BlockchainPlatformClient) ListBlockchainPlatformPatches

func (client BlockchainPlatformClient) ListBlockchainPlatformPatches(ctx context.Context, request ListBlockchainPlatformPatchesRequest) (response ListBlockchainPlatformPatchesResponse, err error)

ListBlockchainPlatformPatches List Blockchain Platform Patches

# See also

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

func (BlockchainPlatformClient) ListBlockchainPlatforms

func (client BlockchainPlatformClient) ListBlockchainPlatforms(ctx context.Context, request ListBlockchainPlatformsRequest) (response ListBlockchainPlatformsResponse, err error)

ListBlockchainPlatforms Returns a list Blockchain Platform Instances in a compartment

# See also

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

func (BlockchainPlatformClient) ListOsns

func (client BlockchainPlatformClient) ListOsns(ctx context.Context, request ListOsnsRequest) (response ListOsnsResponse, err error)

ListOsns List Blockchain Platform OSNs

# See also

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

func (BlockchainPlatformClient) ListPeers

func (client BlockchainPlatformClient) ListPeers(ctx context.Context, request ListPeersRequest) (response ListPeersResponse, err error)

ListPeers List Blockchain Platform Peers

# See also

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

func (BlockchainPlatformClient) ListWorkRequestErrors

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

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

# See also

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

func (BlockchainPlatformClient) ListWorkRequestLogs

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

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

# See also

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

func (BlockchainPlatformClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

# See also

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

func (BlockchainPlatformClient) PreviewScaleBlockchainPlatform

func (client BlockchainPlatformClient) PreviewScaleBlockchainPlatform(ctx context.Context, request PreviewScaleBlockchainPlatformRequest) (response PreviewScaleBlockchainPlatformResponse, err error)

PreviewScaleBlockchainPlatform Preview Scale Blockchain Platform

# See also

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

func (BlockchainPlatformClient) ScaleBlockchainPlatform

func (client BlockchainPlatformClient) ScaleBlockchainPlatform(ctx context.Context, request ScaleBlockchainPlatformRequest) (response ScaleBlockchainPlatformResponse, err error)

ScaleBlockchainPlatform Scale Blockchain Platform

# See also

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

func (*BlockchainPlatformClient) SetRegion

func (client *BlockchainPlatformClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (BlockchainPlatformClient) StartBlockchainPlatform

func (client BlockchainPlatformClient) StartBlockchainPlatform(ctx context.Context, request StartBlockchainPlatformRequest) (response StartBlockchainPlatformResponse, err error)

StartBlockchainPlatform Start a Blockchain Platform

# See also

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

func (BlockchainPlatformClient) StopBlockchainPlatform

func (client BlockchainPlatformClient) StopBlockchainPlatform(ctx context.Context, request StopBlockchainPlatformRequest) (response StopBlockchainPlatformResponse, err error)

StopBlockchainPlatform Stop a Blockchain Platform

# See also

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

func (BlockchainPlatformClient) UpdateBlockchainPlatform

func (client BlockchainPlatformClient) UpdateBlockchainPlatform(ctx context.Context, request UpdateBlockchainPlatformRequest) (response UpdateBlockchainPlatformResponse, err error)

UpdateBlockchainPlatform Update a particular of a Blockchain Platform

# See also

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

func (BlockchainPlatformClient) UpdateOsn

func (client BlockchainPlatformClient) UpdateOsn(ctx context.Context, request UpdateOsnRequest) (response UpdateOsnResponse, err error)

UpdateOsn Update Blockchain Platform OSN

# See also

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

func (BlockchainPlatformClient) UpdatePeer

func (client BlockchainPlatformClient) UpdatePeer(ctx context.Context, request UpdatePeerRequest) (response UpdatePeerResponse, err error)

UpdatePeer Update Blockchain Platform Peer

# See also

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

func (BlockchainPlatformClient) UpgradeBlockchainPlatform

func (client BlockchainPlatformClient) UpgradeBlockchainPlatform(ctx context.Context, request UpgradeBlockchainPlatformRequest) (response UpgradeBlockchainPlatformResponse, err error)

UpgradeBlockchainPlatform Upgrade a Blockchain Platform version

# See also

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

type BlockchainPlatformCollection

BlockchainPlatformCollection Result of a platform list or search. Contains BlockchainPlatformSummary

type BlockchainPlatformCollection struct {

    // Collection of BlockchainPlatformSummary
    Items []BlockchainPlatformSummary `mandatory:"true" json:"items"`
}

func (BlockchainPlatformCollection) String

func (m BlockchainPlatformCollection) String() string

func (BlockchainPlatformCollection) ValidateEnumValue

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

ValidateEnumValue returns an 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 BlockchainPlatformComponentDetails

BlockchainPlatformComponentDetails Blockchain Platform component details.

type BlockchainPlatformComponentDetails struct {

    // List of OSNs
    Osns []Osn `mandatory:"false" json:"osns"`

    // List of Peers
    Peers []Peer `mandatory:"false" json:"peers"`
}

func (BlockchainPlatformComponentDetails) String

func (m BlockchainPlatformComponentDetails) String() string

func (BlockchainPlatformComponentDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 BlockchainPlatformComputeShapeEnum

BlockchainPlatformComputeShapeEnum Enum with underlying type: string

type BlockchainPlatformComputeShapeEnum string

Set of constants representing the allowable values for BlockchainPlatformComputeShapeEnum

const (
    BlockchainPlatformComputeShapeStandard             BlockchainPlatformComputeShapeEnum = "STANDARD"
    BlockchainPlatformComputeShapeEnterpriseSmall      BlockchainPlatformComputeShapeEnum = "ENTERPRISE_SMALL"
    BlockchainPlatformComputeShapeEnterpriseMedium     BlockchainPlatformComputeShapeEnum = "ENTERPRISE_MEDIUM"
    BlockchainPlatformComputeShapeEnterpriseLarge      BlockchainPlatformComputeShapeEnum = "ENTERPRISE_LARGE"
    BlockchainPlatformComputeShapeEnterpriseExtraLarge BlockchainPlatformComputeShapeEnum = "ENTERPRISE_EXTRA_LARGE"
    BlockchainPlatformComputeShapeEnterpriseCustom     BlockchainPlatformComputeShapeEnum = "ENTERPRISE_CUSTOM"
)

func GetBlockchainPlatformComputeShapeEnumValues

func GetBlockchainPlatformComputeShapeEnumValues() []BlockchainPlatformComputeShapeEnum

GetBlockchainPlatformComputeShapeEnumValues Enumerates the set of values for BlockchainPlatformComputeShapeEnum

func GetMappingBlockchainPlatformComputeShapeEnum

func GetMappingBlockchainPlatformComputeShapeEnum(val string) (BlockchainPlatformComputeShapeEnum, bool)

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

type BlockchainPlatformLifecycleStateEnum

BlockchainPlatformLifecycleStateEnum Enum with underlying type: string

type BlockchainPlatformLifecycleStateEnum string

Set of constants representing the allowable values for BlockchainPlatformLifecycleStateEnum

const (
    BlockchainPlatformLifecycleStateCreating BlockchainPlatformLifecycleStateEnum = "CREATING"
    BlockchainPlatformLifecycleStateUpdating BlockchainPlatformLifecycleStateEnum = "UPDATING"
    BlockchainPlatformLifecycleStateActive   BlockchainPlatformLifecycleStateEnum = "ACTIVE"
    BlockchainPlatformLifecycleStateDeleting BlockchainPlatformLifecycleStateEnum = "DELETING"
    BlockchainPlatformLifecycleStateDeleted  BlockchainPlatformLifecycleStateEnum = "DELETED"
    BlockchainPlatformLifecycleStateScaling  BlockchainPlatformLifecycleStateEnum = "SCALING"
    BlockchainPlatformLifecycleStateInactive BlockchainPlatformLifecycleStateEnum = "INACTIVE"
    BlockchainPlatformLifecycleStateFailed   BlockchainPlatformLifecycleStateEnum = "FAILED"
)

func GetBlockchainPlatformLifecycleStateEnumValues

func GetBlockchainPlatformLifecycleStateEnumValues() []BlockchainPlatformLifecycleStateEnum

GetBlockchainPlatformLifecycleStateEnumValues Enumerates the set of values for BlockchainPlatformLifecycleStateEnum

func GetMappingBlockchainPlatformLifecycleStateEnum

func GetMappingBlockchainPlatformLifecycleStateEnum(val string) (BlockchainPlatformLifecycleStateEnum, bool)

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

type BlockchainPlatformLoadBalancerShapeEnum

BlockchainPlatformLoadBalancerShapeEnum Enum with underlying type: string

type BlockchainPlatformLoadBalancerShapeEnum string

Set of constants representing the allowable values for BlockchainPlatformLoadBalancerShapeEnum

const (
    BlockchainPlatformLoadBalancerShape100Mbps BlockchainPlatformLoadBalancerShapeEnum = "LB_100_MBPS"
    BlockchainPlatformLoadBalancerShape400Mbps BlockchainPlatformLoadBalancerShapeEnum = "LB_400_MBPS"
)

func GetBlockchainPlatformLoadBalancerShapeEnumValues

func GetBlockchainPlatformLoadBalancerShapeEnumValues() []BlockchainPlatformLoadBalancerShapeEnum

GetBlockchainPlatformLoadBalancerShapeEnumValues Enumerates the set of values for BlockchainPlatformLoadBalancerShapeEnum

func GetMappingBlockchainPlatformLoadBalancerShapeEnum

func GetMappingBlockchainPlatformLoadBalancerShapeEnum(val string) (BlockchainPlatformLoadBalancerShapeEnum, bool)

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

type BlockchainPlatformPatchCollection

BlockchainPlatformPatchCollection Result of a patch list. Contains PatchSummary

type BlockchainPlatformPatchCollection struct {

    // Collection of PatchSummary
    Items []BlockchainPlatformPatchSummary `mandatory:"true" json:"items"`
}

func (BlockchainPlatformPatchCollection) String

func (m BlockchainPlatformPatchCollection) String() string

func (BlockchainPlatformPatchCollection) ValidateEnumValue

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

ValidateEnumValue returns an 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 BlockchainPlatformPatchSummary

BlockchainPlatformPatchSummary Patch Details

type BlockchainPlatformPatchSummary struct {

    // patch id
    Id *string `mandatory:"false" json:"id"`

    // patch service version
    ServiceVersion *string `mandatory:"false" json:"serviceVersion"`

    // A URL for the patch specific documentation
    PatchInfoUrl *string `mandatory:"false" json:"patchInfoUrl"`

    // patch due date for customer initiated patching
    TimePatchDue *common.SDKTime `mandatory:"false" json:"timePatchDue"`
}

func (BlockchainPlatformPatchSummary) String

func (m BlockchainPlatformPatchSummary) String() string

func (BlockchainPlatformPatchSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 BlockchainPlatformPlatformRoleEnum

BlockchainPlatformPlatformRoleEnum Enum with underlying type: string

type BlockchainPlatformPlatformRoleEnum string

Set of constants representing the allowable values for BlockchainPlatformPlatformRoleEnum

const (
    BlockchainPlatformPlatformRoleFounder     BlockchainPlatformPlatformRoleEnum = "FOUNDER"
    BlockchainPlatformPlatformRoleParticipant BlockchainPlatformPlatformRoleEnum = "PARTICIPANT"
)

func GetBlockchainPlatformPlatformRoleEnumValues

func GetBlockchainPlatformPlatformRoleEnumValues() []BlockchainPlatformPlatformRoleEnum

GetBlockchainPlatformPlatformRoleEnumValues Enumerates the set of values for BlockchainPlatformPlatformRoleEnum

func GetMappingBlockchainPlatformPlatformRoleEnum

func GetMappingBlockchainPlatformPlatformRoleEnum(val string) (BlockchainPlatformPlatformRoleEnum, bool)

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

type BlockchainPlatformPlatformShapeTypeEnum

BlockchainPlatformPlatformShapeTypeEnum Enum with underlying type: string

type BlockchainPlatformPlatformShapeTypeEnum string

Set of constants representing the allowable values for BlockchainPlatformPlatformShapeTypeEnum

const (
    BlockchainPlatformPlatformShapeTypeDefault BlockchainPlatformPlatformShapeTypeEnum = "DEFAULT"
    BlockchainPlatformPlatformShapeTypeCustom  BlockchainPlatformPlatformShapeTypeEnum = "CUSTOM"
)

func GetBlockchainPlatformPlatformShapeTypeEnumValues

func GetBlockchainPlatformPlatformShapeTypeEnumValues() []BlockchainPlatformPlatformShapeTypeEnum

GetBlockchainPlatformPlatformShapeTypeEnumValues Enumerates the set of values for BlockchainPlatformPlatformShapeTypeEnum

func GetMappingBlockchainPlatformPlatformShapeTypeEnum

func GetMappingBlockchainPlatformPlatformShapeTypeEnum(val string) (BlockchainPlatformPlatformShapeTypeEnum, bool)

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

type BlockchainPlatformSummary

BlockchainPlatformSummary Blockchain Platform Instance Summary.

type BlockchainPlatformSummary struct {

    // unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // Platform Instance Display name, can be renamed
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
    ComputeShape BlockchainPlatformComputeShapeEnum `mandatory:"true" json:"computeShape"`

    // Platform Instance Description
    Description *string `mandatory:"false" json:"description"`

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

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

    // Role of platform - founder or participant
    PlatformRole BlockchainPlatformPlatformRoleEnum `mandatory:"false" json:"platformRole,omitempty"`

    // Service endpoint URL, valid post-provisioning
    ServiceEndpoint *string `mandatory:"false" json:"serviceEndpoint"`

    // The current state of the Platform Instance.
    LifecycleState BlockchainPlatformLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

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

func (m BlockchainPlatformSummary) String() string

func (BlockchainPlatformSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 ChangeBlockchainPlatformCompartmentDetails

ChangeBlockchainPlatformCompartmentDetails Input payload to change a resource's compartment.

type ChangeBlockchainPlatformCompartmentDetails struct {

    // The OCID of the new compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeBlockchainPlatformCompartmentDetails) String

func (m ChangeBlockchainPlatformCompartmentDetails) String() string

func (ChangeBlockchainPlatformCompartmentDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 ChangeBlockchainPlatformCompartmentRequest

ChangeBlockchainPlatformCompartmentRequest wrapper for the ChangeBlockchainPlatformCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/ChangeBlockchainPlatformCompartment.go.html to see an example of how to use ChangeBlockchainPlatformCompartmentRequest.

type ChangeBlockchainPlatformCompartmentRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // Input payload to move the resource to a different compartment.
    ChangeBlockchainPlatformCompartmentDetails `contributesTo:"body"`

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

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeBlockchainPlatformCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeBlockchainPlatformCompartmentRequest) RetryPolicy

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

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

func (ChangeBlockchainPlatformCompartmentRequest) String

func (request ChangeBlockchainPlatformCompartmentRequest) String() string

func (ChangeBlockchainPlatformCompartmentRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ChangeBlockchainPlatformCompartmentResponse

ChangeBlockchainPlatformCompartmentResponse wrapper for the ChangeBlockchainPlatformCompartment operation

type ChangeBlockchainPlatformCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ChangeBlockchainPlatformCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeBlockchainPlatformCompartmentResponse) String

func (response ChangeBlockchainPlatformCompartmentResponse) String() string

type CreateBlockchainPlatformDetails

CreateBlockchainPlatformDetails Blockchain Platform details for creating a new service.

type CreateBlockchainPlatformDetails struct {

    // Platform Instance Display name, can be renamed
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Role of platform - founder or participant
    PlatformRole BlockchainPlatformPlatformRoleEnum `mandatory:"true" json:"platformRole"`

    // Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE
    ComputeShape BlockchainPlatformComputeShapeEnum `mandatory:"true" json:"computeShape"`

    // IDCS access token with Identity Domain Administrator role
    IdcsAccessToken *string `mandatory:"true" json:"idcsAccessToken"`

    // Platform Instance Description
    Description *string `mandatory:"false" json:"description"`

    // Bring your own license
    IsByol *bool `mandatory:"false" json:"isByol"`

    // Platform version
    PlatformVersion *string `mandatory:"false" json:"platformVersion"`

    // Identifier for a federated user
    FederatedUserId *string `mandatory:"false" json:"federatedUserId"`

    // Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file.
    // The Archive file is a zip file containing third part CA Certificates,
    // the ca key and certificate files used when issuing enrollment certificates
    // (ECerts) and transaction certificates (TCerts). The chainfile (if it exists)
    // contains the certificate chain which should be trusted for this CA, where
    // the 1st in the chain is always the root CA certificate.
    // File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].
    CaCertArchiveText *string `mandatory:"false" json:"caCertArchiveText"`

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

func (m CreateBlockchainPlatformDetails) String() string

func (CreateBlockchainPlatformDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateBlockchainPlatformRequest

CreateBlockchainPlatformRequest wrapper for the CreateBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/CreateBlockchainPlatform.go.html to see an example of how to use CreateBlockchainPlatformRequest.

type CreateBlockchainPlatformRequest struct {

    // Details for the new service.
    CreateBlockchainPlatformDetails `contributesTo:"body"`

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

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

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

func (CreateBlockchainPlatformRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBlockchainPlatformRequest) RetryPolicy

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

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

func (CreateBlockchainPlatformRequest) String

func (request CreateBlockchainPlatformRequest) String() string

func (CreateBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateBlockchainPlatformResponse

CreateBlockchainPlatformResponse wrapper for the CreateBlockchainPlatform operation

type CreateBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (CreateBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBlockchainPlatformResponse) String

func (response CreateBlockchainPlatformResponse) String() string

type CreateOsnDetails

CreateOsnDetails The Ordering Service Node details to be added

type CreateOsnDetails struct {

    // Availability Domain to place new OSN
    Ad AvailabilityDomainAdsEnum `mandatory:"true" json:"ad"`

    OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"false" json:"ocpuAllocationParam"`
}

func (CreateOsnDetails) String

func (m CreateOsnDetails) String() string

func (CreateOsnDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateOsnRequest

CreateOsnRequest wrapper for the CreateOsn operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/CreateOsn.go.html to see an example of how to use CreateOsnRequest.

type CreateOsnRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // Input payload to create blockchain platform OSN. The payload cannot be empty.
    CreateOsnDetails `contributesTo:"body"`

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

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOsnRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOsnRequest) RetryPolicy

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

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

func (CreateOsnRequest) String

func (request CreateOsnRequest) String() string

func (CreateOsnRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateOsnResponse

CreateOsnResponse wrapper for the CreateOsn operation

type CreateOsnResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (CreateOsnResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOsnResponse) String

func (response CreateOsnResponse) String() string

type CreatePeerDetails

CreatePeerDetails The Peer details to be added

type CreatePeerDetails struct {

    // Peer role
    Role PeerRoleRoleEnum `mandatory:"true" json:"role"`

    OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"true" json:"ocpuAllocationParam"`

    // Availability Domain to place new peer
    Ad AvailabilityDomainAdsEnum `mandatory:"true" json:"ad"`

    // peer alias
    Alias *string `mandatory:"false" json:"alias"`
}

func (CreatePeerDetails) String

func (m CreatePeerDetails) String() string

func (CreatePeerDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreatePeerRequest

CreatePeerRequest wrapper for the CreatePeer operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/CreatePeer.go.html to see an example of how to use CreatePeerRequest.

type CreatePeerRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // Input payload to create a blockchain platform peer. The payload cannot be empty.
    CreatePeerDetails `contributesTo:"body"`

    // The client request ID for tracing.
    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 (CreatePeerRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreatePeerRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreatePeerRequest) RetryPolicy

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

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

func (CreatePeerRequest) String

func (request CreatePeerRequest) String() string

func (CreatePeerRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreatePeerResponse

CreatePeerResponse wrapper for the CreatePeer operation

type CreatePeerResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (CreatePeerResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreatePeerResponse) String

func (response CreatePeerResponse) String() string

type DeleteBlockchainPlatformRequest

DeleteBlockchainPlatformRequest wrapper for the DeleteBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/DeleteBlockchainPlatform.go.html to see an example of how to use DeleteBlockchainPlatformRequest.

type DeleteBlockchainPlatformRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // The client request ID for tracing.
    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"`

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

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBlockchainPlatformRequest) RetryPolicy

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

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

func (DeleteBlockchainPlatformRequest) String

func (request DeleteBlockchainPlatformRequest) String() string

func (DeleteBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeleteBlockchainPlatformResponse

DeleteBlockchainPlatformResponse wrapper for the DeleteBlockchainPlatform operation

type DeleteBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeleteBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBlockchainPlatformResponse) String

func (response DeleteBlockchainPlatformResponse) String() string

type DeleteOsnRequest

DeleteOsnRequest wrapper for the DeleteOsn operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/DeleteOsn.go.html to see an example of how to use DeleteOsnRequest.

type DeleteOsnRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // OSN identifier.
    OsnId *string `mandatory:"true" contributesTo:"path" name:"osnId"`

    // The client request ID for tracing.
    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 (DeleteOsnRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOsnRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOsnRequest) RetryPolicy

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

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

func (DeleteOsnRequest) String

func (request DeleteOsnRequest) String() string

func (DeleteOsnRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeleteOsnResponse

DeleteOsnResponse wrapper for the DeleteOsn operation

type DeleteOsnResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeleteOsnResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOsnResponse) String

func (response DeleteOsnResponse) String() string

type DeletePeerRequest

DeletePeerRequest wrapper for the DeletePeer operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/DeletePeer.go.html to see an example of how to use DeletePeerRequest.

type DeletePeerRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // Peer identifier.
    PeerId *string `mandatory:"true" contributesTo:"path" name:"peerId"`

    // The client request ID for tracing.
    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"`

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

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

BinaryRequestBody implements the OCIRequest interface

func (DeletePeerRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeletePeerRequest) RetryPolicy

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

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

func (DeletePeerRequest) String

func (request DeletePeerRequest) String() string

func (DeletePeerRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeletePeerResponse

DeletePeerResponse wrapper for the DeletePeer operation

type DeletePeerResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeletePeerResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeletePeerResponse) String

func (response DeletePeerResponse) String() string

type DeleteWorkRequestRequest

DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequestRequest.

type DeleteWorkRequestRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteWorkRequestRequest) RetryPolicy

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

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

func (DeleteWorkRequestRequest) String

func (request DeleteWorkRequestRequest) String() string

func (DeleteWorkRequestRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeleteWorkRequestResponse

DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation

type DeleteWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeleteWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWorkRequestResponse) String

func (response DeleteWorkRequestResponse) String() string

type GetBlockchainPlatformRequest

GetBlockchainPlatformRequest wrapper for the GetBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/GetBlockchainPlatform.go.html to see an example of how to use GetBlockchainPlatformRequest.

type GetBlockchainPlatformRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

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

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

func (GetBlockchainPlatformRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBlockchainPlatformRequest) RetryPolicy

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

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

func (GetBlockchainPlatformRequest) String

func (request GetBlockchainPlatformRequest) String() string

func (GetBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetBlockchainPlatformResponse

GetBlockchainPlatformResponse wrapper for the GetBlockchainPlatform operation

type GetBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BlockchainPlatform instance
    BlockchainPlatform `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 (GetBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBlockchainPlatformResponse) String

func (response GetBlockchainPlatformResponse) String() string

type GetOsnRequest

GetOsnRequest wrapper for the GetOsn operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/GetOsn.go.html to see an example of how to use GetOsnRequest.

type GetOsnRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // OSN identifier.
    OsnId *string `mandatory:"true" contributesTo:"path" name:"osnId"`

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

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

func (GetOsnRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOsnRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOsnRequest) RetryPolicy

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

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

func (GetOsnRequest) String

func (request GetOsnRequest) String() string

func (GetOsnRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetOsnResponse

GetOsnResponse wrapper for the GetOsn operation

type GetOsnResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Osn instance
    Osn `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 (GetOsnResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOsnResponse) String

func (response GetOsnResponse) String() string

type GetPeerRequest

GetPeerRequest wrapper for the GetPeer operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/GetPeer.go.html to see an example of how to use GetPeerRequest.

type GetPeerRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // Peer identifier.
    PeerId *string `mandatory:"true" contributesTo:"path" name:"peerId"`

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

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

func (GetPeerRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetPeerRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetPeerRequest) RetryPolicy

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

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

func (GetPeerRequest) String

func (request GetPeerRequest) String() string

func (GetPeerRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetPeerResponse

GetPeerResponse wrapper for the GetPeer operation

type GetPeerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Peer instance
    Peer `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 (GetPeerResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetPeerResponse) String

func (response GetPeerResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

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

type GetWorkRequestRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type ListBlockchainPlatformPatchesRequest

ListBlockchainPlatformPatchesRequest wrapper for the ListBlockchainPlatformPatches operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/ListBlockchainPlatformPatches.go.html to see an example of how to use ListBlockchainPlatformPatchesRequest.

type ListBlockchainPlatformPatchesRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // The page at which to start retrieving results.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

func (ListBlockchainPlatformPatchesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBlockchainPlatformPatchesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBlockchainPlatformPatchesRequest) RetryPolicy

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

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

func (ListBlockchainPlatformPatchesRequest) String

func (request ListBlockchainPlatformPatchesRequest) String() string

func (ListBlockchainPlatformPatchesRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListBlockchainPlatformPatchesResponse

ListBlockchainPlatformPatchesResponse wrapper for the ListBlockchainPlatformPatches operation

type ListBlockchainPlatformPatchesResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

HTTPResponse implements the OCIResponse interface

func (ListBlockchainPlatformPatchesResponse) String

func (response ListBlockchainPlatformPatchesResponse) String() string

type ListBlockchainPlatformsRequest

ListBlockchainPlatformsRequest wrapper for the ListBlockchainPlatforms operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/ListBlockchainPlatforms.go.html to see an example of how to use ListBlockchainPlatformsRequest.

type ListBlockchainPlatformsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Example: `My new resource`
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The page at which to start retrieving results.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListBlockchainPlatformsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

    // A filter to only return resources that match the given lifecycle state.
    // The state value is case-insensitive.
    LifecycleState BlockchainPlatformLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 (ListBlockchainPlatformsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBlockchainPlatformsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBlockchainPlatformsRequest) RetryPolicy

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

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

func (ListBlockchainPlatformsRequest) String

func (request ListBlockchainPlatformsRequest) String() string

func (ListBlockchainPlatformsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListBlockchainPlatformsResponse

ListBlockchainPlatformsResponse wrapper for the ListBlockchainPlatforms operation

type ListBlockchainPlatformsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

HTTPResponse implements the OCIResponse interface

func (ListBlockchainPlatformsResponse) String

func (response ListBlockchainPlatformsResponse) String() string

type ListBlockchainPlatformsSortByEnum

ListBlockchainPlatformsSortByEnum Enum with underlying type: string

type ListBlockchainPlatformsSortByEnum string

Set of constants representing the allowable values for ListBlockchainPlatformsSortByEnum

const (
    ListBlockchainPlatformsSortByTimecreated ListBlockchainPlatformsSortByEnum = "timeCreated"
    ListBlockchainPlatformsSortByDisplayname ListBlockchainPlatformsSortByEnum = "displayName"
)

func GetListBlockchainPlatformsSortByEnumValues

func GetListBlockchainPlatformsSortByEnumValues() []ListBlockchainPlatformsSortByEnum

GetListBlockchainPlatformsSortByEnumValues Enumerates the set of values for ListBlockchainPlatformsSortByEnum

func GetMappingListBlockchainPlatformsSortByEnum

func GetMappingListBlockchainPlatformsSortByEnum(val string) (ListBlockchainPlatformsSortByEnum, bool)

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

type ListBlockchainPlatformsSortOrderEnum

ListBlockchainPlatformsSortOrderEnum Enum with underlying type: string

type ListBlockchainPlatformsSortOrderEnum string

Set of constants representing the allowable values for ListBlockchainPlatformsSortOrderEnum

const (
    ListBlockchainPlatformsSortOrderAsc  ListBlockchainPlatformsSortOrderEnum = "ASC"
    ListBlockchainPlatformsSortOrderDesc ListBlockchainPlatformsSortOrderEnum = "DESC"
)

func GetListBlockchainPlatformsSortOrderEnumValues

func GetListBlockchainPlatformsSortOrderEnumValues() []ListBlockchainPlatformsSortOrderEnum

GetListBlockchainPlatformsSortOrderEnumValues Enumerates the set of values for ListBlockchainPlatformsSortOrderEnum

func GetMappingListBlockchainPlatformsSortOrderEnum

func GetMappingListBlockchainPlatformsSortOrderEnum(val string) (ListBlockchainPlatformsSortOrderEnum, bool)

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

type ListOsnsRequest

ListOsnsRequest wrapper for the ListOsns operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/ListOsns.go.html to see an example of how to use ListOsnsRequest.

type ListOsnsRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Example: `My new resource`
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The client request ID for tracing.
    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"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListOsnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

    // The page at which to start retrieving results.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

func (ListOsnsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOsnsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOsnsRequest) RetryPolicy

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

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

func (ListOsnsRequest) String

func (request ListOsnsRequest) String() string

func (ListOsnsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListOsnsResponse

ListOsnsResponse wrapper for the ListOsns operation

type ListOsnsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

HTTPResponse implements the OCIResponse interface

func (ListOsnsResponse) String

func (response ListOsnsResponse) String() string

type ListOsnsSortByEnum

ListOsnsSortByEnum Enum with underlying type: string

type ListOsnsSortByEnum string

Set of constants representing the allowable values for ListOsnsSortByEnum

const (
    ListOsnsSortByTimecreated ListOsnsSortByEnum = "timeCreated"
    ListOsnsSortByDisplayname ListOsnsSortByEnum = "displayName"
)

func GetListOsnsSortByEnumValues

func GetListOsnsSortByEnumValues() []ListOsnsSortByEnum

GetListOsnsSortByEnumValues Enumerates the set of values for ListOsnsSortByEnum

func GetMappingListOsnsSortByEnum

func GetMappingListOsnsSortByEnum(val string) (ListOsnsSortByEnum, bool)

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

type ListOsnsSortOrderEnum

ListOsnsSortOrderEnum Enum with underlying type: string

type ListOsnsSortOrderEnum string

Set of constants representing the allowable values for ListOsnsSortOrderEnum

const (
    ListOsnsSortOrderAsc  ListOsnsSortOrderEnum = "ASC"
    ListOsnsSortOrderDesc ListOsnsSortOrderEnum = "DESC"
)

func GetListOsnsSortOrderEnumValues

func GetListOsnsSortOrderEnumValues() []ListOsnsSortOrderEnum

GetListOsnsSortOrderEnumValues Enumerates the set of values for ListOsnsSortOrderEnum

func GetMappingListOsnsSortOrderEnum

func GetMappingListOsnsSortOrderEnum(val string) (ListOsnsSortOrderEnum, bool)

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

type ListPeersRequest

ListPeersRequest wrapper for the ListPeers operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/ListPeers.go.html to see an example of how to use ListPeersRequest.

type ListPeersRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Example: `My new resource`
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The client request ID for tracing.
    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"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListPeersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

    // The page at which to start retrieving results.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

func (ListPeersRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPeersRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPeersRequest) RetryPolicy

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

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

func (ListPeersRequest) String

func (request ListPeersRequest) String() string

func (ListPeersRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListPeersResponse

ListPeersResponse wrapper for the ListPeers operation

type ListPeersResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

HTTPResponse implements the OCIResponse interface

func (ListPeersResponse) String

func (response ListPeersResponse) String() string

type ListPeersSortByEnum

ListPeersSortByEnum Enum with underlying type: string

type ListPeersSortByEnum string

Set of constants representing the allowable values for ListPeersSortByEnum

const (
    ListPeersSortByTimecreated ListPeersSortByEnum = "timeCreated"
    ListPeersSortByDisplayname ListPeersSortByEnum = "displayName"
)

func GetListPeersSortByEnumValues

func GetListPeersSortByEnumValues() []ListPeersSortByEnum

GetListPeersSortByEnumValues Enumerates the set of values for ListPeersSortByEnum

func GetMappingListPeersSortByEnum

func GetMappingListPeersSortByEnum(val string) (ListPeersSortByEnum, bool)

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

type ListPeersSortOrderEnum

ListPeersSortOrderEnum Enum with underlying type: string

type ListPeersSortOrderEnum string

Set of constants representing the allowable values for ListPeersSortOrderEnum

const (
    ListPeersSortOrderAsc  ListPeersSortOrderEnum = "ASC"
    ListPeersSortOrderDesc ListPeersSortOrderEnum = "DESC"
)

func GetListPeersSortOrderEnumValues

func GetListPeersSortOrderEnumValues() []ListPeersSortOrderEnum

GetListPeersSortOrderEnumValues Enumerates the set of values for ListPeersSortOrderEnum

func GetMappingListPeersSortOrderEnum

func GetMappingListPeersSortOrderEnum(val string) (ListPeersSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

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

type ListWorkRequestErrorsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

    // The page at which to start retrieving results.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

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

type ListWorkRequestLogsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

    // The page at which to start retrieving results.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

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

type ListWorkRequestsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"query" name:"blockchainPlatformId"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

    // The page at which to start retrieving results.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimestarted   ListWorkRequestsSortByEnum = "timeStarted"
    ListWorkRequestsSortByWorkrequestid ListWorkRequestsSortByEnum = "workRequestId"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type MetadataDetails

MetadataDetails Metadata parameter details

type MetadataDetails struct {

    // Metadata param name
    ParamName *string `mandatory:"true" json:"paramName"`

    // Metadata param value. Complex value will be a JSON string.
    ParamValue *string `mandatory:"true" json:"paramValue"`

    // Indicates if the value is a JSON string
    IsJsonValue *bool `mandatory:"true" json:"isJsonValue"`
}

func (MetadataDetails) String

func (m MetadataDetails) String() string

func (MetadataDetails) ValidateEnumValue

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

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

type ModifyPeerDetails

ModifyPeerDetails peer to modify ocpu allocation

type ModifyPeerDetails struct {

    // peer identifier
    PeerName *string `mandatory:"true" json:"peerName"`

    OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"true" json:"ocpuAllocationParam"`
}

func (ModifyPeerDetails) String

func (m ModifyPeerDetails) String() string

func (ModifyPeerDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 OcpuAllocationNumberParam

OcpuAllocationNumberParam OCPU allocation parameter

type OcpuAllocationNumberParam struct {

    // Number of OCPU allocation
    OcpuAllocationNumber *float32 `mandatory:"true" json:"ocpuAllocationNumber"`
}

func (OcpuAllocationNumberParam) String

func (m OcpuAllocationNumberParam) String() string

func (OcpuAllocationNumberParam) ValidateEnumValue

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

ValidateEnumValue returns an 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 OcpuUtilizationInfo

OcpuUtilizationInfo Ocpu utilization for a VM host

type OcpuUtilizationInfo struct {

    // Host name of VM
    Host *string `mandatory:"false" json:"host"`

    // Number of OCPU utilized
    OcpuUtilizationNumber *float32 `mandatory:"false" json:"ocpuUtilizationNumber"`

    // Number of total OCPU capacity on the host
    OcpuCapacityNumber *float32 `mandatory:"false" json:"ocpuCapacityNumber"`
}

func (OcpuUtilizationInfo) String

func (m OcpuUtilizationInfo) String() string

func (OcpuUtilizationInfo) ValidateEnumValue

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

ValidateEnumValue returns an 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 Osn

Osn An Ordering Service Node details

type Osn struct {

    // OSN identifier
    OsnKey *string `mandatory:"true" json:"osnKey"`

    // Availability Domain of OSN
    Ad AvailabilityDomainAdsEnum `mandatory:"true" json:"ad"`

    OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"false" json:"ocpuAllocationParam"`

    // The current state of the OSN.
    LifecycleState OsnLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

func (Osn) String

func (m Osn) String() string

func (Osn) ValidateEnumValue

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

ValidateEnumValue returns an 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 OsnCollection

OsnCollection Result of a OSN list or search. Contains OsnSummary

type OsnCollection struct {

    // Collection of OsnSummary
    Items []OsnSummary `mandatory:"true" json:"items"`
}

func (OsnCollection) String

func (m OsnCollection) String() string

func (OsnCollection) ValidateEnumValue

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

ValidateEnumValue returns an 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 OsnLifecycleStateEnum

OsnLifecycleStateEnum Enum with underlying type: string

type OsnLifecycleStateEnum string

Set of constants representing the allowable values for OsnLifecycleStateEnum

const (
    OsnLifecycleStateActive   OsnLifecycleStateEnum = "ACTIVE"
    OsnLifecycleStateInactive OsnLifecycleStateEnum = "INACTIVE"
    OsnLifecycleStateFailed   OsnLifecycleStateEnum = "FAILED"
)

func GetMappingOsnLifecycleStateEnum

func GetMappingOsnLifecycleStateEnum(val string) (OsnLifecycleStateEnum, bool)

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

func GetOsnLifecycleStateEnumValues

func GetOsnLifecycleStateEnumValues() []OsnLifecycleStateEnum

GetOsnLifecycleStateEnumValues Enumerates the set of values for OsnLifecycleStateEnum

type OsnSummary

OsnSummary OSN summary information for returning in a list.

type OsnSummary struct {

    // OSN identifier
    OsnKey *string `mandatory:"false" json:"osnKey"`

    // The current state of the OSN.
    LifecycleState OsnLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

func (OsnSummary) String

func (m OsnSummary) String() string

func (OsnSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 Peer

Peer A Peer details

type Peer struct {

    // peer identifier
    PeerKey *string `mandatory:"true" json:"peerKey"`

    // Peer role
    Role PeerRoleRoleEnum `mandatory:"true" json:"role"`

    // Host on which the Peer exists
    Host *string `mandatory:"true" json:"host"`

    // Availability Domain of peer
    Ad AvailabilityDomainAdsEnum `mandatory:"true" json:"ad"`

    // peer alias
    Alias *string `mandatory:"false" json:"alias"`

    OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"false" json:"ocpuAllocationParam"`

    // The current state of the peer.
    LifecycleState PeerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

func (Peer) String

func (m Peer) String() string

func (Peer) ValidateEnumValue

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

ValidateEnumValue returns an 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 PeerCollection

PeerCollection Result of a peer list or search. Contains PeerSummary

type PeerCollection struct {

    // Collection of PeerSummary
    Items []PeerSummary `mandatory:"true" json:"items"`
}

func (PeerCollection) String

func (m PeerCollection) String() string

func (PeerCollection) ValidateEnumValue

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

ValidateEnumValue returns an 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 PeerLifecycleStateEnum

PeerLifecycleStateEnum Enum with underlying type: string

type PeerLifecycleStateEnum string

Set of constants representing the allowable values for PeerLifecycleStateEnum

const (
    PeerLifecycleStateActive   PeerLifecycleStateEnum = "ACTIVE"
    PeerLifecycleStateInactive PeerLifecycleStateEnum = "INACTIVE"
    PeerLifecycleStateFailed   PeerLifecycleStateEnum = "FAILED"
)

func GetMappingPeerLifecycleStateEnum

func GetMappingPeerLifecycleStateEnum(val string) (PeerLifecycleStateEnum, bool)

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

func GetPeerLifecycleStateEnumValues

func GetPeerLifecycleStateEnumValues() []PeerLifecycleStateEnum

GetPeerLifecycleStateEnumValues Enumerates the set of values for PeerLifecycleStateEnum

type PeerRole

PeerRole Peer role

type PeerRole struct {

    // Peer role names
    Role PeerRoleRoleEnum `mandatory:"false" json:"role,omitempty"`
}

func (PeerRole) String

func (m PeerRole) String() string

func (PeerRole) ValidateEnumValue

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

ValidateEnumValue returns an 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 PeerRoleRoleEnum

PeerRoleRoleEnum Enum with underlying type: string

type PeerRoleRoleEnum string

Set of constants representing the allowable values for PeerRoleRoleEnum

const (
    PeerRoleRoleMember PeerRoleRoleEnum = "MEMBER"
    PeerRoleRoleAdmin  PeerRoleRoleEnum = "ADMIN"
)

func GetMappingPeerRoleRoleEnum

func GetMappingPeerRoleRoleEnum(val string) (PeerRoleRoleEnum, bool)

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

func GetPeerRoleRoleEnumValues

func GetPeerRoleRoleEnumValues() []PeerRoleRoleEnum

GetPeerRoleRoleEnumValues Enumerates the set of values for PeerRoleRoleEnum

type PeerSummary

PeerSummary Peer summary information for returning in a list.

type PeerSummary struct {

    // Peer identifier
    PeerKey *string `mandatory:"false" json:"peerKey"`

    // The current state of the peer.
    LifecycleState PeerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

func (PeerSummary) String

func (m PeerSummary) String() string

func (PeerSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 PreviewScaleBlockchainPlatformRequest

PreviewScaleBlockchainPlatformRequest wrapper for the PreviewScaleBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/PreviewScaleBlockchainPlatform.go.html to see an example of how to use PreviewScaleBlockchainPlatformRequest.

type PreviewScaleBlockchainPlatformRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // Input payload to scaleout blockchain platform. The payload cannot be empty.
    ScaleBlockchainPlatformDetails `contributesTo:"body"`

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

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

func (PreviewScaleBlockchainPlatformRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PreviewScaleBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PreviewScaleBlockchainPlatformRequest) RetryPolicy

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

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

func (PreviewScaleBlockchainPlatformRequest) String

func (request PreviewScaleBlockchainPlatformRequest) String() string

func (PreviewScaleBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 PreviewScaleBlockchainPlatformResponse

PreviewScaleBlockchainPlatformResponse wrapper for the PreviewScaleBlockchainPlatform operation

type PreviewScaleBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ScaledBlockchainPlatformPreview instance
    ScaledBlockchainPlatformPreview `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 (PreviewScaleBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PreviewScaleBlockchainPlatformResponse) String

func (response PreviewScaleBlockchainPlatformResponse) String() string

type ReplicaDetails

ReplicaDetails Number of replicas of service components like Rest Proxy, CA and Console

type ReplicaDetails struct {

    // Number of REST proxy replicas
    ProxyCount *int `mandatory:"false" json:"proxyCount"`

    // Number of CA replicas
    CaCount *int `mandatory:"false" json:"caCount"`

    // Number of console replicas
    ConsoleCount *int `mandatory:"false" json:"consoleCount"`
}

func (ReplicaDetails) String

func (m ReplicaDetails) String() string

func (ReplicaDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 ScaleBlockchainPlatformDetails

ScaleBlockchainPlatformDetails Scale operation details for a blockchain platform. The scale operation payload has multiple options - Add one or more Ordering Service Node (addOsns) - Add one or more Peers (addPeers) - Add more replicas of CA, Console and Rest Proxy (addReplicas) - Add more storage to the platform (addStorage) - Modify the CPU allocation for Peer Nodes (modifyPeers) - Remove one or more replicas of CA, Console and Rest Proxy (removeReplicas) - Remove one or more Ordering Service Node (removeOsns) - Remove one or more Peers (removePeers). The scale operation payload must have at least one of the above options.

type ScaleBlockchainPlatformDetails struct {

    // new OSNs to add
    AddOsns []CreateOsnDetails `mandatory:"false" json:"addOsns"`

    AddReplicas *ReplicaDetails `mandatory:"false" json:"addReplicas"`

    // new Peers to add
    AddPeers []CreatePeerDetails `mandatory:"false" json:"addPeers"`

    AddStorage *ScaleStorageDetails `mandatory:"false" json:"addStorage"`

    // modify ocpu allocation to existing Peers
    ModifyPeers []ModifyPeerDetails `mandatory:"false" json:"modifyPeers"`

    RemoveReplicas *ReplicaDetails `mandatory:"false" json:"removeReplicas"`

    // OSN id list to remove
    RemoveOsns []string `mandatory:"false" json:"removeOsns"`

    // Peer id list to remove
    RemovePeers []string `mandatory:"false" json:"removePeers"`
}

func (ScaleBlockchainPlatformDetails) String

func (m ScaleBlockchainPlatformDetails) String() string

func (ScaleBlockchainPlatformDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 ScaleBlockchainPlatformRequest

ScaleBlockchainPlatformRequest wrapper for the ScaleBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/ScaleBlockchainPlatform.go.html to see an example of how to use ScaleBlockchainPlatformRequest.

type ScaleBlockchainPlatformRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // Input payload to scaleout blockchain platform. The payload cannot be empty.
    ScaleBlockchainPlatformDetails `contributesTo:"body"`

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

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (ScaleBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ScaleBlockchainPlatformRequest) RetryPolicy

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

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

func (ScaleBlockchainPlatformRequest) String

func (request ScaleBlockchainPlatformRequest) String() string

func (ScaleBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ScaleBlockchainPlatformResponse

ScaleBlockchainPlatformResponse wrapper for the ScaleBlockchainPlatform operation

type ScaleBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ScaleBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScaleBlockchainPlatformResponse) String

func (response ScaleBlockchainPlatformResponse) String() string

type ScaleStorageDetails

ScaleStorageDetails storage size to increase

type ScaleStorageDetails struct {

    // Storage size in TBs
    StorageSizeInTBs *int `mandatory:"true" json:"storageSizeInTBs"`
}

func (ScaleStorageDetails) String

func (m ScaleStorageDetails) String() string

func (ScaleStorageDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 ScaledBlockchainPlatformPreview

ScaledBlockchainPlatformPreview Blockchain Platform Instance Description Preview after Scaling.

type ScaledBlockchainPlatformPreview struct {

    // unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // Platform Instance Display name, can be renamed
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
    ComputeShape *string `mandatory:"true" json:"computeShape"`

    // Platform Instance Description
    Description *string `mandatory:"false" json:"description"`

    // Storage size in TBs
    StorageSizeInTBs *float64 `mandatory:"false" json:"storageSizeInTBs"`

    // Storage size in TBs post scaling
    StorageSizeInTBsPostScaling *float64 `mandatory:"false" json:"storageSizeInTBsPostScaling"`

    ComponentDetails *BlockchainPlatformComponentDetails `mandatory:"false" json:"componentDetails"`

    Replicas *ReplicaDetails `mandatory:"false" json:"replicas"`

    ComponentDetailsPostScaling *BlockchainPlatformComponentDetails `mandatory:"false" json:"componentDetailsPostScaling"`

    ReplicasPostScaling *ReplicaDetails `mandatory:"false" json:"replicasPostScaling"`

    // List of OcpuUtilization for all hosts
    HostOcpuUtilizationInfo []OcpuUtilizationInfo `mandatory:"false" json:"hostOcpuUtilizationInfo"`

    // List of OcpuUtilization for all hosts after scaling
    HostOcpuUtilizationInfoPostScaling []OcpuUtilizationInfo `mandatory:"false" json:"hostOcpuUtilizationInfoPostScaling"`

    // Number of new VMs that would be created
    NewVmCount *int `mandatory:"false" json:"newVmCount"`

    MeteringPreview *ScaledPlatformMeteringPreview `mandatory:"false" json:"meteringPreview"`

    ScalePayload *ScaleBlockchainPlatformDetails `mandatory:"false" json:"scalePayload"`
}

func (ScaledBlockchainPlatformPreview) String

func (m ScaledBlockchainPlatformPreview) String() string

func (ScaledBlockchainPlatformPreview) ValidateEnumValue

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

ValidateEnumValue returns an 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 ScaledPlatformMeteringPreview

ScaledPlatformMeteringPreview Blockchain Platform Metering Preview after Scaling

type ScaledPlatformMeteringPreview struct {

    // Number of total OCPU allocation for the blockchain platform
    TotalOcpuAllocation *float32 `mandatory:"false" json:"totalOcpuAllocation"`

    // Number of total OCPU allocation for the blockchain platform after Scaling
    TotalOcpuAllocationPostScaling *float32 `mandatory:"false" json:"totalOcpuAllocationPostScaling"`

    // Current Storage metered units in TBs
    StorageMeteredUnits *float64 `mandatory:"false" json:"storageMeteredUnits"`

    // Extra Storage units required in TBs
    ExtraStorageMeteredUnits *float64 `mandatory:"false" json:"extraStorageMeteredUnits"`

    // Total Post Scaling Storage metered units in TBs
    StorageMeteredUnitsPostScaling *float64 `mandatory:"false" json:"storageMeteredUnitsPostScaling"`
}

func (ScaledPlatformMeteringPreview) String

func (m ScaledPlatformMeteringPreview) String() string

func (ScaledPlatformMeteringPreview) ValidateEnumValue

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

ValidateEnumValue returns an 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 StartBlockchainPlatformRequest

StartBlockchainPlatformRequest wrapper for the StartBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/StartBlockchainPlatform.go.html to see an example of how to use StartBlockchainPlatformRequest.

type StartBlockchainPlatformRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

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

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (StartBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StartBlockchainPlatformRequest) RetryPolicy

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

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

func (StartBlockchainPlatformRequest) String

func (request StartBlockchainPlatformRequest) String() string

func (StartBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 StartBlockchainPlatformResponse

StartBlockchainPlatformResponse wrapper for the StartBlockchainPlatform operation

type StartBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (StartBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartBlockchainPlatformResponse) String

func (response StartBlockchainPlatformResponse) String() string

type StopBlockchainPlatformRequest

StopBlockchainPlatformRequest wrapper for the StopBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/StopBlockchainPlatform.go.html to see an example of how to use StopBlockchainPlatformRequest.

type StopBlockchainPlatformRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

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

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (StopBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StopBlockchainPlatformRequest) RetryPolicy

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

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

func (StopBlockchainPlatformRequest) String

func (request StopBlockchainPlatformRequest) String() string

func (StopBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 StopBlockchainPlatformResponse

StopBlockchainPlatformResponse wrapper for the StopBlockchainPlatform operation

type StopBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (StopBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StopBlockchainPlatformResponse) String

func (response StopBlockchainPlatformResponse) String() string

type UpdateBlockchainPlatformDetails

UpdateBlockchainPlatformDetails Blockchain Platform details for updating a service.

type UpdateBlockchainPlatformDetails struct {

    // Platform Description
    Description *string `mandatory:"false" json:"description"`

    // Storage size in TBs
    StorageSizeInTBs *float64 `mandatory:"false" json:"storageSizeInTBs"`

    Replicas *ReplicaDetails `mandatory:"false" json:"replicas"`

    // Number of total OCPUs to allocate
    TotalOcpuCapacity *int `mandatory:"false" json:"totalOcpuCapacity"`

    // Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.
    LoadBalancerShape BlockchainPlatformLoadBalancerShapeEnum `mandatory:"false" json:"loadBalancerShape,omitempty"`

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

func (m UpdateBlockchainPlatformDetails) String() string

func (UpdateBlockchainPlatformDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateBlockchainPlatformRequest

UpdateBlockchainPlatformRequest wrapper for the UpdateBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/UpdateBlockchainPlatform.go.html to see an example of how to use UpdateBlockchainPlatformRequest.

type UpdateBlockchainPlatformRequest struct {

    // The Blockchain Platform fields to update. Fields that are not provided will not be updated.
    UpdateBlockchainPlatformDetails `contributesTo:"body"`

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // The client request ID for tracing.
    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"`

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

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateBlockchainPlatformRequest) RetryPolicy

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

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

func (UpdateBlockchainPlatformRequest) String

func (request UpdateBlockchainPlatformRequest) String() string

func (UpdateBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateBlockchainPlatformResponse

UpdateBlockchainPlatformResponse wrapper for the UpdateBlockchainPlatform operation

type UpdateBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (UpdateBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateBlockchainPlatformResponse) String

func (response UpdateBlockchainPlatformResponse) String() string

type UpdateOsnDetails

UpdateOsnDetails OSN attributes that can be updated.

type UpdateOsnDetails struct {
    OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"true" json:"ocpuAllocationParam"`
}

func (UpdateOsnDetails) String

func (m UpdateOsnDetails) String() string

func (UpdateOsnDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateOsnRequest

UpdateOsnRequest wrapper for the UpdateOsn operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/UpdateOsn.go.html to see an example of how to use UpdateOsnRequest.

type UpdateOsnRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // OSN identifier.
    OsnId *string `mandatory:"true" contributesTo:"path" name:"osnId"`

    // Input payload to update a blockchain platform OSN. The payload cannot be empty.
    UpdateOsnDetails `contributesTo:"body"`

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

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOsnRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOsnRequest) RetryPolicy

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

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

func (UpdateOsnRequest) String

func (request UpdateOsnRequest) String() string

func (UpdateOsnRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateOsnResponse

UpdateOsnResponse wrapper for the UpdateOsn operation

type UpdateOsnResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (UpdateOsnResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOsnResponse) String

func (response UpdateOsnResponse) String() string

type UpdatePeerDetails

UpdatePeerDetails peer to modify ocpu allocation

type UpdatePeerDetails struct {
    OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"true" json:"ocpuAllocationParam"`
}

func (UpdatePeerDetails) String

func (m UpdatePeerDetails) String() string

func (UpdatePeerDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdatePeerRequest

UpdatePeerRequest wrapper for the UpdatePeer operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/UpdatePeer.go.html to see an example of how to use UpdatePeerRequest.

type UpdatePeerRequest struct {

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

    // Peer identifier.
    PeerId *string `mandatory:"true" contributesTo:"path" name:"peerId"`

    // Input payload to update a blockchain platform peer. The payload cannot be empty.
    UpdatePeerDetails `contributesTo:"body"`

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

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (UpdatePeerRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdatePeerRequest) RetryPolicy

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

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

func (UpdatePeerRequest) String

func (request UpdatePeerRequest) String() string

func (UpdatePeerRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdatePeerResponse

UpdatePeerResponse wrapper for the UpdatePeer operation

type UpdatePeerResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (UpdatePeerResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdatePeerResponse) String

func (response UpdatePeerResponse) String() string

type UpgradeBlockchainPlatformDetails

UpgradeBlockchainPlatformDetails Input payload to upgrade the blockchain platform.

type UpgradeBlockchainPlatformDetails struct {

    // The patch ID corresponding to the version to which platform will be upgraded.
    PatchId *string `mandatory:"true" json:"patchId"`
}

func (UpgradeBlockchainPlatformDetails) String

func (m UpgradeBlockchainPlatformDetails) String() string

func (UpgradeBlockchainPlatformDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpgradeBlockchainPlatformRequest

UpgradeBlockchainPlatformRequest wrapper for the UpgradeBlockchainPlatform operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/blockchain/UpgradeBlockchainPlatform.go.html to see an example of how to use UpgradeBlockchainPlatformRequest.

type UpgradeBlockchainPlatformRequest struct {

    // Details for the new version to which it needs to be upgraded.
    UpgradeBlockchainPlatformDetails `contributesTo:"body"`

    // Unique service identifier.
    BlockchainPlatformId *string `mandatory:"true" contributesTo:"path" name:"blockchainPlatformId"`

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

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

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

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

BinaryRequestBody implements the OCIRequest interface

func (UpgradeBlockchainPlatformRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpgradeBlockchainPlatformRequest) RetryPolicy

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

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

func (UpgradeBlockchainPlatformRequest) String

func (request UpgradeBlockchainPlatformRequest) String() string

func (UpgradeBlockchainPlatformRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpgradeBlockchainPlatformResponse

UpgradeBlockchainPlatformResponse wrapper for the UpgradeBlockchainPlatform operation

type UpgradeBlockchainPlatformResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (UpgradeBlockchainPlatformResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpgradeBlockchainPlatformResponse) String

func (response UpgradeBlockchainPlatformResponse) String() string

type WorkRequest

WorkRequest A description of workrequest status

type WorkRequest struct {

    // type of the work request
    OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"`

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

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

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

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

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

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

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

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestCollection

WorkRequestCollection Result of a platform list or search. Contains WorkRequestSummary

type WorkRequestCollection struct {

    // Collection of WorkRequestSummary
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

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

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

type WorkRequestError

WorkRequestError An error encountered while executing a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed on
    // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

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

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

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

WorkRequestErrorCollection Result of a platform list or search. Contains WorkRequestError

type WorkRequestErrorCollection struct {

    // Collection of WorkRequestError
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a work request.

type WorkRequestLogEntry struct {

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

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

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection Result of a platform lpnist or search. Contains WorkRequestLogEntry

type WorkRequestLogEntryCollection struct {

    // Collection of WorkRequestLogEntry
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestOperationTypeEnum

WorkRequestOperationTypeEnum Enum with underlying type: string

type WorkRequestOperationTypeEnum string

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

const (
    WorkRequestOperationTypeCreatePlatform    WorkRequestOperationTypeEnum = "CREATE_PLATFORM"
    WorkRequestOperationTypeUpdatePlatform    WorkRequestOperationTypeEnum = "UPDATE_PLATFORM"
    WorkRequestOperationTypeUpgradePlatform   WorkRequestOperationTypeEnum = "UPGRADE_PLATFORM"
    WorkRequestOperationTypeDeletePlatform    WorkRequestOperationTypeEnum = "DELETE_PLATFORM"
    WorkRequestOperationTypeScalePlatform     WorkRequestOperationTypeEnum = "SCALE_PLATFORM"
    WorkRequestOperationTypeStartPlatform     WorkRequestOperationTypeEnum = "START_PLATFORM"
    WorkRequestOperationTypeStopPlatform      WorkRequestOperationTypeEnum = "STOP_PLATFORM"
    WorkRequestOperationTypeCustomizePlatform WorkRequestOperationTypeEnum = "CUSTOMIZE_PLATFORM"
    WorkRequestOperationTypeScaleStorage      WorkRequestOperationTypeEnum = "SCALE_STORAGE"
)

func GetMappingWorkRequestOperationTypeEnum

func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)

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

func GetWorkRequestOperationTypeEnumValues

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource

WorkRequestResource A resource created or operated on by a work request.

type WorkRequestResource struct {

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

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

    // The identifier of the resource the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

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

    // Collection of SubType information for a work request resource©
    SubTypeDetails []WorkRequestResourceSubTypeDetail `mandatory:"false" json:"subTypeDetails"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceActionTypeEnum

WorkRequestResourceActionTypeEnum Enum with underlying type: string

type WorkRequestResourceActionTypeEnum string

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

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

func GetMappingWorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)

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

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestResourceSubTypeDetail

WorkRequestResourceSubTypeDetail SubType information for a work request resource.

type WorkRequestResourceSubTypeDetail struct {

    // Subtype of the work request resource like osn or peer.
    SubType *string `mandatory:"true" json:"subType"`

    // The identifier of the resource subType.
    SubTypeKey *string `mandatory:"true" json:"subTypeKey"`

    // Status of the resource subType, as a result of the work tracked in this work request.
    // A resource subType would be CREATED, UPDATED or DELETED, after the work request is completed.
    SubTypeStatus WorkRequestResourceSubTypeDetailSubTypeStatusEnum `mandatory:"true" json:"subTypeStatus"`
}

func (WorkRequestResourceSubTypeDetail) String

func (m WorkRequestResourceSubTypeDetail) String() string

func (WorkRequestResourceSubTypeDetail) ValidateEnumValue

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

ValidateEnumValue returns an 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 WorkRequestResourceSubTypeDetailSubTypeStatusEnum

WorkRequestResourceSubTypeDetailSubTypeStatusEnum Enum with underlying type: string

type WorkRequestResourceSubTypeDetailSubTypeStatusEnum string

Set of constants representing the allowable values for WorkRequestResourceSubTypeDetailSubTypeStatusEnum

const (
    WorkRequestResourceSubTypeDetailSubTypeStatusCreated WorkRequestResourceSubTypeDetailSubTypeStatusEnum = "CREATED"
    WorkRequestResourceSubTypeDetailSubTypeStatusUpdated WorkRequestResourceSubTypeDetailSubTypeStatusEnum = "UPDATED"
    WorkRequestResourceSubTypeDetailSubTypeStatusDeleted WorkRequestResourceSubTypeDetailSubTypeStatusEnum = "DELETED"
)

func GetMappingWorkRequestResourceSubTypeDetailSubTypeStatusEnum

func GetMappingWorkRequestResourceSubTypeDetailSubTypeStatusEnum(val string) (WorkRequestResourceSubTypeDetailSubTypeStatusEnum, bool)

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

func GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumValues

func GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumValues() []WorkRequestResourceSubTypeDetailSubTypeStatusEnum

GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumValues Enumerates the set of values for WorkRequestResourceSubTypeDetailSubTypeStatusEnum

type WorkRequestStatusEnum

WorkRequestStatusEnum Enum with underlying type: string

type WorkRequestStatusEnum string

Set of constants representing the allowable values for WorkRequestStatusEnum

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

func GetMappingWorkRequestStatusEnum

func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)

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

func GetWorkRequestStatusEnumValues

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

type WorkRequestSummary

WorkRequestSummary A description of workrequest status

type WorkRequestSummary struct {

    // type of the work request
    OperationType WorkRequestSummaryOperationTypeEnum `mandatory:"true" json:"operationType"`

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

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

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

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

    // status of current work request.
    Status WorkRequestStatusEnum `mandatory:"false" json:"status,omitempty"`

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

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

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 WorkRequestSummaryOperationTypeEnum

WorkRequestSummaryOperationTypeEnum Enum with underlying type: string

type WorkRequestSummaryOperationTypeEnum string

Set of constants representing the allowable values for WorkRequestSummaryOperationTypeEnum

const (
    WorkRequestSummaryOperationTypeCreatePlatform    WorkRequestSummaryOperationTypeEnum = "CREATE_PLATFORM"
    WorkRequestSummaryOperationTypeUpdatePlatform    WorkRequestSummaryOperationTypeEnum = "UPDATE_PLATFORM"
    WorkRequestSummaryOperationTypeUpgradePlatform   WorkRequestSummaryOperationTypeEnum = "UPGRADE_PLATFORM"
    WorkRequestSummaryOperationTypeDeletePlatform    WorkRequestSummaryOperationTypeEnum = "DELETE_PLATFORM"
    WorkRequestSummaryOperationTypeScalePlatform     WorkRequestSummaryOperationTypeEnum = "SCALE_PLATFORM"
    WorkRequestSummaryOperationTypeStartPlatform     WorkRequestSummaryOperationTypeEnum = "START_PLATFORM"
    WorkRequestSummaryOperationTypeStopPlatform      WorkRequestSummaryOperationTypeEnum = "STOP_PLATFORM"
    WorkRequestSummaryOperationTypeCustomizePlatform WorkRequestSummaryOperationTypeEnum = "CUSTOMIZE_PLATFORM"
    WorkRequestSummaryOperationTypeScaleStorage      WorkRequestSummaryOperationTypeEnum = "SCALE_STORAGE"
)

func GetMappingWorkRequestSummaryOperationTypeEnum

func GetMappingWorkRequestSummaryOperationTypeEnum(val string) (WorkRequestSummaryOperationTypeEnum, bool)

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

func GetWorkRequestSummaryOperationTypeEnumValues

func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum

GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum