AvailabilityDomain Availability Domains
type AvailabilityDomain struct { // Availability Domain Identifiers Ads AvailabilityDomainAdsEnum `mandatory:"false" json:"ads,omitempty"` }
func (m AvailabilityDomain) String() string
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() []AvailabilityDomainAdsEnum
GetAvailabilityDomainAdsEnumValues Enumerates the set of values for AvailabilityDomainAdsEnum
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"` // Type of compute shape - one of Standard, (Enterprise) Small, Medium, Large or Extra Large 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"` // 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 (m BlockchainPlatform) String() string
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"` // Type of compute shape - one of Standard, (Enterprise) Small, Medium, Large or Extra Large 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 (m BlockchainPlatformByHostname) String() string
BlockchainPlatformClient a client for BlockchainPlatform
type BlockchainPlatformClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client BlockchainPlatformClient) ChangeBlockchainPlatformCompartment(ctx context.Context, request ChangeBlockchainPlatformCompartmentRequest) (response ChangeBlockchainPlatformCompartmentResponse, err error)
ChangeBlockchainPlatformCompartment Change Blockchain Platform Compartment
func (client *BlockchainPlatformClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client BlockchainPlatformClient) CreateBlockchainPlatform(ctx context.Context, request CreateBlockchainPlatformRequest) (response CreateBlockchainPlatformResponse, err error)
CreateBlockchainPlatform Creates a new Blockchain Platform.
func (client BlockchainPlatformClient) CreateOsn(ctx context.Context, request CreateOsnRequest) (response CreateOsnResponse, err error)
CreateOsn Create Blockchain Platform Osn
func (client BlockchainPlatformClient) CreatePeer(ctx context.Context, request CreatePeerRequest) (response CreatePeerResponse, err error)
CreatePeer Create Blockchain Platform Peer
func (client BlockchainPlatformClient) DeleteBlockchainPlatform(ctx context.Context, request DeleteBlockchainPlatformRequest) (response DeleteBlockchainPlatformResponse, err error)
DeleteBlockchainPlatform Delete a particular of a Blockchain Platform
func (client BlockchainPlatformClient) DeleteOsn(ctx context.Context, request DeleteOsnRequest) (response DeleteOsnResponse, err error)
DeleteOsn Delete a particular OSN of a Blockchain Platform
func (client BlockchainPlatformClient) DeletePeer(ctx context.Context, request DeletePeerRequest) (response DeletePeerResponse, err error)
DeletePeer Delete a particular peer of a Blockchain Platform
func (client BlockchainPlatformClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
DeleteWorkRequest Attempts to cancel the work request with the given ID.
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
func (client BlockchainPlatformClient) GetOsn(ctx context.Context, request GetOsnRequest) (response GetOsnResponse, err error)
GetOsn Gets information about an OSN identified by the specific id
func (client BlockchainPlatformClient) GetPeer(ctx context.Context, request GetPeerRequest) (response GetPeerResponse, err error)
GetPeer Gets information about a peer identified by the specific id
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.
func (client BlockchainPlatformClient) ListBlockchainPlatforms(ctx context.Context, request ListBlockchainPlatformsRequest) (response ListBlockchainPlatformsResponse, err error)
ListBlockchainPlatforms Returns a list Blockchain Platform Instances in a compartment
func (client BlockchainPlatformClient) ListOsns(ctx context.Context, request ListOsnsRequest) (response ListOsnsResponse, err error)
ListOsns List Blockchain Platform OSNs
func (client BlockchainPlatformClient) ListPeers(ctx context.Context, request ListPeersRequest) (response ListPeersResponse, err error)
ListPeers List Blockchain Platform Peers
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.
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.
func (client BlockchainPlatformClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
func (client BlockchainPlatformClient) PreviewScaleBlockchainPlatform(ctx context.Context, request PreviewScaleBlockchainPlatformRequest) (response PreviewScaleBlockchainPlatformResponse, err error)
PreviewScaleBlockchainPlatform Preview Scale Blockchain Platform
func (client BlockchainPlatformClient) ScaleBlockchainPlatform(ctx context.Context, request ScaleBlockchainPlatformRequest) (response ScaleBlockchainPlatformResponse, err error)
ScaleBlockchainPlatform Scale Blockchain Platform
func (client *BlockchainPlatformClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client BlockchainPlatformClient) StartBlockchainPlatform(ctx context.Context, request StartBlockchainPlatformRequest) (response StartBlockchainPlatformResponse, err error)
StartBlockchainPlatform Start a Blockchain Platform
func (client BlockchainPlatformClient) StopBlockchainPlatform(ctx context.Context, request StopBlockchainPlatformRequest) (response StopBlockchainPlatformResponse, err error)
StopBlockchainPlatform Stop a Blockchain Platform
func (client BlockchainPlatformClient) UpdateBlockchainPlatform(ctx context.Context, request UpdateBlockchainPlatformRequest) (response UpdateBlockchainPlatformResponse, err error)
UpdateBlockchainPlatform Update a particular of a Blockchain Platform
func (client BlockchainPlatformClient) UpdateOsn(ctx context.Context, request UpdateOsnRequest) (response UpdateOsnResponse, err error)
UpdateOsn Update Blockchain Platform OSN
func (client BlockchainPlatformClient) UpdatePeer(ctx context.Context, request UpdatePeerRequest) (response UpdatePeerResponse, err error)
UpdatePeer Update Blockchain Platform Peer
BlockchainPlatformCollection Result of a platform list or search. Contains BlockchainPlatformSummary
type BlockchainPlatformCollection struct { // Collection of BlockchainPlatformSummary Items []BlockchainPlatformSummary `mandatory:"true" json:"items"` }
func (m BlockchainPlatformCollection) String() string
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 (m BlockchainPlatformComponentDetails) String() string
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() []BlockchainPlatformComputeShapeEnum
GetBlockchainPlatformComputeShapeEnumValues Enumerates the set of values for BlockchainPlatformComputeShapeEnum
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() []BlockchainPlatformLifecycleStateEnum
GetBlockchainPlatformLifecycleStateEnumValues Enumerates the set of values for BlockchainPlatformLifecycleStateEnum
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() []BlockchainPlatformPlatformRoleEnum
GetBlockchainPlatformPlatformRoleEnumValues Enumerates the set of values for BlockchainPlatformPlatformRoleEnum
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"` // Type of compute shape - one of Standard, (Enterprise) Small, Medium, Large or Extra Large 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 (m BlockchainPlatformSummary) String() string
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 (m ChangeBlockchainPlatformCompartmentDetails) String() string
ChangeBlockchainPlatformCompartmentRequest wrapper for the ChangeBlockchainPlatformCompartment operation
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 (request ChangeBlockchainPlatformCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeBlockchainPlatformCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeBlockchainPlatformCompartmentRequest) String() string
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 (response ChangeBlockchainPlatformCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeBlockchainPlatformCompartmentResponse) String() string
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"` // Type of compute shape - one of Standard, (Enterprise) Small, Medium, Large or Extra Large 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"` // IDCS access token IdcsAccessToken *string `mandatory:"false" json:"idcsAccessToken"` // 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 (m CreateBlockchainPlatformDetails) String() string
CreateBlockchainPlatformRequest wrapper for the CreateBlockchainPlatform operation
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 (request CreateBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateBlockchainPlatformRequest) String() string
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 (response CreateBlockchainPlatformResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateBlockchainPlatformResponse) String() string
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 (m CreateOsnDetails) String() string
CreateOsnRequest wrapper for the CreateOsn operation
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 (request CreateOsnRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOsnRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOsnRequest) String() string
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 (response CreateOsnResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOsnResponse) String() string
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 (m CreatePeerDetails) String() string
CreatePeerRequest wrapper for the CreatePeer operation
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 (request CreatePeerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreatePeerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreatePeerRequest) String() string
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 (response CreatePeerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreatePeerResponse) String() string
DeleteBlockchainPlatformRequest wrapper for the DeleteBlockchainPlatform operation
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 (request DeleteBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteBlockchainPlatformRequest) String() string
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 (response DeleteBlockchainPlatformResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteBlockchainPlatformResponse) String() string
DeleteOsnRequest wrapper for the DeleteOsn operation
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 (request DeleteOsnRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOsnRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOsnRequest) String() string
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 (response DeleteOsnResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOsnResponse) String() string
DeletePeerRequest wrapper for the DeletePeer operation
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 (request DeletePeerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeletePeerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeletePeerRequest) String() string
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 (response DeletePeerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeletePeerResponse) String() string
DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation
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 (request DeleteWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteWorkRequestRequest) String() string
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 (response DeleteWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteWorkRequestResponse) String() string
GetBlockchainPlatformRequest wrapper for the GetBlockchainPlatform operation
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 (request GetBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetBlockchainPlatformRequest) String() string
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 (response GetBlockchainPlatformResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetBlockchainPlatformResponse) String() string
GetOsnRequest wrapper for the GetOsn operation
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 (request GetOsnRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOsnRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOsnRequest) String() string
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 (response GetOsnResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOsnResponse) String() string
GetPeerRequest wrapper for the GetPeer operation
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 (request GetPeerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPeerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPeerRequest) String() string
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 (response GetPeerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPeerResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
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 (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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 (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
ListBlockchainPlatformsRequest wrapper for the ListBlockchainPlatforms operation
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 (request ListBlockchainPlatformsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListBlockchainPlatformsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListBlockchainPlatformsRequest) String() string
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 (response ListBlockchainPlatformsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListBlockchainPlatformsResponse) String() string
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() []ListBlockchainPlatformsSortByEnum
GetListBlockchainPlatformsSortByEnumValues Enumerates the set of values for ListBlockchainPlatformsSortByEnum
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() []ListBlockchainPlatformsSortOrderEnum
GetListBlockchainPlatformsSortOrderEnumValues Enumerates the set of values for ListBlockchainPlatformsSortOrderEnum
ListOsnsRequest wrapper for the ListOsns operation
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 (request ListOsnsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOsnsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOsnsRequest) String() string
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 (response ListOsnsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOsnsResponse) String() string
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() []ListOsnsSortByEnum
GetListOsnsSortByEnumValues Enumerates the set of values for ListOsnsSortByEnum
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() []ListOsnsSortOrderEnum
GetListOsnsSortOrderEnumValues Enumerates the set of values for ListOsnsSortOrderEnum
ListPeersRequest wrapper for the ListPeers operation
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 (request ListPeersRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPeersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPeersRequest) String() string
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 (response ListPeersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPeersResponse) String() string
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() []ListPeersSortByEnum
GetListPeersSortByEnumValues Enumerates the set of values for ListPeersSortByEnum
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() []ListPeersSortOrderEnum
GetListPeersSortOrderEnumValues Enumerates the set of values for ListPeersSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
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 (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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 (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
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 (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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 (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
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 (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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 (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
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() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
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() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
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 (m MetadataDetails) String() string
ModifyPeerDetails peer to modify ocpu allocation
type ModifyPeerDetails struct { // peer identifier PeerName *string `mandatory:"true" json:"peerName"` OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"true" json:"ocpuAllocationParam"` }
func (m ModifyPeerDetails) String() string
OcpuAllocationNumberParam OCPU allocation parameter
type OcpuAllocationNumberParam struct { // Number of OCPU allocation OcpuAllocationNumber *float32 `mandatory:"true" json:"ocpuAllocationNumber"` }
func (m OcpuAllocationNumberParam) String() string
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 (m OcpuUtilizationInfo) String() string
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 (m Osn) String() string
OsnCollection Result of a OSN list or search. Contains OsnSummary
type OsnCollection struct { // Collection of OsnSummary Items []OsnSummary `mandatory:"true" json:"items"` }
func (m OsnCollection) String() string
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() []OsnLifecycleStateEnum
GetOsnLifecycleStateEnumValues Enumerates the set of values for OsnLifecycleStateEnum
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 (m OsnSummary) String() string
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 (m Peer) String() string
PeerCollection Result of a peer list or search. Contains PeerSummary
type PeerCollection struct { // Collection of PeerSummary Items []PeerSummary `mandatory:"true" json:"items"` }
func (m PeerCollection) String() string
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() []PeerLifecycleStateEnum
GetPeerLifecycleStateEnumValues Enumerates the set of values for PeerLifecycleStateEnum
PeerRole Peer role
type PeerRole struct { // Peer role names Role PeerRoleRoleEnum `mandatory:"false" json:"role,omitempty"` }
func (m PeerRole) String() string
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() []PeerRoleRoleEnum
GetPeerRoleRoleEnumValues Enumerates the set of values for PeerRoleRoleEnum
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 (m PeerSummary) String() string
PreviewScaleBlockchainPlatformRequest wrapper for the PreviewScaleBlockchainPlatform operation
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 (request PreviewScaleBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PreviewScaleBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PreviewScaleBlockchainPlatformRequest) String() string
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 (response PreviewScaleBlockchainPlatformResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PreviewScaleBlockchainPlatformResponse) String() string
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 (m ReplicaDetails) String() string
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 (m ScaleBlockchainPlatformDetails) String() string
ScaleBlockchainPlatformRequest wrapper for the ScaleBlockchainPlatform operation
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 (request ScaleBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ScaleBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ScaleBlockchainPlatformRequest) String() string
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 (response ScaleBlockchainPlatformResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ScaleBlockchainPlatformResponse) String() string
ScaleStorageDetails storage size to increase
type ScaleStorageDetails struct { // Storage size in TBs StorageSizeInTBs *int `mandatory:"true" json:"storageSizeInTBs"` }
func (m ScaleStorageDetails) String() string
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"` // Type of compute shape - one of Standard, (Enterprise) Small, Medium, Large or Extra Large 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 (m ScaledBlockchainPlatformPreview) String() string
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 (m ScaledPlatformMeteringPreview) String() string
StartBlockchainPlatformRequest wrapper for the StartBlockchainPlatform operation
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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request StartBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartBlockchainPlatformRequest) String() string
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 (response StartBlockchainPlatformResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartBlockchainPlatformResponse) String() string
StopBlockchainPlatformRequest wrapper for the StopBlockchainPlatform operation
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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request StopBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopBlockchainPlatformRequest) String() string
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 (response StopBlockchainPlatformResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopBlockchainPlatformResponse) String() string
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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateBlockchainPlatformDetails) String() string
UpdateBlockchainPlatformRequest wrapper for the UpdateBlockchainPlatform operation
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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateBlockchainPlatformRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateBlockchainPlatformRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateBlockchainPlatformRequest) String() string
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 (response UpdateBlockchainPlatformResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateBlockchainPlatformResponse) String() string
UpdateOsnDetails OSN attributes that can be updated.
type UpdateOsnDetails struct { OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"true" json:"ocpuAllocationParam"` }
func (m UpdateOsnDetails) String() string
UpdateOsnRequest wrapper for the UpdateOsn operation
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 (request UpdateOsnRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOsnRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOsnRequest) String() string
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 (response UpdateOsnResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOsnResponse) String() string
UpdatePeerDetails peer to modify ocpu allocation
type UpdatePeerDetails struct { OcpuAllocationParam *OcpuAllocationNumberParam `mandatory:"true" json:"ocpuAllocationParam"` }
func (m UpdatePeerDetails) String() string
UpdatePeerRequest wrapper for the UpdatePeer operation
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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdatePeerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdatePeerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdatePeerRequest) String() string
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 (response UpdatePeerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdatePeerResponse) String() string
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 (m WorkRequest) String() string
WorkRequestCollection Result of a platform list or search. Contains WorkRequestSummary
type WorkRequestCollection struct { // Collection of WorkRequestSummary Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestCollection) String() string
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 (m WorkRequestError) String() string
WorkRequestErrorCollection Result of a platform list or search. Contains WorkRequestError
type WorkRequestErrorCollection struct { // Collection of WorkRequestError Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
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 (m WorkRequestLogEntry) String() string
WorkRequestLogEntryCollection Result of a platform lpnist or search. Contains WorkRequestLogEntry
type WorkRequestLogEntryCollection struct { // Collection of WorkRequestLogEntry Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
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" )
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
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"` }
func (m WorkRequestResource) String() string
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() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
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() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
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 (m WorkRequestSummary) String() string
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" )
func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum
GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum