Documentation
¶
Index ¶
- func GetApplicationSummaryStateEnumStringValues() []string
- func GetCreateVbInstanceDetailsConsumptionModelEnumStringValues() []string
- func GetListVbInstancesLifecycleStateEnumStringValues() []string
- func GetListVbInstancesSortByEnumStringValues() []string
- func GetListVbInstancesSortOrderEnumStringValues() []string
- func GetVbInstanceConsumptionModelEnumStringValues() []string
- func GetVbInstanceLifecycleStateEnumStringValues() []string
- func GetVbInstanceSummaryConsumptionModelEnumStringValues() []string
- func GetVbInstanceSummaryLifecycleStateEnumStringValues() []string
- func GetWorkRequestOperationTypeEnumStringValues() []string
- func GetWorkRequestResourceActionTypeEnumStringValues() []string
- func GetWorkRequestStatusEnumStringValues() []string
- func GetWorkRequestSummaryOperationTypeEnumStringValues() []string
- func GetWorkRequestSummaryStatusEnumStringValues() []string
- type ApplicationSummary
- type ApplicationSummaryCollection
- type ApplicationSummaryStateEnum
- type ChangeVbInstanceCompartmentDetails
- type ChangeVbInstanceCompartmentRequest
- func (request ChangeVbInstanceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeVbInstanceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeVbInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeVbInstanceCompartmentRequest) String() string
- func (request ChangeVbInstanceCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeVbInstanceCompartmentResponse
- type CreateCustomEndpointDetails
- type CreateVbInstanceDetails
- type CreateVbInstanceDetailsConsumptionModelEnum
- type CreateVbInstanceRequest
- func (request CreateVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateVbInstanceRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateVbInstanceRequest) String() string
- func (request CreateVbInstanceRequest) ValidateEnumValue() (bool, error)
- type CreateVbInstanceResponse
- type CustomEndpointDetails
- type DeleteVbInstanceRequest
- func (request DeleteVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteVbInstanceRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteVbInstanceRequest) String() string
- func (request DeleteVbInstanceRequest) ValidateEnumValue() (bool, error)
- type DeleteVbInstanceResponse
- type GetVbInstanceRequest
- func (request GetVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetVbInstanceRequest) RetryPolicy() *common.RetryPolicy
- func (request GetVbInstanceRequest) String() string
- func (request GetVbInstanceRequest) ValidateEnumValue() (bool, error)
- type GetVbInstanceResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type ListVbInstancesLifecycleStateEnum
- type ListVbInstancesRequest
- func (request ListVbInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListVbInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListVbInstancesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListVbInstancesRequest) String() string
- func (request ListVbInstancesRequest) ValidateEnumValue() (bool, error)
- type ListVbInstancesResponse
- type ListVbInstancesSortByEnum
- type ListVbInstancesSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type RequestSummarizedApplicationsDetails
- type RequestSummarizedApplicationsRequest
- func (request RequestSummarizedApplicationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RequestSummarizedApplicationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RequestSummarizedApplicationsRequest) RetryPolicy() *common.RetryPolicy
- func (request RequestSummarizedApplicationsRequest) String() string
- func (request RequestSummarizedApplicationsRequest) ValidateEnumValue() (bool, error)
- type RequestSummarizedApplicationsResponse
- type StartVbInstanceRequest
- func (request StartVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request StartVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request StartVbInstanceRequest) RetryPolicy() *common.RetryPolicy
- func (request StartVbInstanceRequest) String() string
- func (request StartVbInstanceRequest) ValidateEnumValue() (bool, error)
- type StartVbInstanceResponse
- type StopVbInstanceRequest
- func (request StopVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request StopVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request StopVbInstanceRequest) RetryPolicy() *common.RetryPolicy
- func (request StopVbInstanceRequest) String() string
- func (request StopVbInstanceRequest) ValidateEnumValue() (bool, error)
- type StopVbInstanceResponse
- type UpdateCustomEndpointDetails
- type UpdateVbInstanceDetails
- type UpdateVbInstanceRequest
- func (request UpdateVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateVbInstanceRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateVbInstanceRequest) String() string
- func (request UpdateVbInstanceRequest) ValidateEnumValue() (bool, error)
- type UpdateVbInstanceResponse
- type VbInstance
- type VbInstanceClient
- func (client VbInstanceClient) ChangeVbInstanceCompartment(ctx context.Context, request ChangeVbInstanceCompartmentRequest) (response ChangeVbInstanceCompartmentResponse, err error)
- func (client *VbInstanceClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client VbInstanceClient) CreateVbInstance(ctx context.Context, request CreateVbInstanceRequest) (response CreateVbInstanceResponse, err error)
- func (client VbInstanceClient) DeleteVbInstance(ctx context.Context, request DeleteVbInstanceRequest) (response DeleteVbInstanceResponse, err error)
- func (client VbInstanceClient) GetVbInstance(ctx context.Context, request GetVbInstanceRequest) (response GetVbInstanceResponse, err error)
- func (client VbInstanceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client VbInstanceClient) ListVbInstances(ctx context.Context, request ListVbInstancesRequest) (response ListVbInstancesResponse, err error)
- func (client VbInstanceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client VbInstanceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client VbInstanceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client VbInstanceClient) RequestSummarizedApplications(ctx context.Context, request RequestSummarizedApplicationsRequest) (response RequestSummarizedApplicationsResponse, err error)
- func (client *VbInstanceClient) SetRegion(region string)
- func (client VbInstanceClient) StartVbInstance(ctx context.Context, request StartVbInstanceRequest) (response StartVbInstanceResponse, err error)
- func (client VbInstanceClient) StopVbInstance(ctx context.Context, request StopVbInstanceRequest) (response StopVbInstanceResponse, err error)
- func (client VbInstanceClient) UpdateVbInstance(ctx context.Context, request UpdateVbInstanceRequest) (response UpdateVbInstanceResponse, err error)
- type VbInstanceConsumptionModelEnum
- type VbInstanceLifecycleStateEnum
- type VbInstanceSummary
- type VbInstanceSummaryCollection
- type VbInstanceSummaryConsumptionModelEnum
- type VbInstanceSummaryLifecycleStateEnum
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestOperationTypeEnum
- type WorkRequestResource
- type WorkRequestResourceActionTypeEnum
- type WorkRequestStatusEnum
- type WorkRequestSummary
- type WorkRequestSummaryCollection
- type WorkRequestSummaryOperationTypeEnum
- type WorkRequestSummaryStatusEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApplicationSummaryStateEnumStringValues ¶
func GetApplicationSummaryStateEnumStringValues() []string
GetApplicationSummaryStateEnumStringValues Enumerates the set of values in String for ApplicationSummaryStateEnum
func GetCreateVbInstanceDetailsConsumptionModelEnumStringValues ¶
func GetCreateVbInstanceDetailsConsumptionModelEnumStringValues() []string
GetCreateVbInstanceDetailsConsumptionModelEnumStringValues Enumerates the set of values in String for CreateVbInstanceDetailsConsumptionModelEnum
func GetListVbInstancesLifecycleStateEnumStringValues ¶
func GetListVbInstancesLifecycleStateEnumStringValues() []string
GetListVbInstancesLifecycleStateEnumStringValues Enumerates the set of values in String for ListVbInstancesLifecycleStateEnum
func GetListVbInstancesSortByEnumStringValues ¶
func GetListVbInstancesSortByEnumStringValues() []string
GetListVbInstancesSortByEnumStringValues Enumerates the set of values in String for ListVbInstancesSortByEnum
func GetListVbInstancesSortOrderEnumStringValues ¶
func GetListVbInstancesSortOrderEnumStringValues() []string
GetListVbInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListVbInstancesSortOrderEnum
func GetVbInstanceConsumptionModelEnumStringValues ¶
func GetVbInstanceConsumptionModelEnumStringValues() []string
GetVbInstanceConsumptionModelEnumStringValues Enumerates the set of values in String for VbInstanceConsumptionModelEnum
func GetVbInstanceLifecycleStateEnumStringValues ¶
func GetVbInstanceLifecycleStateEnumStringValues() []string
GetVbInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for VbInstanceLifecycleStateEnum
func GetVbInstanceSummaryConsumptionModelEnumStringValues ¶
func GetVbInstanceSummaryConsumptionModelEnumStringValues() []string
GetVbInstanceSummaryConsumptionModelEnumStringValues Enumerates the set of values in String for VbInstanceSummaryConsumptionModelEnum
func GetVbInstanceSummaryLifecycleStateEnumStringValues ¶
func GetVbInstanceSummaryLifecycleStateEnumStringValues() []string
GetVbInstanceSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for VbInstanceSummaryLifecycleStateEnum
func GetWorkRequestOperationTypeEnumStringValues ¶
func GetWorkRequestOperationTypeEnumStringValues() []string
GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum
func GetWorkRequestResourceActionTypeEnumStringValues ¶
func GetWorkRequestResourceActionTypeEnumStringValues() []string
GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum
func GetWorkRequestStatusEnumStringValues ¶
func GetWorkRequestStatusEnumStringValues() []string
GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum
func GetWorkRequestSummaryOperationTypeEnumStringValues ¶
func GetWorkRequestSummaryOperationTypeEnumStringValues() []string
GetWorkRequestSummaryOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestSummaryOperationTypeEnum
func GetWorkRequestSummaryStatusEnumStringValues ¶
func GetWorkRequestSummaryStatusEnumStringValues() []string
GetWorkRequestSummaryStatusEnumStringValues Enumerates the set of values in String for WorkRequestSummaryStatusEnum
Types ¶
type ApplicationSummary ¶
type ApplicationSummary struct { // Unique identifier of the application. Id *string `mandatory:"true" json:"id"` // Project identifier. ProjectId *string `mandatory:"true" json:"projectId"` // Version of deployed application. Version *string `mandatory:"true" json:"version"` // Represents the deployment state of the application. State ApplicationSummaryStateEnum `mandatory:"true" json:"state"` }
ApplicationSummary Summary of the Vb Instance's applications.
func (ApplicationSummary) String ¶
func (m ApplicationSummary) String() string
func (ApplicationSummary) ValidateEnumValue ¶
func (m ApplicationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplicationSummaryCollection ¶
type ApplicationSummaryCollection struct { // The collection of ApplicationSummary objects. Items []ApplicationSummary `mandatory:"true" json:"items"` }
ApplicationSummaryCollection Result of listing VbInstance's applications. Contains ApplicationSummary items.
func (ApplicationSummaryCollection) String ¶
func (m ApplicationSummaryCollection) String() string
func (ApplicationSummaryCollection) ValidateEnumValue ¶
func (m ApplicationSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplicationSummaryStateEnum ¶
type ApplicationSummaryStateEnum string
ApplicationSummaryStateEnum Enum with underlying type: string
const ( ApplicationSummaryStateStage ApplicationSummaryStateEnum = "STAGE" ApplicationSummaryStateLive ApplicationSummaryStateEnum = "LIVE" )
Set of constants representing the allowable values for ApplicationSummaryStateEnum
func GetApplicationSummaryStateEnumValues ¶
func GetApplicationSummaryStateEnumValues() []ApplicationSummaryStateEnum
GetApplicationSummaryStateEnumValues Enumerates the set of values for ApplicationSummaryStateEnum
func GetMappingApplicationSummaryStateEnum ¶
func GetMappingApplicationSummaryStateEnum(val string) (ApplicationSummaryStateEnum, bool)
GetMappingApplicationSummaryStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ChangeVbInstanceCompartmentDetails ¶
type ChangeVbInstanceCompartmentDetails struct { // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeVbInstanceCompartmentDetails Compartment the VbInstance will be moved to
func (ChangeVbInstanceCompartmentDetails) String ¶
func (m ChangeVbInstanceCompartmentDetails) String() string
func (ChangeVbInstanceCompartmentDetails) ValidateEnumValue ¶
func (m ChangeVbInstanceCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeVbInstanceCompartmentRequest ¶
type ChangeVbInstanceCompartmentRequest struct { // Unique Vb Instance identifier. VbInstanceId *string `mandatory:"true" contributesTo:"path" name:"vbInstanceId"` // Details for the update vb instance ChangeVbInstanceCompartmentDetails `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 }
ChangeVbInstanceCompartmentRequest wrapper for the ChangeVbInstanceCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ChangeVbInstanceCompartment.go.html to see an example of how to use ChangeVbInstanceCompartmentRequest.
func (ChangeVbInstanceCompartmentRequest) BinaryRequestBody ¶
func (request ChangeVbInstanceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeVbInstanceCompartmentRequest) HTTPRequest ¶
func (request ChangeVbInstanceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeVbInstanceCompartmentRequest) RetryPolicy ¶
func (request ChangeVbInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeVbInstanceCompartmentRequest) String ¶
func (request ChangeVbInstanceCompartmentRequest) String() string
func (ChangeVbInstanceCompartmentRequest) ValidateEnumValue ¶
func (request ChangeVbInstanceCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeVbInstanceCompartmentResponse ¶
type ChangeVbInstanceCompartmentResponse 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"` }
ChangeVbInstanceCompartmentResponse wrapper for the ChangeVbInstanceCompartment operation
func (ChangeVbInstanceCompartmentResponse) HTTPResponse ¶
func (response ChangeVbInstanceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeVbInstanceCompartmentResponse) String ¶
func (response ChangeVbInstanceCompartmentResponse) String() string
type CreateCustomEndpointDetails ¶
type CreateCustomEndpointDetails struct { // A custom hostname to be used for the vb instance URL, in FQDN format. Hostname *string `mandatory:"true" json:"hostname"` // Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. // All certificates should be stored in a single base64 encoded secret // Note the update will fail if this is not a valid certificate. CertificateSecretId *string `mandatory:"false" json:"certificateSecretId"` }
CreateCustomEndpointDetails Details for a custom endpoint for the vb instance (update).
func (CreateCustomEndpointDetails) String ¶
func (m CreateCustomEndpointDetails) String() string
func (CreateCustomEndpointDetails) ValidateEnumValue ¶
func (m CreateCustomEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateVbInstanceDetails ¶
type CreateVbInstanceDetails struct { // Vb Instance Identifier. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The number of Nodes NodeCount *int `mandatory:"true" json:"nodeCount"` // 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"` // Usage of predefined tag keys. These predefined keys are scoped to // namespaces. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Encrypted IDCS Open ID token. This is required for pre-UCPIS cloud accounts, but not UCPIS, hence not a required parameter IdcsOpenId *string `mandatory:"false" json:"idcsOpenId"` // Visual Builder is enabled or not. IsVisualBuilderEnabled *bool `mandatory:"false" json:"isVisualBuilderEnabled"` CustomEndpoint *CreateCustomEndpointDetails `mandatory:"false" json:"customEndpoint"` // A list of alternate custom endpoints to be used for the vb instance URL // (contact Oracle for alternateCustomEndpoints availability for a specific instance). AlternateCustomEndpoints []CreateCustomEndpointDetails `mandatory:"false" json:"alternateCustomEndpoints"` // Optional parameter specifying which entitlement to use for billing purposes. Only required if the account possesses more than one entitlement. ConsumptionModel CreateVbInstanceDetailsConsumptionModelEnum `mandatory:"false" json:"consumptionModel,omitempty"` }
CreateVbInstanceDetails The information about new VbInstance.
func (CreateVbInstanceDetails) String ¶
func (m CreateVbInstanceDetails) String() string
func (CreateVbInstanceDetails) ValidateEnumValue ¶
func (m CreateVbInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateVbInstanceDetailsConsumptionModelEnum ¶
type CreateVbInstanceDetailsConsumptionModelEnum string
CreateVbInstanceDetailsConsumptionModelEnum Enum with underlying type: string
const ( CreateVbInstanceDetailsConsumptionModelUcm CreateVbInstanceDetailsConsumptionModelEnum = "UCM" CreateVbInstanceDetailsConsumptionModelGov CreateVbInstanceDetailsConsumptionModelEnum = "GOV" CreateVbInstanceDetailsConsumptionModelVb4saas CreateVbInstanceDetailsConsumptionModelEnum = "VB4SAAS" )
Set of constants representing the allowable values for CreateVbInstanceDetailsConsumptionModelEnum
func GetCreateVbInstanceDetailsConsumptionModelEnumValues ¶
func GetCreateVbInstanceDetailsConsumptionModelEnumValues() []CreateVbInstanceDetailsConsumptionModelEnum
GetCreateVbInstanceDetailsConsumptionModelEnumValues Enumerates the set of values for CreateVbInstanceDetailsConsumptionModelEnum
func GetMappingCreateVbInstanceDetailsConsumptionModelEnum ¶
func GetMappingCreateVbInstanceDetailsConsumptionModelEnum(val string) (CreateVbInstanceDetailsConsumptionModelEnum, bool)
GetMappingCreateVbInstanceDetailsConsumptionModelEnum performs case Insensitive comparison on enum value and return the desired enum
type CreateVbInstanceRequest ¶
type CreateVbInstanceRequest struct { // Details for the new Vb Instance. CreateVbInstanceDetails `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 }
CreateVbInstanceRequest wrapper for the CreateVbInstance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/CreateVbInstance.go.html to see an example of how to use CreateVbInstanceRequest.
func (CreateVbInstanceRequest) BinaryRequestBody ¶
func (request CreateVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateVbInstanceRequest) HTTPRequest ¶
func (request CreateVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateVbInstanceRequest) RetryPolicy ¶
func (request CreateVbInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateVbInstanceRequest) String ¶
func (request CreateVbInstanceRequest) String() string
func (CreateVbInstanceRequest) ValidateEnumValue ¶
func (request CreateVbInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateVbInstanceResponse ¶
type CreateVbInstanceResponse 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"` }
CreateVbInstanceResponse wrapper for the CreateVbInstance operation
func (CreateVbInstanceResponse) HTTPResponse ¶
func (response CreateVbInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateVbInstanceResponse) String ¶
func (response CreateVbInstanceResponse) String() string
type CustomEndpointDetails ¶
type CustomEndpointDetails struct { // A custom hostname to be used for the vb instance URL, in FQDN format. Hostname *string `mandatory:"true" json:"hostname"` // Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. CertificateSecretId *string `mandatory:"false" json:"certificateSecretId"` // The secret version used for the certificate-secret-id (if certificate-secret-id is specified). CertificateSecretVersion *int `mandatory:"false" json:"certificateSecretVersion"` }
CustomEndpointDetails Details for a custom endpoint for the vb instance.
func (CustomEndpointDetails) String ¶
func (m CustomEndpointDetails) String() string
func (CustomEndpointDetails) ValidateEnumValue ¶
func (m CustomEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteVbInstanceRequest ¶
type DeleteVbInstanceRequest struct { // Unique Vb Instance identifier. VbInstanceId *string `mandatory:"true" contributesTo:"path" name:"vbInstanceId"` // 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 }
DeleteVbInstanceRequest wrapper for the DeleteVbInstance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/DeleteVbInstance.go.html to see an example of how to use DeleteVbInstanceRequest.
func (DeleteVbInstanceRequest) BinaryRequestBody ¶
func (request DeleteVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteVbInstanceRequest) HTTPRequest ¶
func (request DeleteVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteVbInstanceRequest) RetryPolicy ¶
func (request DeleteVbInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteVbInstanceRequest) String ¶
func (request DeleteVbInstanceRequest) String() string
func (DeleteVbInstanceRequest) ValidateEnumValue ¶
func (request DeleteVbInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteVbInstanceResponse ¶
type DeleteVbInstanceResponse 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"` }
DeleteVbInstanceResponse wrapper for the DeleteVbInstance operation
func (DeleteVbInstanceResponse) HTTPResponse ¶
func (response DeleteVbInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteVbInstanceResponse) String ¶
func (response DeleteVbInstanceResponse) String() string
type GetVbInstanceRequest ¶
type GetVbInstanceRequest struct { // Unique Vb Instance identifier. VbInstanceId *string `mandatory:"true" contributesTo:"path" name:"vbInstanceId"` // 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 }
GetVbInstanceRequest wrapper for the GetVbInstance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/GetVbInstance.go.html to see an example of how to use GetVbInstanceRequest.
func (GetVbInstanceRequest) BinaryRequestBody ¶
func (request GetVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetVbInstanceRequest) HTTPRequest ¶
func (request GetVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetVbInstanceRequest) RetryPolicy ¶
func (request GetVbInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetVbInstanceRequest) String ¶
func (request GetVbInstanceRequest) String() string
func (GetVbInstanceRequest) ValidateEnumValue ¶
func (request GetVbInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetVbInstanceResponse ¶
type GetVbInstanceResponse struct { // The underlying http response RawResponse *http.Response // The VbInstance instance VbInstance `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"` }
GetVbInstanceResponse wrapper for the GetVbInstance operation
func (GetVbInstanceResponse) HTTPResponse ¶
func (response GetVbInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetVbInstanceResponse) String ¶
func (response GetVbInstanceResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetWorkRequestResponse ¶
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"` // some decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type ListVbInstancesLifecycleStateEnum ¶
type ListVbInstancesLifecycleStateEnum string
ListVbInstancesLifecycleStateEnum Enum with underlying type: string
const ( ListVbInstancesLifecycleStateCreating ListVbInstancesLifecycleStateEnum = "CREATING" ListVbInstancesLifecycleStateUpdating ListVbInstancesLifecycleStateEnum = "UPDATING" ListVbInstancesLifecycleStateActive ListVbInstancesLifecycleStateEnum = "ACTIVE" ListVbInstancesLifecycleStateInactive ListVbInstancesLifecycleStateEnum = "INACTIVE" ListVbInstancesLifecycleStateDeleting ListVbInstancesLifecycleStateEnum = "DELETING" ListVbInstancesLifecycleStateDeleted ListVbInstancesLifecycleStateEnum = "DELETED" ListVbInstancesLifecycleStateFailed ListVbInstancesLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for ListVbInstancesLifecycleStateEnum
func GetListVbInstancesLifecycleStateEnumValues ¶
func GetListVbInstancesLifecycleStateEnumValues() []ListVbInstancesLifecycleStateEnum
GetListVbInstancesLifecycleStateEnumValues Enumerates the set of values for ListVbInstancesLifecycleStateEnum
func GetMappingListVbInstancesLifecycleStateEnum ¶
func GetMappingListVbInstancesLifecycleStateEnum(val string) (ListVbInstancesLifecycleStateEnum, bool)
GetMappingListVbInstancesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ListVbInstancesRequest ¶
type ListVbInstancesRequest 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"` // Life cycle state to query on. LifecycleState ListVbInstancesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListVbInstancesSortOrderEnum `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 ListVbInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // 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 }
ListVbInstancesRequest wrapper for the ListVbInstances operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ListVbInstances.go.html to see an example of how to use ListVbInstancesRequest.
func (ListVbInstancesRequest) BinaryRequestBody ¶
func (request ListVbInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListVbInstancesRequest) HTTPRequest ¶
func (request ListVbInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListVbInstancesRequest) RetryPolicy ¶
func (request ListVbInstancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListVbInstancesRequest) String ¶
func (request ListVbInstancesRequest) String() string
func (ListVbInstancesRequest) ValidateEnumValue ¶
func (request ListVbInstancesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListVbInstancesResponse ¶
type ListVbInstancesResponse struct { // The underlying http response RawResponse *http.Response // A list of VbInstanceSummaryCollection instances VbInstanceSummaryCollection `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 list pagination. When this header appears in the response, additional pages of results remain OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, additional pages of results have been previously returned OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` }
ListVbInstancesResponse wrapper for the ListVbInstances operation
func (ListVbInstancesResponse) HTTPResponse ¶
func (response ListVbInstancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListVbInstancesResponse) String ¶
func (response ListVbInstancesResponse) String() string
type ListVbInstancesSortByEnum ¶
type ListVbInstancesSortByEnum string
ListVbInstancesSortByEnum Enum with underlying type: string
const ( ListVbInstancesSortByTimecreated ListVbInstancesSortByEnum = "timeCreated" ListVbInstancesSortByDisplayname ListVbInstancesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListVbInstancesSortByEnum
func GetListVbInstancesSortByEnumValues ¶
func GetListVbInstancesSortByEnumValues() []ListVbInstancesSortByEnum
GetListVbInstancesSortByEnumValues Enumerates the set of values for ListVbInstancesSortByEnum
func GetMappingListVbInstancesSortByEnum ¶
func GetMappingListVbInstancesSortByEnum(val string) (ListVbInstancesSortByEnum, bool)
GetMappingListVbInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListVbInstancesSortOrderEnum ¶
type ListVbInstancesSortOrderEnum string
ListVbInstancesSortOrderEnum Enum with underlying type: string
const ( ListVbInstancesSortOrderAsc ListVbInstancesSortOrderEnum = "ASC" ListVbInstancesSortOrderDesc ListVbInstancesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListVbInstancesSortOrderEnum
func GetListVbInstancesSortOrderEnumValues ¶
func GetListVbInstancesSortOrderEnumValues() []ListVbInstancesSortOrderEnum
GetListVbInstancesSortOrderEnumValues Enumerates the set of values for ListVbInstancesSortOrderEnum
func GetMappingListVbInstancesSortOrderEnum ¶
func GetMappingListVbInstancesSortOrderEnum(val string) (ListVbInstancesSortOrderEnum, bool)
GetMappingListVbInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // 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 maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // 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 }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `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 list pagination. When this header appears in the response, additional pages of results remain OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, additional pages of results have been previously returned OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // 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 maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // 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 }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `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 list pagination. When this header appears in the response, additional pages of results remain OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, additional pages of results have been previously returned OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The Vb Instance identifier to use to filter results VbInstanceId *string `mandatory:"false" contributesTo:"query" name:"vbInstanceId"` // 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 }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `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 list pagination. When this header appears in the response, additional pages of results remain OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, additional pages of results have been previously returned OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type RequestSummarizedApplicationsDetails ¶
type RequestSummarizedApplicationsDetails struct { // Encrypted IDCS Open ID token. This is required for pre-UCPIS cloud accounts, but not UCPIS, hence not a required parameter IdcsOpenId *string `mandatory:"false" json:"idcsOpenId"` }
RequestSummarizedApplicationsDetails The information to summarize the applications.
func (RequestSummarizedApplicationsDetails) String ¶
func (m RequestSummarizedApplicationsDetails) String() string
func (RequestSummarizedApplicationsDetails) ValidateEnumValue ¶
func (m RequestSummarizedApplicationsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RequestSummarizedApplicationsRequest ¶
type RequestSummarizedApplicationsRequest struct { // The parameter holding information to request the summarized applications for a Vb instance RequestSummarizedApplicationsDetails `contributesTo:"body"` // Unique Vb Instance identifier. VbInstanceId *string `mandatory:"true" contributesTo:"path" name:"vbInstanceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case // of a timeout or server error without risk of executing that same action // again. Retry tokens expire after 24 hours, but can be invalidated before // then due to conflicting operations. For example, if a resource has been // deleted and purged from the system, then a retry of the original creation // request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
RequestSummarizedApplicationsRequest wrapper for the RequestSummarizedApplications operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/RequestSummarizedApplications.go.html to see an example of how to use RequestSummarizedApplicationsRequest.
func (RequestSummarizedApplicationsRequest) BinaryRequestBody ¶
func (request RequestSummarizedApplicationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RequestSummarizedApplicationsRequest) HTTPRequest ¶
func (request RequestSummarizedApplicationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RequestSummarizedApplicationsRequest) RetryPolicy ¶
func (request RequestSummarizedApplicationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RequestSummarizedApplicationsRequest) String ¶
func (request RequestSummarizedApplicationsRequest) String() string
func (RequestSummarizedApplicationsRequest) ValidateEnumValue ¶
func (request RequestSummarizedApplicationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RequestSummarizedApplicationsResponse ¶
type RequestSummarizedApplicationsResponse struct { // The underlying http response RawResponse *http.Response // The ApplicationSummaryCollection instance ApplicationSummaryCollection `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"` }
RequestSummarizedApplicationsResponse wrapper for the RequestSummarizedApplications operation
func (RequestSummarizedApplicationsResponse) HTTPResponse ¶
func (response RequestSummarizedApplicationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RequestSummarizedApplicationsResponse) String ¶
func (response RequestSummarizedApplicationsResponse) String() string
type StartVbInstanceRequest ¶
type StartVbInstanceRequest struct { // Unique Vb Instance identifier. VbInstanceId *string `mandatory:"true" contributesTo:"path" name:"vbInstanceId"` // 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 }
StartVbInstanceRequest wrapper for the StartVbInstance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/StartVbInstance.go.html to see an example of how to use StartVbInstanceRequest.
func (StartVbInstanceRequest) BinaryRequestBody ¶
func (request StartVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (StartVbInstanceRequest) HTTPRequest ¶
func (request StartVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (StartVbInstanceRequest) RetryPolicy ¶
func (request StartVbInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (StartVbInstanceRequest) String ¶
func (request StartVbInstanceRequest) String() string
func (StartVbInstanceRequest) ValidateEnumValue ¶
func (request StartVbInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type StartVbInstanceResponse ¶
type StartVbInstanceResponse 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"` }
StartVbInstanceResponse wrapper for the StartVbInstance operation
func (StartVbInstanceResponse) HTTPResponse ¶
func (response StartVbInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (StartVbInstanceResponse) String ¶
func (response StartVbInstanceResponse) String() string
type StopVbInstanceRequest ¶
type StopVbInstanceRequest struct { // Unique Vb Instance identifier. VbInstanceId *string `mandatory:"true" contributesTo:"path" name:"vbInstanceId"` // 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 }
StopVbInstanceRequest wrapper for the StopVbInstance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/StopVbInstance.go.html to see an example of how to use StopVbInstanceRequest.
func (StopVbInstanceRequest) BinaryRequestBody ¶
func (request StopVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (StopVbInstanceRequest) HTTPRequest ¶
func (request StopVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (StopVbInstanceRequest) RetryPolicy ¶
func (request StopVbInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (StopVbInstanceRequest) String ¶
func (request StopVbInstanceRequest) String() string
func (StopVbInstanceRequest) ValidateEnumValue ¶
func (request StopVbInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type StopVbInstanceResponse ¶
type StopVbInstanceResponse 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"` }
StopVbInstanceResponse wrapper for the StopVbInstance operation
func (StopVbInstanceResponse) HTTPResponse ¶
func (response StopVbInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (StopVbInstanceResponse) String ¶
func (response StopVbInstanceResponse) String() string
type UpdateCustomEndpointDetails ¶
type UpdateCustomEndpointDetails struct { // A custom hostname to be used for the vb instance URL, in FQDN format. Hostname *string `mandatory:"true" json:"hostname"` // Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. // All certificates should be stored in a single base64 encoded secret. // Note the update will fail if this is not a valid certificate. CertificateSecretId *string `mandatory:"false" json:"certificateSecretId"` }
UpdateCustomEndpointDetails Details for a custom endpoint for the vb instance (update).
func (UpdateCustomEndpointDetails) String ¶
func (m UpdateCustomEndpointDetails) String() string
func (UpdateCustomEndpointDetails) ValidateEnumValue ¶
func (m UpdateCustomEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateVbInstanceDetails ¶
type UpdateVbInstanceDetails struct { // Vb Instance Identifier. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, // type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Usage of predefined tag keys. These predefined keys are scoped to // namespaces. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Encrypted IDCS Open ID token. This is required for pre-UCPIS cloud accounts, but not UCPIS, hence not a required parameter IdcsOpenId *string `mandatory:"false" json:"idcsOpenId"` // The number of Nodes NodeCount *int `mandatory:"false" json:"nodeCount"` // Enable Visual Builder. If Visual Builder is enabled alredy, then it cannot be disabled. IsVisualBuilderEnabled *bool `mandatory:"false" json:"isVisualBuilderEnabled"` CustomEndpoint *UpdateCustomEndpointDetails `mandatory:"false" json:"customEndpoint"` // A list of alternate custom endpoints to be used for the vb instance URL // (contact Oracle for alternateCustomEndpoints availability for a specific instance). AlternateCustomEndpoints []UpdateCustomEndpointDetails `mandatory:"false" json:"alternateCustomEndpoints"` }
UpdateVbInstanceDetails Information about updating a VbInstance.
func (UpdateVbInstanceDetails) String ¶
func (m UpdateVbInstanceDetails) String() string
func (UpdateVbInstanceDetails) ValidateEnumValue ¶
func (m UpdateVbInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateVbInstanceRequest ¶
type UpdateVbInstanceRequest struct { // Unique Vb Instance identifier. VbInstanceId *string `mandatory:"true" contributesTo:"path" name:"vbInstanceId"` // The information to be updated. UpdateVbInstanceDetails `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 }
UpdateVbInstanceRequest wrapper for the UpdateVbInstance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/UpdateVbInstance.go.html to see an example of how to use UpdateVbInstanceRequest.
func (UpdateVbInstanceRequest) BinaryRequestBody ¶
func (request UpdateVbInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateVbInstanceRequest) HTTPRequest ¶
func (request UpdateVbInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateVbInstanceRequest) RetryPolicy ¶
func (request UpdateVbInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateVbInstanceRequest) String ¶
func (request UpdateVbInstanceRequest) String() string
func (UpdateVbInstanceRequest) ValidateEnumValue ¶
func (request UpdateVbInstanceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateVbInstanceResponse ¶
type UpdateVbInstanceResponse 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"` }
UpdateVbInstanceResponse wrapper for the UpdateVbInstance operation
func (UpdateVbInstanceResponse) HTTPResponse ¶
func (response UpdateVbInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateVbInstanceResponse) String ¶
func (response UpdateVbInstanceResponse) String() string
type VbInstance ¶
type VbInstance struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Vb Instance Identifier, can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the vb instance. LifecycleState VbInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The Vb Instance URL. InstanceUrl *string `mandatory:"true" json:"instanceUrl"` // The number of Nodes NodeCount *int `mandatory:"true" json:"nodeCount"` // The time the the VbInstance was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the VbInstance was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. StateMessage *string `mandatory:"false" json:"stateMessage"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Visual Builder is enabled or not. IsVisualBuilderEnabled *bool `mandatory:"false" json:"isVisualBuilderEnabled"` CustomEndpoint *CustomEndpointDetails `mandatory:"false" json:"customEndpoint"` // A list of alternate custom endpoints used for the vb instance URL. AlternateCustomEndpoints []CustomEndpointDetails `mandatory:"false" json:"alternateCustomEndpoints"` // The entitlement used for billing purposes. ConsumptionModel VbInstanceConsumptionModelEnum `mandatory:"false" json:"consumptionModel,omitempty"` }
VbInstance Description of Vb Instance.
func (VbInstance) String ¶
func (m VbInstance) String() string
func (VbInstance) ValidateEnumValue ¶
func (m VbInstance) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VbInstanceClient ¶
type VbInstanceClient struct { common.BaseClient // contains filtered or unexported fields }
VbInstanceClient a client for VbInstance
func NewVbInstanceClientWithConfigurationProvider ¶
func NewVbInstanceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client VbInstanceClient, err error)
NewVbInstanceClientWithConfigurationProvider Creates a new default VbInstance client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewVbInstanceClientWithOboToken ¶
func NewVbInstanceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client VbInstanceClient, err error)
NewVbInstanceClientWithOboToken Creates a new default VbInstance 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 (VbInstanceClient) ChangeVbInstanceCompartment ¶
func (client VbInstanceClient) ChangeVbInstanceCompartment(ctx context.Context, request ChangeVbInstanceCompartmentRequest) (response ChangeVbInstanceCompartmentResponse, err error)
ChangeVbInstanceCompartment Change the compartment for an vb instance
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ChangeVbInstanceCompartment.go.html to see an example of how to use ChangeVbInstanceCompartment API.
func (*VbInstanceClient) ConfigurationProvider ¶
func (client *VbInstanceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (VbInstanceClient) CreateVbInstance ¶
func (client VbInstanceClient) CreateVbInstance(ctx context.Context, request CreateVbInstanceRequest) (response CreateVbInstanceResponse, err error)
CreateVbInstance Creates a new Vb Instance.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/CreateVbInstance.go.html to see an example of how to use CreateVbInstance API.
func (VbInstanceClient) DeleteVbInstance ¶
func (client VbInstanceClient) DeleteVbInstance(ctx context.Context, request DeleteVbInstanceRequest) (response DeleteVbInstanceResponse, err error)
DeleteVbInstance Deletes an Vb Instance resource by identifier.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/DeleteVbInstance.go.html to see an example of how to use DeleteVbInstance API.
func (VbInstanceClient) GetVbInstance ¶
func (client VbInstanceClient) GetVbInstance(ctx context.Context, request GetVbInstanceRequest) (response GetVbInstanceResponse, err error)
GetVbInstance Gets a VbInstance by identifier
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/GetVbInstance.go.html to see an example of how to use GetVbInstance API.
func (VbInstanceClient) GetWorkRequest ¶
func (client VbInstanceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (VbInstanceClient) ListVbInstances ¶
func (client VbInstanceClient) ListVbInstances(ctx context.Context, request ListVbInstancesRequest) (response ListVbInstancesResponse, err error)
ListVbInstances Returns a list of Vb Instances.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ListVbInstances.go.html to see an example of how to use ListVbInstances API.
func (VbInstanceClient) ListWorkRequestErrors ¶
func (client VbInstanceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Get the errors of a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (VbInstanceClient) ListWorkRequestLogs ¶
func (client VbInstanceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Get the logs of a work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (VbInstanceClient) ListWorkRequests ¶
func (client VbInstanceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (VbInstanceClient) RequestSummarizedApplications ¶
func (client VbInstanceClient) RequestSummarizedApplications(ctx context.Context, request RequestSummarizedApplicationsRequest) (response RequestSummarizedApplicationsResponse, err error)
RequestSummarizedApplications Summarizes the applications for a vb instance.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/RequestSummarizedApplications.go.html to see an example of how to use RequestSummarizedApplications API.
func (*VbInstanceClient) SetRegion ¶
func (client *VbInstanceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (VbInstanceClient) StartVbInstance ¶
func (client VbInstanceClient) StartVbInstance(ctx context.Context, request StartVbInstanceRequest) (response StartVbInstanceResponse, err error)
StartVbInstance Start an vb instance that was previously in an INACTIVE state. If the previous state is not INACTIVE, then the state of the vbInstance will not be changed and a 409 response returned.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/StartVbInstance.go.html to see an example of how to use StartVbInstance API.
func (VbInstanceClient) StopVbInstance ¶
func (client VbInstanceClient) StopVbInstance(ctx context.Context, request StopVbInstanceRequest) (response StopVbInstanceResponse, err error)
StopVbInstance Stop an vb instance that was previously in an ACTIVE state. If the previous state is not ACTIVE, then the state of the vbInstance will not be changed and a 409 response returned.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/StopVbInstance.go.html to see an example of how to use StopVbInstance API.
func (VbInstanceClient) UpdateVbInstance ¶
func (client VbInstanceClient) UpdateVbInstance(ctx context.Context, request UpdateVbInstanceRequest) (response UpdateVbInstanceResponse, err error)
UpdateVbInstance Updates the Vb Instance.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/visualbuilder/UpdateVbInstance.go.html to see an example of how to use UpdateVbInstance API.
type VbInstanceConsumptionModelEnum ¶
type VbInstanceConsumptionModelEnum string
VbInstanceConsumptionModelEnum Enum with underlying type: string
const ( VbInstanceConsumptionModelUcm VbInstanceConsumptionModelEnum = "UCM" VbInstanceConsumptionModelGov VbInstanceConsumptionModelEnum = "GOV" VbInstanceConsumptionModelVb4saas VbInstanceConsumptionModelEnum = "VB4SAAS" )
Set of constants representing the allowable values for VbInstanceConsumptionModelEnum
func GetMappingVbInstanceConsumptionModelEnum ¶
func GetMappingVbInstanceConsumptionModelEnum(val string) (VbInstanceConsumptionModelEnum, bool)
GetMappingVbInstanceConsumptionModelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVbInstanceConsumptionModelEnumValues ¶
func GetVbInstanceConsumptionModelEnumValues() []VbInstanceConsumptionModelEnum
GetVbInstanceConsumptionModelEnumValues Enumerates the set of values for VbInstanceConsumptionModelEnum
type VbInstanceLifecycleStateEnum ¶
type VbInstanceLifecycleStateEnum string
VbInstanceLifecycleStateEnum Enum with underlying type: string
const ( VbInstanceLifecycleStateCreating VbInstanceLifecycleStateEnum = "CREATING" VbInstanceLifecycleStateUpdating VbInstanceLifecycleStateEnum = "UPDATING" VbInstanceLifecycleStateActive VbInstanceLifecycleStateEnum = "ACTIVE" VbInstanceLifecycleStateInactive VbInstanceLifecycleStateEnum = "INACTIVE" VbInstanceLifecycleStateDeleting VbInstanceLifecycleStateEnum = "DELETING" VbInstanceLifecycleStateDeleted VbInstanceLifecycleStateEnum = "DELETED" VbInstanceLifecycleStateFailed VbInstanceLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for VbInstanceLifecycleStateEnum
func GetMappingVbInstanceLifecycleStateEnum ¶
func GetMappingVbInstanceLifecycleStateEnum(val string) (VbInstanceLifecycleStateEnum, bool)
GetMappingVbInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVbInstanceLifecycleStateEnumValues ¶
func GetVbInstanceLifecycleStateEnumValues() []VbInstanceLifecycleStateEnum
GetVbInstanceLifecycleStateEnumValues Enumerates the set of values for VbInstanceLifecycleStateEnum
type VbInstanceSummary ¶
type VbInstanceSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Vb Instance Identifier, can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the Vb Instance. LifecycleState VbInstanceSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The Vb Instance URL. InstanceUrl *string `mandatory:"true" json:"instanceUrl"` // The number of Nodes NodeCount *int `mandatory:"true" json:"nodeCount"` // The time the the Vb Instance was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the VbInstance was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. StateMessage *string `mandatory:"false" json:"stateMessage"` // Visual Builder is enabled or not. IsVisualBuilderEnabled *bool `mandatory:"false" json:"isVisualBuilderEnabled"` CustomEndpoint *CustomEndpointDetails `mandatory:"false" json:"customEndpoint"` // A list of alternate custom endpoints used for the vb instance URL. AlternateCustomEndpoints []CustomEndpointDetails `mandatory:"false" json:"alternateCustomEndpoints"` // The entitlement used for billing purposes. ConsumptionModel VbInstanceSummaryConsumptionModelEnum `mandatory:"false" json:"consumptionModel,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
VbInstanceSummary Summary of the Vb Instance.
func (VbInstanceSummary) String ¶
func (m VbInstanceSummary) String() string
func (VbInstanceSummary) ValidateEnumValue ¶
func (m VbInstanceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VbInstanceSummaryCollection ¶
type VbInstanceSummaryCollection struct { // The collection of VbInstanceSummary objects. Items []VbInstanceSummary `mandatory:"true" json:"items"` }
VbInstanceSummaryCollection Result of a VbInstance Summary request. Contains VbInstanceSummary items.
func (VbInstanceSummaryCollection) String ¶
func (m VbInstanceSummaryCollection) String() string
func (VbInstanceSummaryCollection) ValidateEnumValue ¶
func (m VbInstanceSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VbInstanceSummaryConsumptionModelEnum ¶
type VbInstanceSummaryConsumptionModelEnum string
VbInstanceSummaryConsumptionModelEnum Enum with underlying type: string
const ( VbInstanceSummaryConsumptionModelUcm VbInstanceSummaryConsumptionModelEnum = "UCM" VbInstanceSummaryConsumptionModelGov VbInstanceSummaryConsumptionModelEnum = "GOV" VbInstanceSummaryConsumptionModelVb4saas VbInstanceSummaryConsumptionModelEnum = "VB4SAAS" )
Set of constants representing the allowable values for VbInstanceSummaryConsumptionModelEnum
func GetMappingVbInstanceSummaryConsumptionModelEnum ¶
func GetMappingVbInstanceSummaryConsumptionModelEnum(val string) (VbInstanceSummaryConsumptionModelEnum, bool)
GetMappingVbInstanceSummaryConsumptionModelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVbInstanceSummaryConsumptionModelEnumValues ¶
func GetVbInstanceSummaryConsumptionModelEnumValues() []VbInstanceSummaryConsumptionModelEnum
GetVbInstanceSummaryConsumptionModelEnumValues Enumerates the set of values for VbInstanceSummaryConsumptionModelEnum
type VbInstanceSummaryLifecycleStateEnum ¶
type VbInstanceSummaryLifecycleStateEnum string
VbInstanceSummaryLifecycleStateEnum Enum with underlying type: string
const ( VbInstanceSummaryLifecycleStateCreating VbInstanceSummaryLifecycleStateEnum = "CREATING" VbInstanceSummaryLifecycleStateUpdating VbInstanceSummaryLifecycleStateEnum = "UPDATING" VbInstanceSummaryLifecycleStateActive VbInstanceSummaryLifecycleStateEnum = "ACTIVE" VbInstanceSummaryLifecycleStateInactive VbInstanceSummaryLifecycleStateEnum = "INACTIVE" VbInstanceSummaryLifecycleStateDeleting VbInstanceSummaryLifecycleStateEnum = "DELETING" VbInstanceSummaryLifecycleStateDeleted VbInstanceSummaryLifecycleStateEnum = "DELETED" VbInstanceSummaryLifecycleStateFailed VbInstanceSummaryLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for VbInstanceSummaryLifecycleStateEnum
func GetMappingVbInstanceSummaryLifecycleStateEnum ¶
func GetMappingVbInstanceSummaryLifecycleStateEnum(val string) (VbInstanceSummaryLifecycleStateEnum, bool)
GetMappingVbInstanceSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVbInstanceSummaryLifecycleStateEnumValues ¶
func GetVbInstanceSummaryLifecycleStateEnumValues() []VbInstanceSummaryLifecycleStateEnum
GetVbInstanceSummaryLifecycleStateEnumValues Enumerates the set of values for VbInstanceSummaryLifecycleStateEnum
type WorkRequest ¶
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"` }
WorkRequest A description of work request status.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestError ¶
type WorkRequestError struct { // A short error code that defines the error, meant for programmatic parsing Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError Errors related to a specific work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // List of objects containing errors related to a specific work request.. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection Result of a WorkRequest Error request. Contains list of WorkRequestError items.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
func (WorkRequestErrorCollection) ValidateEnumValue ¶
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // The description of an action that occurred. Message *string `mandatory:"true" json:"message"` // The date and time the log entry occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry Log entries related to a specific work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // List of objects containing logs related to a specific work request.. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection Result of a WorkRequest Log request. Contains list of WorkRequestLog items.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
func (WorkRequestLogEntryCollection) ValidateEnumValue ¶
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestOperationTypeEnum ¶
type WorkRequestOperationTypeEnum string
WorkRequestOperationTypeEnum Enum with underlying type: string
const ( WorkRequestOperationTypeCreateVbInstance WorkRequestOperationTypeEnum = "CREATE_VB_INSTANCE" WorkRequestOperationTypeUpdateVbInstance WorkRequestOperationTypeEnum = "UPDATE_VB_INSTANCE" WorkRequestOperationTypeStopVbInstance WorkRequestOperationTypeEnum = "STOP_VB_INSTANCE" WorkRequestOperationTypeStartVbInstance WorkRequestOperationTypeEnum = "START_VB_INSTANCE" WorkRequestOperationTypeDeleteVbInstance WorkRequestOperationTypeEnum = "DELETE_VB_INSTANCE" )
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
func GetMappingWorkRequestOperationTypeEnum ¶
func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestOperationTypeEnumValues ¶
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
type WorkRequestResource ¶
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"` }
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResourceActionTypeEnum ¶
type WorkRequestResourceActionTypeEnum string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeStopped WorkRequestResourceActionTypeEnum = "STOPPED" WorkRequestResourceActionTypeStarted WorkRequestResourceActionTypeEnum = "STARTED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
func GetMappingWorkRequestResourceActionTypeEnum ¶
func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceActionTypeEnumValues ¶
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum ¶
type WorkRequestStatusEnum string
WorkRequestStatusEnum Enum with underlying type: string
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkRequestStatusEnum
func GetMappingWorkRequestStatusEnum ¶
func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestStatusEnumValues ¶
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
type WorkRequestSummary ¶
type WorkRequestSummary struct { // Type of the work request. OperationType WorkRequestSummaryOperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status WorkRequestSummaryStatusEnum `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"` }
WorkRequestSummary A description of work request status.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct { // The collection of WorkRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
WorkRequestSummaryCollection Result of a WorkRequest Summary request. Contains WorkRequestSummary items.
func (WorkRequestSummaryCollection) String ¶
func (m WorkRequestSummaryCollection) String() string
func (WorkRequestSummaryCollection) ValidateEnumValue ¶
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryOperationTypeEnum ¶
type WorkRequestSummaryOperationTypeEnum string
WorkRequestSummaryOperationTypeEnum Enum with underlying type: string
const ( WorkRequestSummaryOperationTypeCreateVbInstance WorkRequestSummaryOperationTypeEnum = "CREATE_VB_INSTANCE" WorkRequestSummaryOperationTypeUpdateVbInstance WorkRequestSummaryOperationTypeEnum = "UPDATE_VB_INSTANCE" WorkRequestSummaryOperationTypeStopVbInstance WorkRequestSummaryOperationTypeEnum = "STOP_VB_INSTANCE" WorkRequestSummaryOperationTypeStartVbInstance WorkRequestSummaryOperationTypeEnum = "START_VB_INSTANCE" WorkRequestSummaryOperationTypeDeleteVbInstance WorkRequestSummaryOperationTypeEnum = "DELETE_VB_INSTANCE" )
Set of constants representing the allowable values for WorkRequestSummaryOperationTypeEnum
func GetMappingWorkRequestSummaryOperationTypeEnum ¶
func GetMappingWorkRequestSummaryOperationTypeEnum(val string) (WorkRequestSummaryOperationTypeEnum, bool)
GetMappingWorkRequestSummaryOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestSummaryOperationTypeEnumValues ¶
func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum
GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum
type WorkRequestSummaryStatusEnum ¶
type WorkRequestSummaryStatusEnum string
WorkRequestSummaryStatusEnum Enum with underlying type: string
const ( WorkRequestSummaryStatusAccepted WorkRequestSummaryStatusEnum = "ACCEPTED" WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS" WorkRequestSummaryStatusFailed WorkRequestSummaryStatusEnum = "FAILED" WorkRequestSummaryStatusSucceeded WorkRequestSummaryStatusEnum = "SUCCEEDED" WorkRequestSummaryStatusCanceling WorkRequestSummaryStatusEnum = "CANCELING" WorkRequestSummaryStatusCanceled WorkRequestSummaryStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkRequestSummaryStatusEnum
func GetMappingWorkRequestSummaryStatusEnum ¶
func GetMappingWorkRequestSummaryStatusEnum(val string) (WorkRequestSummaryStatusEnum, bool)
GetMappingWorkRequestSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestSummaryStatusEnumValues ¶
func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum
GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum
Source Files
¶
- application_summary.go
- application_summary_collection.go
- change_vb_instance_compartment_details.go
- change_vb_instance_compartment_request_response.go
- create_custom_endpoint_details.go
- create_vb_instance_details.go
- create_vb_instance_request_response.go
- custom_endpoint_details.go
- delete_vb_instance_request_response.go
- get_vb_instance_request_response.go
- get_work_request_request_response.go
- list_vb_instances_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- request_summarized_applications_details.go
- request_summarized_applications_request_response.go
- start_vb_instance_request_response.go
- stop_vb_instance_request_response.go
- update_custom_endpoint_details.go
- update_vb_instance_details.go
- update_vb_instance_request_response.go
- vb_instance.go
- vb_instance_summary.go
- vb_instance_summary_collection.go
- visualbuilder_vbinstance_client.go
- work_request.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go
- work_request_summary.go
- work_request_summary_collection.go