...

Package blockchain

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

Overview ▾

Index ▾

type AvailabilityDomain
    func (m AvailabilityDomain) String() string
type AvailabilityDomainAdsEnum
    func GetAvailabilityDomainAdsEnumValues() []AvailabilityDomainAdsEnum
type BlockchainPlatform
    func (m BlockchainPlatform) String() string
type BlockchainPlatformByHostname
    func (m BlockchainPlatformByHostname) String() string
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) 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)
type BlockchainPlatformCollection
    func (m BlockchainPlatformCollection) String() string
type BlockchainPlatformComponentDetails
    func (m BlockchainPlatformComponentDetails) String() string
type BlockchainPlatformComputeShapeEnum
    func GetBlockchainPlatformComputeShapeEnumValues() []BlockchainPlatformComputeShapeEnum
type BlockchainPlatformLifecycleStateEnum
    func GetBlockchainPlatformLifecycleStateEnumValues() []BlockchainPlatformLifecycleStateEnum
type BlockchainPlatformLoadBalancerShapeEnum
    func GetBlockchainPlatformLoadBalancerShapeEnumValues() []BlockchainPlatformLoadBalancerShapeEnum
type BlockchainPlatformPlatformRoleEnum
    func GetBlockchainPlatformPlatformRoleEnumValues() []BlockchainPlatformPlatformRoleEnum
type BlockchainPlatformPlatformShapeTypeEnum
    func GetBlockchainPlatformPlatformShapeTypeEnumValues() []BlockchainPlatformPlatformShapeTypeEnum
type BlockchainPlatformSummary
    func (m BlockchainPlatformSummary) String() string
type ChangeBlockchainPlatformCompartmentDetails
    func (m ChangeBlockchainPlatformCompartmentDetails) String() string
type ChangeBlockchainPlatformCompartmentRequest
    func (request ChangeBlockchainPlatformCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ChangeBlockchainPlatformCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeBlockchainPlatformCompartmentRequest) String() string
type ChangeBlockchainPlatformCompartmentResponse
    func (response ChangeBlockchainPlatformCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeBlockchainPlatformCompartmentResponse) String() string
type CreateBlockchainPlatformDetails
    func (m CreateBlockchainPlatformDetails) String() string
type CreateBlockchainPlatformRequest
    func (request CreateBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBlockchainPlatformRequest) String() string
type CreateBlockchainPlatformResponse
    func (response CreateBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response CreateBlockchainPlatformResponse) String() string
type CreateOsnDetails
    func (m CreateOsnDetails) String() string
type CreateOsnRequest
    func (request CreateOsnRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateOsnRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOsnRequest) String() string
type CreateOsnResponse
    func (response CreateOsnResponse) HTTPResponse() *http.Response
    func (response CreateOsnResponse) String() string
type CreatePeerDetails
    func (m CreatePeerDetails) String() string
type CreatePeerRequest
    func (request CreatePeerRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreatePeerRequest) RetryPolicy() *common.RetryPolicy
    func (request CreatePeerRequest) String() string
type CreatePeerResponse
    func (response CreatePeerResponse) HTTPResponse() *http.Response
    func (response CreatePeerResponse) String() string
type DeleteBlockchainPlatformRequest
    func (request DeleteBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBlockchainPlatformRequest) String() string
type DeleteBlockchainPlatformResponse
    func (response DeleteBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response DeleteBlockchainPlatformResponse) String() string
type DeleteOsnRequest
    func (request DeleteOsnRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteOsnRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOsnRequest) String() string
type DeleteOsnResponse
    func (response DeleteOsnResponse) HTTPResponse() *http.Response
    func (response DeleteOsnResponse) String() string
type DeletePeerRequest
    func (request DeletePeerRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeletePeerRequest) RetryPolicy() *common.RetryPolicy
    func (request DeletePeerRequest) String() string
type DeletePeerResponse
    func (response DeletePeerResponse) HTTPResponse() *http.Response
    func (response DeletePeerResponse) String() string
type DeleteWorkRequestRequest
    func (request DeleteWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteWorkRequestRequest) String() string
type DeleteWorkRequestResponse
    func (response DeleteWorkRequestResponse) HTTPResponse() *http.Response
    func (response DeleteWorkRequestResponse) String() string
type GetBlockchainPlatformRequest
    func (request GetBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBlockchainPlatformRequest) String() string
type GetBlockchainPlatformResponse
    func (response GetBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response GetBlockchainPlatformResponse) String() string
type GetOsnRequest
    func (request GetOsnRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetOsnRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOsnRequest) String() string
type GetOsnResponse
    func (response GetOsnResponse) HTTPResponse() *http.Response
    func (response GetOsnResponse) String() string
type GetPeerRequest
    func (request GetPeerRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetPeerRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPeerRequest) String() string
type GetPeerResponse
    func (response GetPeerResponse) HTTPResponse() *http.Response
    func (response GetPeerResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type ListBlockchainPlatformsRequest
    func (request ListBlockchainPlatformsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListBlockchainPlatformsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBlockchainPlatformsRequest) String() string
type ListBlockchainPlatformsResponse
    func (response ListBlockchainPlatformsResponse) HTTPResponse() *http.Response
    func (response ListBlockchainPlatformsResponse) String() string
type ListBlockchainPlatformsSortByEnum
    func GetListBlockchainPlatformsSortByEnumValues() []ListBlockchainPlatformsSortByEnum
type ListBlockchainPlatformsSortOrderEnum
    func GetListBlockchainPlatformsSortOrderEnumValues() []ListBlockchainPlatformsSortOrderEnum
type ListOsnsRequest
    func (request ListOsnsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListOsnsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOsnsRequest) String() string
type ListOsnsResponse
    func (response ListOsnsResponse) HTTPResponse() *http.Response
    func (response ListOsnsResponse) String() string
type ListOsnsSortByEnum
    func GetListOsnsSortByEnumValues() []ListOsnsSortByEnum
type ListOsnsSortOrderEnum
    func GetListOsnsSortOrderEnumValues() []ListOsnsSortOrderEnum
type ListPeersRequest
    func (request ListPeersRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListPeersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPeersRequest) String() string
type ListPeersResponse
    func (response ListPeersResponse) HTTPResponse() *http.Response
    func (response ListPeersResponse) String() string
type ListPeersSortByEnum
    func GetListPeersSortByEnumValues() []ListPeersSortByEnum
type ListPeersSortOrderEnum
    func GetListPeersSortOrderEnumValues() []ListPeersSortOrderEnum
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
type MetadataDetails
    func (m MetadataDetails) String() string
type ModifyPeerDetails
    func (m ModifyPeerDetails) String() string
type OcpuAllocationNumberParam
    func (m OcpuAllocationNumberParam) String() string
type OcpuUtilizationInfo
    func (m OcpuUtilizationInfo) String() string
type Osn
    func (m Osn) String() string
type OsnCollection
    func (m OsnCollection) String() string
type OsnLifecycleStateEnum
    func GetOsnLifecycleStateEnumValues() []OsnLifecycleStateEnum
type OsnSummary
    func (m OsnSummary) String() string
type Peer
    func (m Peer) String() string
type PeerCollection
    func (m PeerCollection) String() string
type PeerLifecycleStateEnum
    func GetPeerLifecycleStateEnumValues() []PeerLifecycleStateEnum
type PeerRole
    func (m PeerRole) String() string
type PeerRoleRoleEnum
    func GetPeerRoleRoleEnumValues() []PeerRoleRoleEnum
type PeerSummary
    func (m PeerSummary) String() string
type PreviewScaleBlockchainPlatformRequest
    func (request PreviewScaleBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request PreviewScaleBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request PreviewScaleBlockchainPlatformRequest) String() string
type PreviewScaleBlockchainPlatformResponse
    func (response PreviewScaleBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response PreviewScaleBlockchainPlatformResponse) String() string
type ReplicaDetails
    func (m ReplicaDetails) String() string
type ScaleBlockchainPlatformDetails
    func (m ScaleBlockchainPlatformDetails) String() string
type ScaleBlockchainPlatformRequest
    func (request ScaleBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ScaleBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request ScaleBlockchainPlatformRequest) String() string
type ScaleBlockchainPlatformResponse
    func (response ScaleBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response ScaleBlockchainPlatformResponse) String() string
type ScaleStorageDetails
    func (m ScaleStorageDetails) String() string
type ScaledBlockchainPlatformPreview
    func (m ScaledBlockchainPlatformPreview) String() string
type ScaledPlatformMeteringPreview
    func (m ScaledPlatformMeteringPreview) String() string
type StartBlockchainPlatformRequest
    func (request StartBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request StartBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request StartBlockchainPlatformRequest) String() string
type StartBlockchainPlatformResponse
    func (response StartBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response StartBlockchainPlatformResponse) String() string
type StopBlockchainPlatformRequest
    func (request StopBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request StopBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request StopBlockchainPlatformRequest) String() string
type StopBlockchainPlatformResponse
    func (response StopBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response StopBlockchainPlatformResponse) String() string
type UpdateBlockchainPlatformDetails
    func (m UpdateBlockchainPlatformDetails) String() string
type UpdateBlockchainPlatformRequest
    func (request UpdateBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBlockchainPlatformRequest) String() string
type UpdateBlockchainPlatformResponse
    func (response UpdateBlockchainPlatformResponse) HTTPResponse() *http.Response
    func (response UpdateBlockchainPlatformResponse) String() string
type UpdateOsnDetails
    func (m UpdateOsnDetails) String() string
type UpdateOsnRequest
    func (request UpdateOsnRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateOsnRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOsnRequest) String() string
type UpdateOsnResponse
    func (response UpdateOsnResponse) HTTPResponse() *http.Response
    func (response UpdateOsnResponse) String() string
type UpdatePeerDetails
    func (m UpdatePeerDetails) String() string
type UpdatePeerRequest
    func (request UpdatePeerRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdatePeerRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdatePeerRequest) String() string
type UpdatePeerResponse
    func (response UpdatePeerResponse) HTTPResponse() *http.Response
    func (response UpdatePeerResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
type WorkRequestCollection
    func (m WorkRequestCollection) String() string
type WorkRequestError
    func (m WorkRequestError) String() string
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
type WorkRequestOperationTypeEnum
    func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
type WorkRequestResource
    func (m WorkRequestResource) String() string
type WorkRequestResourceActionTypeEnum
    func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
type WorkRequestResourceSubTypeDetail
    func (m WorkRequestResourceSubTypeDetail) String() string
type WorkRequestResourceSubTypeDetailSubTypeStatusEnum
    func GetWorkRequestResourceSubTypeDetailSubTypeStatusEnumValues() []WorkRequestResourceSubTypeDetailSubTypeStatusEnum
type WorkRequestStatusEnum
    func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
type WorkRequestSummaryOperationTypeEnum
    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_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_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 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

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

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

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

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

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

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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/blockchain/GetWorkRequest.go.html to see an example of how to use GetWorkRequest 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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/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/36.1.0/blockchain/UpdatePeer.go.html to see an example of how to use UpdatePeer 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

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

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

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

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

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

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

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

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

type ChangeBlockchainPlatformCompartmentRequest

ChangeBlockchainPlatformCompartmentRequest wrapper for the ChangeBlockchainPlatformCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request ChangeBlockchainPlatformCompartmentRequest) HTTPRequest(method, path 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

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

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

type CreateBlockchainPlatformRequest

CreateBlockchainPlatformRequest wrapper for the CreateBlockchainPlatform operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request CreateBlockchainPlatformRequest) HTTPRequest(method, path 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

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

type CreateOsnRequest

CreateOsnRequest wrapper for the CreateOsn operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request CreateOsnRequest) HTTPRequest(method, path 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

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

type CreatePeerRequest

CreatePeerRequest wrapper for the CreatePeer operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request CreatePeerRequest) HTTPRequest(method, path 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

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

    // 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) HTTPRequest

func (request DeleteBlockchainPlatformRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request DeleteOsnRequest) HTTPRequest(method, path 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

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

    // 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) HTTPRequest

func (request DeletePeerRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request DeleteWorkRequestRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request GetBlockchainPlatformRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request GetOsnRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request GetPeerRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path 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

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 ListBlockchainPlatformsRequest

ListBlockchainPlatformsRequest wrapper for the ListBlockchainPlatforms operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request ListBlockchainPlatformsRequest) HTTPRequest(method, path 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

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

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

type ListOsnsRequest

ListOsnsRequest wrapper for the ListOsns operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request ListOsnsRequest) HTTPRequest(method, path 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

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

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

type ListPeersRequest

ListPeersRequest wrapper for the ListPeers operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request ListPeersRequest) HTTPRequest(method, path 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

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

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

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path 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

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

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

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

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

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

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

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

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

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 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

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

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

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 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

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 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

type PreviewScaleBlockchainPlatformRequest

PreviewScaleBlockchainPlatformRequest wrapper for the PreviewScaleBlockchainPlatform operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request PreviewScaleBlockchainPlatformRequest) HTTPRequest(method, path 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

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

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

type ScaleBlockchainPlatformRequest

ScaleBlockchainPlatformRequest wrapper for the ScaleBlockchainPlatform operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request ScaleBlockchainPlatformRequest) HTTPRequest(method, path 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

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

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

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

type StartBlockchainPlatformRequest

StartBlockchainPlatformRequest wrapper for the StartBlockchainPlatform operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request StartBlockchainPlatformRequest) HTTPRequest(method, path 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

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/36.1.0/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) HTTPRequest

func (request StopBlockchainPlatformRequest) HTTPRequest(method, path 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

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

type UpdateBlockchainPlatformRequest

UpdateBlockchainPlatformRequest wrapper for the UpdateBlockchainPlatform operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request UpdateBlockchainPlatformRequest) HTTPRequest(method, path 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

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

type UpdateOsnRequest

UpdateOsnRequest wrapper for the UpdateOsn operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request UpdateOsnRequest) HTTPRequest(method, path 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

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

type UpdatePeerRequest

UpdatePeerRequest wrapper for the UpdatePeer operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/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) HTTPRequest

func (request UpdatePeerRequest) HTTPRequest(method, path 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

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 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

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

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

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

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

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

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

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 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

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 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 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

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"
    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 GetWorkRequestSummaryOperationTypeEnumValues

func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum

GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum