oci-go-sdk: github.com/oracle/oci-go-sdk/resourcemanager Index | Files

package resourcemanager

import "github.com/oracle/oci-go-sdk/resourcemanager"

Index

Package Files

apply_job_operation_details.go apply_job_operation_details_summary.go apply_job_plan_resolution.go cancel_job_request_response.go change_stack_compartment_details.go change_stack_compartment_request_response.go config_source.go create_apply_job_operation_details.go create_config_source_details.go create_destroy_job_operation_details.go create_import_tf_state_job_operation_details.go create_job_details.go create_job_operation_details.go create_job_request_response.go create_plan_job_operation_details.go create_stack_details.go create_stack_request_response.go create_zip_upload_config_source_details.go delete_stack_request_response.go destroy_job_operation_details.go destroy_job_operation_details_summary.go failure_details.go get_job_logs_content_request_response.go get_job_logs_request_response.go get_job_request_response.go get_job_tf_config_request_response.go get_job_tf_state_request_response.go get_stack_request_response.go get_stack_tf_config_request_response.go get_stack_tf_state_request_response.go get_work_request_request_response.go import_tf_state_job_operation_details.go import_tf_state_job_operation_details_summary.go job.go job_operation_details.go job_operation_details_summary.go job_summary.go list_jobs_request_response.go list_stacks_request_response.go list_terraform_versions_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go log_entry.go plan_job_operation_details.go plan_job_operation_details_summary.go resourcemanager_client.go stack.go stack_summary.go terraform_version_collection.go terraform_version_summary.go update_config_source_details.go update_job_details.go update_job_request_response.go update_stack_details.go update_stack_request_response.go update_zip_upload_config_source_details.go work_request.go work_request_error.go work_request_log_entry.go work_request_resource.go work_request_summary.go zip_upload_config_source.go

type ApplyJobOperationDetails Uses

type ApplyJobOperationDetails struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the plan job that contains the execution plan used for this job,
    // or `null` if no execution plan was used.
    ExecutionPlanJobId *string `mandatory:"false" json:"executionPlanJobId"`

    // Specifies the source of the execution plan to apply.
    // Use `AUTO_APPROVED` to run the job without an execution plan.
    ExecutionPlanStrategy ApplyJobOperationDetailsExecutionPlanStrategyEnum `mandatory:"true" json:"executionPlanStrategy"`
}

ApplyJobOperationDetails Job details that are specific to apply operations.

func (ApplyJobOperationDetails) MarshalJSON Uses

func (m ApplyJobOperationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ApplyJobOperationDetails) String Uses

func (m ApplyJobOperationDetails) String() string

type ApplyJobOperationDetailsExecutionPlanStrategyEnum Uses

type ApplyJobOperationDetailsExecutionPlanStrategyEnum string

ApplyJobOperationDetailsExecutionPlanStrategyEnum Enum with underlying type: string

const (
    ApplyJobOperationDetailsExecutionPlanStrategyFromPlanJobId     ApplyJobOperationDetailsExecutionPlanStrategyEnum = "FROM_PLAN_JOB_ID"
    ApplyJobOperationDetailsExecutionPlanStrategyFromLatestPlanJob ApplyJobOperationDetailsExecutionPlanStrategyEnum = "FROM_LATEST_PLAN_JOB"
    ApplyJobOperationDetailsExecutionPlanStrategyAutoApproved      ApplyJobOperationDetailsExecutionPlanStrategyEnum = "AUTO_APPROVED"
)

Set of constants representing the allowable values for ApplyJobOperationDetailsExecutionPlanStrategyEnum

func GetApplyJobOperationDetailsExecutionPlanStrategyEnumValues Uses

func GetApplyJobOperationDetailsExecutionPlanStrategyEnumValues() []ApplyJobOperationDetailsExecutionPlanStrategyEnum

GetApplyJobOperationDetailsExecutionPlanStrategyEnumValues Enumerates the set of values for ApplyJobOperationDetailsExecutionPlanStrategyEnum

type ApplyJobOperationDetailsSummary Uses

type ApplyJobOperationDetailsSummary struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the plan job that contains the execution plan used for this job,
    // or `null` if no execution plan was used.
    ExecutionPlanJobId *string `mandatory:"false" json:"executionPlanJobId"`

    // Specifies the source of the execution plan to apply.
    // Use `AUTO_APPROVED` to run the job without an execution plan.
    ExecutionPlanStrategy ApplyJobOperationDetailsExecutionPlanStrategyEnum `mandatory:"true" json:"executionPlanStrategy"`
}

ApplyJobOperationDetailsSummary Job details that are specific to apply operations.

func (ApplyJobOperationDetailsSummary) MarshalJSON Uses

func (m ApplyJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ApplyJobOperationDetailsSummary) String Uses

func (m ApplyJobOperationDetailsSummary) String() string

type ApplyJobPlanResolution Uses

type ApplyJobPlanResolution struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that specifies the most recently executed plan job.
    PlanJobId *string `mandatory:"false" json:"planJobId"`

    // Specifies whether to use the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the most recently run plan job.
    // `True` if using the latest job OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a plan job that completed successfully.
    IsUseLatestJobId *bool `mandatory:"false" json:"isUseLatestJobId"`

    // Specifies whether to use the configuration directly, without reference to a Plan job.
    // `True` if using the configuration directly. Note that it is not necessary
    // for a Plan job to have run successfully.
    IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"`
}

ApplyJobPlanResolution Deprecated. Use the property `executionPlanStrategy` in `jobOperationDetails` instead.

func (ApplyJobPlanResolution) String Uses

func (m ApplyJobPlanResolution) String() string

type CancelJobRequest Uses

type CancelJobRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

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

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

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

CancelJobRequest wrapper for the CancelJob operation

func (CancelJobRequest) HTTPRequest Uses

func (request CancelJobRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelJobRequest) RetryPolicy Uses

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

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

func (CancelJobRequest) String Uses

func (request CancelJobRequest) String() string

type CancelJobResponse Uses

type CancelJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelJobResponse wrapper for the CancelJob operation

func (CancelJobResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (CancelJobResponse) String Uses

func (response CancelJobResponse) String() string

type ChangeStackCompartmentDetails Uses

type ChangeStackCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the Stack should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeStackCompartmentDetails Defines the requirements and properties of changeStackCompartment operation.

func (ChangeStackCompartmentDetails) String Uses

func (m ChangeStackCompartmentDetails) String() string

type ChangeStackCompartmentRequest Uses

type ChangeStackCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
    StackId *string `mandatory:"true" contributesTo:"path" name:"stackId"`

    // Defines the properties of changeStackCompartment operation.
    ChangeStackCompartmentDetails `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"`

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

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of retrying the same action. 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 may 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
}

ChangeStackCompartmentRequest wrapper for the ChangeStackCompartment operation

func (ChangeStackCompartmentRequest) HTTPRequest Uses

func (request ChangeStackCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeStackCompartmentRequest) RetryPolicy Uses

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

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

func (ChangeStackCompartmentRequest) String Uses

func (request ChangeStackCompartmentRequest) String() string

type ChangeStackCompartmentResponse Uses

type ChangeStackCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeStackCompartmentResponse wrapper for the ChangeStackCompartment operation

func (ChangeStackCompartmentResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (ChangeStackCompartmentResponse) String Uses

func (response ChangeStackCompartmentResponse) String() string

type ConfigSource Uses

type ConfigSource interface {

    // File path to the directory from which Terraform runs.
    // If not specified, we use the root directory.
    GetWorkingDirectory() *string
}

ConfigSource Location of the Terraform configuration.

type ConfigSourceConfigSourceTypeEnum Uses

type ConfigSourceConfigSourceTypeEnum string

ConfigSourceConfigSourceTypeEnum Enum with underlying type: string

const (
    ConfigSourceConfigSourceTypeZipUpload ConfigSourceConfigSourceTypeEnum = "ZIP_UPLOAD"
)

Set of constants representing the allowable values for ConfigSourceConfigSourceTypeEnum

func GetConfigSourceConfigSourceTypeEnumValues Uses

func GetConfigSourceConfigSourceTypeEnumValues() []ConfigSourceConfigSourceTypeEnum

GetConfigSourceConfigSourceTypeEnumValues Enumerates the set of values for ConfigSourceConfigSourceTypeEnum

type CreateApplyJobOperationDetails Uses

type CreateApplyJobOperationDetails struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a plan job, for use when specifying `FROM_PLAN_JOB_ID` as the `executionPlanStrategy`.
    ExecutionPlanJobId *string `mandatory:"false" json:"executionPlanJobId"`

    // Specifies the source of the execution plan to apply.
    // Use `AUTO_APPROVED` to run the job without an execution plan.
    ExecutionPlanStrategy ApplyJobOperationDetailsExecutionPlanStrategyEnum `mandatory:"false" json:"executionPlanStrategy,omitempty"`
}

CreateApplyJobOperationDetails Job details that are specific to apply operations.

func (CreateApplyJobOperationDetails) MarshalJSON Uses

func (m CreateApplyJobOperationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateApplyJobOperationDetails) String Uses

func (m CreateApplyJobOperationDetails) String() string

type CreateConfigSourceDetails Uses

type CreateConfigSourceDetails interface {

    // File path to the directory from which Terraform runs.
    // If not specified, the root directory is used.
    GetWorkingDirectory() *string
}

CreateConfigSourceDetails Property details for the configuration source.

type CreateDestroyJobOperationDetails Uses

type CreateDestroyJobOperationDetails struct {

    // Specifies the source of the execution plan to apply.
    // Currently, only `AUTO_APPROVED` is allowed, which indicates that the job
    // will be run without an execution plan.
    ExecutionPlanStrategy DestroyJobOperationDetailsExecutionPlanStrategyEnum `mandatory:"true" json:"executionPlanStrategy"`
}

CreateDestroyJobOperationDetails Job details that are specific to destroy operations.

func (CreateDestroyJobOperationDetails) MarshalJSON Uses

func (m CreateDestroyJobOperationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateDestroyJobOperationDetails) String Uses

func (m CreateDestroyJobOperationDetails) String() string

type CreateImportTfStateJobOperationDetails Uses

type CreateImportTfStateJobOperationDetails struct {

    // Base64-encoded state file
    TfStateBase64Encoded []byte `mandatory:"true" json:"tfStateBase64Encoded"`
}

CreateImportTfStateJobOperationDetails Job details that are specific to import Terraform state operations.

func (CreateImportTfStateJobOperationDetails) MarshalJSON Uses

func (m CreateImportTfStateJobOperationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateImportTfStateJobOperationDetails) String Uses

func (m CreateImportTfStateJobOperationDetails) String() string

type CreateJobDetails Uses

type CreateJobDetails struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack that is associated with the current job.
    StackId *string `mandatory:"true" json:"stackId"`

    // Description of the job.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Terraform-specific operation to execute.
    Operation JobOperationEnum `mandatory:"false" json:"operation,omitempty"`

    JobOperationDetails CreateJobOperationDetails `mandatory:"false" json:"jobOperationDetails"`

    ApplyJobPlanResolution *ApplyJobPlanResolution `mandatory:"false" json:"applyJobPlanResolution"`

    // Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateJobDetails Defines the requirements and properties of a job to create and run against the specified stack.

func (CreateJobDetails) String Uses

func (m CreateJobDetails) String() string

func (*CreateJobDetails) UnmarshalJSON Uses

func (m *CreateJobDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreateJobOperationDetails Uses

type CreateJobOperationDetails interface {
}

CreateJobOperationDetails Job details that are specific to the operation type.

type CreateJobRequest Uses

type CreateJobRequest struct {

    // The properties for a request to create a job.
    CreateJobDetails `contributesTo:"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 `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 retrying the same action. 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 may 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
}

CreateJobRequest wrapper for the CreateJob operation

func (CreateJobRequest) HTTPRequest Uses

func (request CreateJobRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateJobRequest) RetryPolicy Uses

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

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

func (CreateJobRequest) String Uses

func (request CreateJobRequest) String() string

type CreateJobResponse Uses

type CreateJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

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

CreateJobResponse wrapper for the CreateJob operation

func (CreateJobResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (CreateJobResponse) String Uses

func (response CreateJobResponse) String() string

type CreatePlanJobOperationDetails Uses

type CreatePlanJobOperationDetails struct {
}

CreatePlanJobOperationDetails Job details that are specific to plan operations.

func (CreatePlanJobOperationDetails) MarshalJSON Uses

func (m CreatePlanJobOperationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreatePlanJobOperationDetails) String Uses

func (m CreatePlanJobOperationDetails) String() string

type CreateStackDetails Uses

type CreateStackDetails struct {

    // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the compartment in which the stack resides.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    ConfigSource CreateConfigSourceDetails `mandatory:"true" json:"configSource"`

    // The stack's display name.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the stack.
    Description *string `mandatory:"false" json:"description"`

    // Terraform variables associated with this resource.
    // Maximum number of variables supported is 100.
    // The maximum size of each variable, including both name and value, is 4096 bytes.
    // Example: `{"CompartmentId": "compartment-id-value"}`
    Variables map[string]string `mandatory:"false" json:"variables"`

    // The version of Terraform to use with the stack. Example: `0.12.x`
    TerraformVersion *string `mandatory:"false" json:"terraformVersion"`

    // Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags associated with this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateStackDetails Properties provided for creating a stack.

func (CreateStackDetails) String Uses

func (m CreateStackDetails) String() string

func (*CreateStackDetails) UnmarshalJSON Uses

func (m *CreateStackDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreateStackRequest Uses

type CreateStackRequest struct {

    // The properties for creating a stack.
    CreateStackDetails `contributesTo:"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 `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 retrying the same action. 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 may 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
}

CreateStackRequest wrapper for the CreateStack operation

func (CreateStackRequest) HTTPRequest Uses

func (request CreateStackRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateStackRequest) RetryPolicy Uses

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

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

func (CreateStackRequest) String Uses

func (request CreateStackRequest) String() string

type CreateStackResponse Uses

type CreateStackResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

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

CreateStackResponse wrapper for the CreateStack operation

func (CreateStackResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (CreateStackResponse) String Uses

func (response CreateStackResponse) String() string

type CreateZipUploadConfigSourceDetails Uses

type CreateZipUploadConfigSourceDetails struct {
    ZipFileBase64Encoded *string `mandatory:"true" json:"zipFileBase64Encoded"`

    // File path to the directory from which Terraform runs.
    // If not specified, the root directory is used.
    WorkingDirectory *string `mandatory:"false" json:"workingDirectory"`
}

CreateZipUploadConfigSourceDetails Property details for uploading the configuration zip file.

func (CreateZipUploadConfigSourceDetails) GetWorkingDirectory Uses

func (m CreateZipUploadConfigSourceDetails) GetWorkingDirectory() *string

GetWorkingDirectory returns WorkingDirectory

func (CreateZipUploadConfigSourceDetails) MarshalJSON Uses

func (m CreateZipUploadConfigSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateZipUploadConfigSourceDetails) String Uses

func (m CreateZipUploadConfigSourceDetails) String() string

type DeleteStackRequest Uses

type DeleteStackRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
    StackId *string `mandatory:"true" contributesTo:"path" name:"stackId"`

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

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

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

DeleteStackRequest wrapper for the DeleteStack operation

func (DeleteStackRequest) HTTPRequest Uses

func (request DeleteStackRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteStackRequest) RetryPolicy Uses

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

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

func (DeleteStackRequest) String Uses

func (request DeleteStackRequest) String() string

type DeleteStackResponse Uses

type DeleteStackResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteStackResponse wrapper for the DeleteStack operation

func (DeleteStackResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (DeleteStackResponse) String Uses

func (response DeleteStackResponse) String() string

type DestroyJobOperationDetails Uses

type DestroyJobOperationDetails struct {

    // Specifies the source of the execution plan to apply.
    // Currently, only `AUTO_APPROVED` is allowed, which indicates that the job
    // will be run without an execution plan.
    ExecutionPlanStrategy DestroyJobOperationDetailsExecutionPlanStrategyEnum `mandatory:"true" json:"executionPlanStrategy"`
}

DestroyJobOperationDetails Job details that are specific to destroy operations.

func (DestroyJobOperationDetails) MarshalJSON Uses

func (m DestroyJobOperationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DestroyJobOperationDetails) String Uses

func (m DestroyJobOperationDetails) String() string

type DestroyJobOperationDetailsExecutionPlanStrategyEnum Uses

type DestroyJobOperationDetailsExecutionPlanStrategyEnum string

DestroyJobOperationDetailsExecutionPlanStrategyEnum Enum with underlying type: string

const (
    DestroyJobOperationDetailsExecutionPlanStrategyAutoApproved DestroyJobOperationDetailsExecutionPlanStrategyEnum = "AUTO_APPROVED"
)

Set of constants representing the allowable values for DestroyJobOperationDetailsExecutionPlanStrategyEnum

func GetDestroyJobOperationDetailsExecutionPlanStrategyEnumValues Uses

func GetDestroyJobOperationDetailsExecutionPlanStrategyEnumValues() []DestroyJobOperationDetailsExecutionPlanStrategyEnum

GetDestroyJobOperationDetailsExecutionPlanStrategyEnumValues Enumerates the set of values for DestroyJobOperationDetailsExecutionPlanStrategyEnum

type DestroyJobOperationDetailsSummary Uses

type DestroyJobOperationDetailsSummary struct {

    // Specifies the source of the execution plan to apply.
    // Currently, only `AUTO_APPROVED` is allowed, which indicates that the job
    // will be run without an execution plan.
    ExecutionPlanStrategy DestroyJobOperationDetailsExecutionPlanStrategyEnum `mandatory:"true" json:"executionPlanStrategy"`
}

DestroyJobOperationDetailsSummary Job details that are specific to destroy operations.

func (DestroyJobOperationDetailsSummary) MarshalJSON Uses

func (m DestroyJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DestroyJobOperationDetailsSummary) String Uses

func (m DestroyJobOperationDetailsSummary) String() string

type FailureDetails Uses

type FailureDetails struct {

    // Job failure reason.
    Code FailureDetailsCodeEnum `mandatory:"true" json:"code"`

    // A human-readable error string.
    Message *string `mandatory:"true" json:"message"`
}

FailureDetails The representation of FailureDetails

func (FailureDetails) String Uses

func (m FailureDetails) String() string

type FailureDetailsCodeEnum Uses

type FailureDetailsCodeEnum string

FailureDetailsCodeEnum Enum with underlying type: string

const (
    FailureDetailsCodeInternalServiceError       FailureDetailsCodeEnum = "INTERNAL_SERVICE_ERROR"
    FailureDetailsCodeTerraformExecutionError    FailureDetailsCodeEnum = "TERRAFORM_EXECUTION_ERROR"
    FailureDetailsCodeTerraformConfigUnzipFailed FailureDetailsCodeEnum = "TERRAFORM_CONFIG_UNZIP_FAILED"
    FailureDetailsCodeInvalidWorkingDirectory    FailureDetailsCodeEnum = "INVALID_WORKING_DIRECTORY"
    FailureDetailsCodeJobTimeout                 FailureDetailsCodeEnum = "JOB_TIMEOUT"
    FailureDetailsCodeTerraformConfigVirusFound  FailureDetailsCodeEnum = "TERRAFORM_CONFIG_VIRUS_FOUND"
)

Set of constants representing the allowable values for FailureDetailsCodeEnum

func GetFailureDetailsCodeEnumValues Uses

func GetFailureDetailsCodeEnumValues() []FailureDetailsCodeEnum

GetFailureDetailsCodeEnumValues Enumerates the set of values for FailureDetailsCodeEnum

type GetJobLogsContentRequest Uses

type GetJobLogsContentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

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

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

GetJobLogsContentRequest wrapper for the GetJobLogsContent operation

func (GetJobLogsContentRequest) HTTPRequest Uses

func (request GetJobLogsContentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobLogsContentRequest) RetryPolicy Uses

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

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

func (GetJobLogsContentRequest) String Uses

func (request GetJobLogsContentRequest) String() string

type GetJobLogsContentResponse Uses

type GetJobLogsContentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The string instance
    Value *string `presentIn:"body" encoding:"plain-text"`

    // Unique identifier for the request
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetJobLogsContentResponse wrapper for the GetJobLogsContent operation

func (GetJobLogsContentResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetJobLogsContentResponse) String Uses

func (response GetJobLogsContentResponse) String() string

type GetJobLogsRequest Uses

type GetJobLogsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

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

    // A filter that returns only logs of a specified type.
    Type []LogEntryTypeEnum `contributesTo:"query" name:"type" omitEmpty:"true" collectionFormat:"multi"`

    // A filter that returns only log entries that match a given severity level or greater.
    LevelGreaterThanOrEqualTo LogEntryLevelEnum `mandatory:"false" contributesTo:"query" name:"levelGreaterThanOrEqualTo" omitEmpty:"true"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder GetJobLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Time stamp specifying the lower time limit for which logs are returned in a query.
    TimestampGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timestampGreaterThanOrEqualTo"`

    // Time stamp specifying the upper time limit for which logs are returned in a query.
    TimestampLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timestampLessThanOrEqualTo"`

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

GetJobLogsRequest wrapper for the GetJobLogs operation

func (GetJobLogsRequest) HTTPRequest Uses

func (request GetJobLogsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobLogsRequest) RetryPolicy Uses

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

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

func (GetJobLogsRequest) String Uses

func (request GetJobLogsRequest) String() string

type GetJobLogsResponse Uses

type GetJobLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []LogEntry instances
    Items []LogEntry `presentIn:"body"`

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Retrieves the next page of paginated list items. If the `opc-next-page`
    // header appears in the response, additional pages of results remain.
    // To receive the next page, include the header value in the `page` param.
    // If the `opc-next-page` header does not appear in the response, there
    // are no more list items to get. For more information about list pagination,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

GetJobLogsResponse wrapper for the GetJobLogs operation

func (GetJobLogsResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetJobLogsResponse) String Uses

func (response GetJobLogsResponse) String() string

type GetJobLogsSortOrderEnum Uses

type GetJobLogsSortOrderEnum string

GetJobLogsSortOrderEnum Enum with underlying type: string

const (
    GetJobLogsSortOrderAsc  GetJobLogsSortOrderEnum = "ASC"
    GetJobLogsSortOrderDesc GetJobLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for GetJobLogsSortOrderEnum

func GetGetJobLogsSortOrderEnumValues Uses

func GetGetJobLogsSortOrderEnumValues() []GetJobLogsSortOrderEnum

GetGetJobLogsSortOrderEnumValues Enumerates the set of values for GetJobLogsSortOrderEnum

type GetJobRequest Uses

type GetJobRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

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

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

GetJobRequest wrapper for the GetJob operation

func (GetJobRequest) HTTPRequest Uses

func (request GetJobRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobRequest) RetryPolicy Uses

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

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

func (GetJobRequest) String Uses

func (request GetJobRequest) String() string

type GetJobResponse Uses

type GetJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

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

GetJobResponse wrapper for the GetJob operation

func (GetJobResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetJobResponse) String Uses

func (response GetJobResponse) String() string

type GetJobTfConfigRequest Uses

type GetJobTfConfigRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

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

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

GetJobTfConfigRequest wrapper for the GetJobTfConfig operation

func (GetJobTfConfigRequest) HTTPRequest Uses

func (request GetJobTfConfigRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobTfConfigRequest) RetryPolicy Uses

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

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

func (GetJobTfConfigRequest) String Uses

func (request GetJobTfConfigRequest) String() string

type GetJobTfConfigResponse Uses

type GetJobTfConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetJobTfConfigResponse wrapper for the GetJobTfConfig operation

func (GetJobTfConfigResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetJobTfConfigResponse) String Uses

func (response GetJobTfConfigResponse) String() string

type GetJobTfStateRequest Uses

type GetJobTfStateRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

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

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

GetJobTfStateRequest wrapper for the GetJobTfState operation

func (GetJobTfStateRequest) HTTPRequest Uses

func (request GetJobTfStateRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJobTfStateRequest) RetryPolicy Uses

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

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

func (GetJobTfStateRequest) String Uses

func (request GetJobTfStateRequest) String() string

type GetJobTfStateResponse Uses

type GetJobTfStateResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetJobTfStateResponse wrapper for the GetJobTfState operation

func (GetJobTfStateResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetJobTfStateResponse) String Uses

func (response GetJobTfStateResponse) String() string

type GetStackRequest Uses

type GetStackRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
    StackId *string `mandatory:"true" contributesTo:"path" name:"stackId"`

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

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

GetStackRequest wrapper for the GetStack operation

func (GetStackRequest) HTTPRequest Uses

func (request GetStackRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetStackRequest) RetryPolicy Uses

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

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

func (GetStackRequest) String Uses

func (request GetStackRequest) String() string

type GetStackResponse Uses

type GetStackResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

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

GetStackResponse wrapper for the GetStack operation

func (GetStackResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetStackResponse) String Uses

func (response GetStackResponse) String() string

type GetStackTfConfigRequest Uses

type GetStackTfConfigRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
    StackId *string `mandatory:"true" contributesTo:"path" name:"stackId"`

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

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

GetStackTfConfigRequest wrapper for the GetStackTfConfig operation

func (GetStackTfConfigRequest) HTTPRequest Uses

func (request GetStackTfConfigRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetStackTfConfigRequest) RetryPolicy Uses

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

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

func (GetStackTfConfigRequest) String Uses

func (request GetStackTfConfigRequest) String() string

type GetStackTfConfigResponse Uses

type GetStackTfConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetStackTfConfigResponse wrapper for the GetStackTfConfig operation

func (GetStackTfConfigResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetStackTfConfigResponse) String Uses

func (response GetStackTfConfigResponse) String() string

type GetStackTfStateRequest Uses

type GetStackTfStateRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
    StackId *string `mandatory:"true" contributesTo:"path" name:"stackId"`

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

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

GetStackTfStateRequest wrapper for the GetStackTfState operation

func (GetStackTfStateRequest) HTTPRequest Uses

func (request GetStackTfStateRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetStackTfStateRequest) RetryPolicy Uses

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

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

func (GetStackTfStateRequest) String Uses

func (request GetStackTfStateRequest) String() string

type GetStackTfStateResponse Uses

type GetStackTfStateResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetStackTfStateResponse wrapper for the GetStackTfState operation

func (GetStackTfStateResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetStackTfStateResponse) String Uses

func (response GetStackTfStateResponse) String() string

type GetWorkRequestRequest Uses

type GetWorkRequestRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

func (GetWorkRequestRequest) HTTPRequest Uses

func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy Uses

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

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

func (GetWorkRequestRequest) String Uses

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse Uses

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String Uses

func (response GetWorkRequestResponse) String() string

type ImportTfStateJobOperationDetails Uses

type ImportTfStateJobOperationDetails struct {
}

ImportTfStateJobOperationDetails Job details that are specific to import Terraform state operations.

func (ImportTfStateJobOperationDetails) MarshalJSON Uses

func (m ImportTfStateJobOperationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ImportTfStateJobOperationDetails) String Uses

func (m ImportTfStateJobOperationDetails) String() string

type ImportTfStateJobOperationDetailsSummary Uses

type ImportTfStateJobOperationDetailsSummary struct {
}

ImportTfStateJobOperationDetailsSummary Job details that are specific to import Terraform state operations.

func (ImportTfStateJobOperationDetailsSummary) MarshalJSON Uses

func (m ImportTfStateJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ImportTfStateJobOperationDetailsSummary) String Uses

func (m ImportTfStateJobOperationDetailsSummary) String() string

type Job Uses

type Job struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack that is associated with the job.
    StackId *string `mandatory:"false" json:"stackId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the job's associated stack resides.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The job's display name.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The type of job executing.
    Operation JobOperationEnum `mandatory:"false" json:"operation,omitempty"`

    JobOperationDetails JobOperationDetails `mandatory:"false" json:"jobOperationDetails"`

    ApplyJobPlanResolution *ApplyJobPlanResolution `mandatory:"false" json:"applyJobPlanResolution"`

    // Deprecated. Use the property `executionPlanJobId` in `jobOperationDetails` instead.
    // The plan job OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that was used (if this was an apply job and was not auto-approved).
    ResolvedPlanJobId *string `mandatory:"false" json:"resolvedPlanJobId"`

    // The date and time at which the job was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The date and time at which the job stopped running, irrespective of whether the job ran successfully.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    LifecycleState JobLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    FailureDetails *FailureDetails `mandatory:"false" json:"failureDetails"`

    // The file path to the directory within the configuration from which the job runs.
    WorkingDirectory *string `mandatory:"false" json:"workingDirectory"`

    // Terraform variables associated with this resource.
    // Maximum number of variables supported is 100.
    // The maximum size of each variable, including both name and value, is 4096 bytes.
    // Example: `{"CompartmentId": "compartment-id-value"}`
    Variables map[string]string `mandatory:"false" json:"variables"`

    // Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

Job Jobs perform the actions that are defined in your configuration. There are three job types - **Plan job**. A plan job takes your Terraform configuration, parses it, and creates an execution plan. - **Apply job**. The apply job takes your execution plan, applies it to the associated stack, then executes the configuration's instructions. - **Destroy job**. To clean up the infrastructure controlled by the stack, you run a destroy job. A destroy job does not delete the stack or associated job resources, but instead releases the resources managed by the stack. - **Import_TF_State job**. An import Terraform state job takes a Terraform state file and sets it as the current state of the stack. This is used to migrate local Terraform environments to Resource Manager.

func (Job) String Uses

func (m Job) String() string

func (*Job) UnmarshalJSON Uses

func (m *Job) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type JobLifecycleStateEnum Uses

type JobLifecycleStateEnum string

JobLifecycleStateEnum Enum with underlying type: string

const (
    JobLifecycleStateAccepted   JobLifecycleStateEnum = "ACCEPTED"
    JobLifecycleStateInProgress JobLifecycleStateEnum = "IN_PROGRESS"
    JobLifecycleStateFailed     JobLifecycleStateEnum = "FAILED"
    JobLifecycleStateSucceeded  JobLifecycleStateEnum = "SUCCEEDED"
    JobLifecycleStateCanceling  JobLifecycleStateEnum = "CANCELING"
    JobLifecycleStateCanceled   JobLifecycleStateEnum = "CANCELED"
)

Set of constants representing the allowable values for JobLifecycleStateEnum

func GetJobLifecycleStateEnumValues Uses

func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum

GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum

type JobOperationDetails Uses

type JobOperationDetails interface {
}

JobOperationDetails Job details that are specific to the operation type.

type JobOperationDetailsSummary Uses

type JobOperationDetailsSummary interface {
}

JobOperationDetailsSummary Job details that are specific to the operation type.

type JobOperationEnum Uses

type JobOperationEnum string

JobOperationEnum Enum with underlying type: string

const (
    JobOperationPlan          JobOperationEnum = "PLAN"
    JobOperationApply         JobOperationEnum = "APPLY"
    JobOperationDestroy       JobOperationEnum = "DESTROY"
    JobOperationImportTfState JobOperationEnum = "IMPORT_TF_STATE"
)

Set of constants representing the allowable values for JobOperationEnum

func GetJobOperationEnumValues Uses

func GetJobOperationEnumValues() []JobOperationEnum

GetJobOperationEnumValues Enumerates the set of values for JobOperationEnum

type JobSummary Uses

type JobSummary struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack that is associated with the specified job.
    StackId *string `mandatory:"false" json:"stackId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the stack of the associated job resides.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The job's display name.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The type of job executing
    Operation JobOperationEnum `mandatory:"false" json:"operation,omitempty"`

    JobOperationDetails JobOperationDetailsSummary `mandatory:"false" json:"jobOperationDetails"`

    ApplyJobPlanResolution *ApplyJobPlanResolution `mandatory:"false" json:"applyJobPlanResolution"`

    // Deprecated. Use the property `executionPlanJobId` in `jobOperationDetails` instead.
    // The plan job OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that was used (if this was an apply job and was not auto-approved).
    ResolvedPlanJobId *string `mandatory:"false" json:"resolvedPlanJobId"`

    // The date and time the job was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The date and time the job succeeded or failed.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // Current state of the specified job. Allowed values are:
    // - ACCEPTED
    // - IN_PROGRESS
    // - FAILED
    // - SUCCEEDED
    // - CANCELING
    // - CANCELED
    LifecycleState JobLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

JobSummary Returns a listing of all of the specified job's properties and their values.

func (JobSummary) String Uses

func (m JobSummary) String() string

func (*JobSummary) UnmarshalJSON Uses

func (m *JobSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type ListJobsRequest Uses

type ListJobsRequest struct {

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

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The stack OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
    StackId *string `mandatory:"false" contributesTo:"query" name:"stackId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to query for jobs.
    Id  *string `mandatory:"false" contributesTo:"query" name:"id"`

    // A filter that returns all resources that match the specified lifecycle state.
    // The state value is case-insensitive.
    // Allowable values:
    // - ACCEPTED
    // - IN_PROGRESS
    // - FAILED
    // - SUCCEEDED
    // - CANCELING
    // - CANCELED
    LifecycleState JobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // Display name on which to query.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Specifies the field on which to sort.
    // By default, `TIMECREATED` is ordered descending.
    // By default, `DISPLAYNAME` is ordered ascending. Note that you can sort only on one field.
    SortBy ListJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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
}

ListJobsRequest wrapper for the ListJobs operation

func (ListJobsRequest) HTTPRequest Uses

func (request ListJobsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListJobsRequest) RetryPolicy Uses

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

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

func (ListJobsRequest) String Uses

func (request ListJobsRequest) String() string

type ListJobsResponse Uses

type ListJobsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []JobSummary instances
    Items []JobSummary `presentIn:"body"`

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Retrieves the next page of paginated list items. If the `opc-next-page`
    // header appears in the response, additional pages of results remain.
    // To receive the next page, include the header value in the `page` param.
    // If the `opc-next-page` header does not appear in the response, there
    // are no more list items to get. For more information about list pagination,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListJobsResponse wrapper for the ListJobs operation

func (ListJobsResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (ListJobsResponse) String Uses

func (response ListJobsResponse) String() string

type ListJobsSortByEnum Uses

type ListJobsSortByEnum string

ListJobsSortByEnum Enum with underlying type: string

const (
    ListJobsSortByTimecreated ListJobsSortByEnum = "TIMECREATED"
    ListJobsSortByDisplayname ListJobsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListJobsSortByEnum

func GetListJobsSortByEnumValues Uses

func GetListJobsSortByEnumValues() []ListJobsSortByEnum

GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum

type ListJobsSortOrderEnum Uses

type ListJobsSortOrderEnum string

ListJobsSortOrderEnum Enum with underlying type: string

const (
    ListJobsSortOrderAsc  ListJobsSortOrderEnum = "ASC"
    ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListJobsSortOrderEnum

func GetListJobsSortOrderEnumValues Uses

func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum

GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum

type ListStacksRequest Uses

type ListStacksRequest struct {

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

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to query for a stack.
    Id  *string `mandatory:"false" contributesTo:"query" name:"id"`

    // A filter that returns only those resources that match the specified
    // lifecycle state. The state value is case-insensitive.
    // Allowable values:
    // - CREATING
    // - ACTIVE
    // - DELETING
    // - DELETED
    LifecycleState StackLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // Display name on which to query.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Specifies the field on which to sort.
    // By default, `TIMECREATED` is ordered descending.
    // By default, `DISPLAYNAME` is ordered ascending. Note that you can sort only on one field.
    SortBy ListStacksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListStacksSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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
}

ListStacksRequest wrapper for the ListStacks operation

func (ListStacksRequest) HTTPRequest Uses

func (request ListStacksRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListStacksRequest) RetryPolicy Uses

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

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

func (ListStacksRequest) String Uses

func (request ListStacksRequest) String() string

type ListStacksResponse Uses

type ListStacksResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []StackSummary instances
    Items []StackSummary `presentIn:"body"`

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Retrieves the next page of paginated list items. If the `opc-next-page`
    // header appears in the response, additional pages of results remain.
    // To receive the next page, include the header value in the `page` param.
    // If the `opc-next-page` header does not appear in the response, there
    // are no more list items to get. For more information about list pagination,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListStacksResponse wrapper for the ListStacks operation

func (ListStacksResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (ListStacksResponse) String Uses

func (response ListStacksResponse) String() string

type ListStacksSortByEnum Uses

type ListStacksSortByEnum string

ListStacksSortByEnum Enum with underlying type: string

const (
    ListStacksSortByTimecreated ListStacksSortByEnum = "TIMECREATED"
    ListStacksSortByDisplayname ListStacksSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListStacksSortByEnum

func GetListStacksSortByEnumValues Uses

func GetListStacksSortByEnumValues() []ListStacksSortByEnum

GetListStacksSortByEnumValues Enumerates the set of values for ListStacksSortByEnum

type ListStacksSortOrderEnum Uses

type ListStacksSortOrderEnum string

ListStacksSortOrderEnum Enum with underlying type: string

const (
    ListStacksSortOrderAsc  ListStacksSortOrderEnum = "ASC"
    ListStacksSortOrderDesc ListStacksSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListStacksSortOrderEnum

func GetListStacksSortOrderEnumValues Uses

func GetListStacksSortOrderEnumValues() []ListStacksSortOrderEnum

GetListStacksSortOrderEnumValues Enumerates the set of values for ListStacksSortOrderEnum

type ListTerraformVersionsRequest Uses

type ListTerraformVersionsRequest struct {

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

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

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

ListTerraformVersionsRequest wrapper for the ListTerraformVersions operation

func (ListTerraformVersionsRequest) HTTPRequest Uses

func (request ListTerraformVersionsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTerraformVersionsRequest) RetryPolicy Uses

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

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

func (ListTerraformVersionsRequest) String Uses

func (request ListTerraformVersionsRequest) String() string

type ListTerraformVersionsResponse Uses

type ListTerraformVersionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

ListTerraformVersionsResponse wrapper for the ListTerraformVersions operation

func (ListTerraformVersionsResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (ListTerraformVersionsResponse) String Uses

func (response ListTerraformVersionsResponse) String() string

type ListWorkRequestErrorsRequest Uses

type ListWorkRequestErrorsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsRequest) HTTPRequest Uses

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy Uses

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

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

func (ListWorkRequestErrorsRequest) String Uses

func (request ListWorkRequestErrorsRequest) String() string

type ListWorkRequestErrorsResponse Uses

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestError instances
    Items []WorkRequestError `presentIn:"body"`

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

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String Uses

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortOrderEnum Uses

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
    ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
    ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues Uses

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestLogsRequest Uses

type ListWorkRequestLogsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsRequest) HTTPRequest Uses

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy Uses

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

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

func (ListWorkRequestLogsRequest) String Uses

func (request ListWorkRequestLogsRequest) String() string

type ListWorkRequestLogsResponse Uses

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestLogEntry instances
    Items []WorkRequestLogEntry `presentIn:"body"`

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

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String Uses

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortOrderEnum Uses

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
    ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
    ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues Uses

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

type ListWorkRequestsRequest Uses

type ListWorkRequestsRequest struct {

    // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

func (ListWorkRequestsRequest) HTTPRequest Uses

func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy Uses

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

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

func (ListWorkRequestsRequest) String Uses

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResponse Uses

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestSummary instances
    Items []WorkRequestSummary `presentIn:"body"`

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

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String Uses

func (response ListWorkRequestsResponse) String() string

type LogEntry Uses

type LogEntry struct {

    // Specifies the log type for the log entry.
    Type LogEntryTypeEnum `mandatory:"false" json:"type,omitempty"`

    // Specifies the severity level of the log entry.
    Level LogEntryLevelEnum `mandatory:"false" json:"level,omitempty"`

    // Date and time of the log entry.
    Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`

    // The log entry value.
    Message *string `mandatory:"false" json:"message"`
}

LogEntry Log entry for an operation resulting from a job's execution.

func (LogEntry) String Uses

func (m LogEntry) String() string

type LogEntryLevelEnum Uses

type LogEntryLevelEnum string

LogEntryLevelEnum Enum with underlying type: string

const (
    LogEntryLevelTrace LogEntryLevelEnum = "TRACE"
    LogEntryLevelDebug LogEntryLevelEnum = "DEBUG"
    LogEntryLevelInfo  LogEntryLevelEnum = "INFO"
    LogEntryLevelWarn  LogEntryLevelEnum = "WARN"
    LogEntryLevelError LogEntryLevelEnum = "ERROR"
    LogEntryLevelFatal LogEntryLevelEnum = "FATAL"
)

Set of constants representing the allowable values for LogEntryLevelEnum

func GetLogEntryLevelEnumValues Uses

func GetLogEntryLevelEnumValues() []LogEntryLevelEnum

GetLogEntryLevelEnumValues Enumerates the set of values for LogEntryLevelEnum

type LogEntryTypeEnum Uses

type LogEntryTypeEnum string

LogEntryTypeEnum Enum with underlying type: string

const (
    LogEntryTypeTerraformConsole LogEntryTypeEnum = "TERRAFORM_CONSOLE"
)

Set of constants representing the allowable values for LogEntryTypeEnum

func GetLogEntryTypeEnumValues Uses

func GetLogEntryTypeEnumValues() []LogEntryTypeEnum

GetLogEntryTypeEnumValues Enumerates the set of values for LogEntryTypeEnum

type PlanJobOperationDetails Uses

type PlanJobOperationDetails struct {
}

PlanJobOperationDetails Job details that are specific to plan operations.

func (PlanJobOperationDetails) MarshalJSON Uses

func (m PlanJobOperationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PlanJobOperationDetails) String Uses

func (m PlanJobOperationDetails) String() string

type PlanJobOperationDetailsSummary Uses

type PlanJobOperationDetailsSummary struct {
}

PlanJobOperationDetailsSummary Job details that are specific to plan operations.

func (PlanJobOperationDetailsSummary) MarshalJSON Uses

func (m PlanJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PlanJobOperationDetailsSummary) String Uses

func (m PlanJobOperationDetailsSummary) String() string

type ResourceManagerClient Uses

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

ResourceManagerClient a client for ResourceManager

func NewResourceManagerClientWithConfigurationProvider Uses

func NewResourceManagerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ResourceManagerClient, err error)

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

func NewResourceManagerClientWithOboToken Uses

func NewResourceManagerClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ResourceManagerClient, err error)

NewResourceManagerClientWithOboToken Creates a new default ResourceManager 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 (ResourceManagerClient) CancelJob Uses

func (client ResourceManagerClient) CancelJob(ctx context.Context, request CancelJobRequest) (response CancelJobResponse, err error)

CancelJob Indicates the intention to cancel the specified job. Cancellation of the job is not immediate, and may be delayed, or may not happen at all.

func (ResourceManagerClient) ChangeStackCompartment Uses

func (client ResourceManagerClient) ChangeStackCompartment(ctx context.Context, request ChangeStackCompartmentRequest) (response ChangeStackCompartmentResponse, err error)

ChangeStackCompartment Moves a Stack and it's associated Jobs into a different compartment.

func (*ResourceManagerClient) ConfigurationProvider Uses

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

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

func (ResourceManagerClient) CreateJob Uses

func (client ResourceManagerClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)

CreateJob Creates a job.

func (ResourceManagerClient) CreateStack Uses

func (client ResourceManagerClient) CreateStack(ctx context.Context, request CreateStackRequest) (response CreateStackResponse, err error)

CreateStack Creates a stack in the specified comparment. Specify the compartment using the compartment ID. For more information, see Create a Stack (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/usingconsole.htm#CreateStack).

func (ResourceManagerClient) DeleteStack Uses

func (client ResourceManagerClient) DeleteStack(ctx context.Context, request DeleteStackRequest) (response DeleteStackResponse, err error)

DeleteStack Deletes the specified stack object.

func (ResourceManagerClient) GetJob Uses

func (client ResourceManagerClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)

GetJob Returns the specified job along with the job details.

func (ResourceManagerClient) GetJobLogs Uses

func (client ResourceManagerClient) GetJobLogs(ctx context.Context, request GetJobLogsRequest) (response GetJobLogsResponse, err error)

GetJobLogs Returns log entries for the specified job in JSON format.

func (ResourceManagerClient) GetJobLogsContent Uses

func (client ResourceManagerClient) GetJobLogsContent(ctx context.Context, request GetJobLogsContentRequest) (response GetJobLogsContentResponse, err error)

GetJobLogsContent Returns raw log file for the specified job in text format. Returns a maximum of 100,000 log entries.

func (ResourceManagerClient) GetJobTfConfig Uses

func (client ResourceManagerClient) GetJobTfConfig(ctx context.Context, request GetJobTfConfigRequest) (response GetJobTfConfigResponse, err error)

GetJobTfConfig Returns the Terraform configuration file for the specified job in .zip format. Returns an error if no zip file is found.

func (ResourceManagerClient) GetJobTfState Uses

func (client ResourceManagerClient) GetJobTfState(ctx context.Context, request GetJobTfStateRequest) (response GetJobTfStateResponse, err error)

GetJobTfState Returns the Terraform state for the specified job.

func (ResourceManagerClient) GetStack Uses

func (client ResourceManagerClient) GetStack(ctx context.Context, request GetStackRequest) (response GetStackResponse, err error)

GetStack Gets a stack using the stack ID.

func (ResourceManagerClient) GetStackTfConfig Uses

func (client ResourceManagerClient) GetStackTfConfig(ctx context.Context, request GetStackTfConfigRequest) (response GetStackTfConfigResponse, err error)

GetStackTfConfig Returns the Terraform configuration file in .zip format for the specified stack. Returns an error if no zip file is found.

func (ResourceManagerClient) GetStackTfState Uses

func (client ResourceManagerClient) GetStackTfState(ctx context.Context, request GetStackTfStateRequest) (response GetStackTfStateResponse, err error)

GetStackTfState Returns the Terraform state for the specified stack.

func (ResourceManagerClient) GetWorkRequest Uses

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

GetWorkRequest Return the given work request.

func (ResourceManagerClient) ListJobs Uses

func (client ResourceManagerClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)

ListJobs Returns a list of jobs in a stack or compartment, ordered by time created. - To list all jobs in a stack, provide the stack OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - To list all jobs in a compartment, provide the compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - To return a specific job, provide the job OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

func (ResourceManagerClient) ListStacks Uses

func (client ResourceManagerClient) ListStacks(ctx context.Context, request ListStacksRequest) (response ListStacksResponse, err error)

ListStacks Returns a list of stacks. - If called using the compartment ID, returns all stacks in the specified compartment. - If called using the stack ID, returns the specified stack.

func (ResourceManagerClient) ListTerraformVersions Uses

func (client ResourceManagerClient) ListTerraformVersions(ctx context.Context, request ListTerraformVersionsRequest) (response ListTerraformVersionsResponse, err error)

ListTerraformVersions Returns a list of supported Terraform versions for use with stacks.

func (ResourceManagerClient) ListWorkRequestErrors Uses

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

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

func (ResourceManagerClient) ListWorkRequestLogs Uses

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

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

func (ResourceManagerClient) ListWorkRequests Uses

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

ListWorkRequests Lists the work requests in a given compartment or for a given resource.

func (*ResourceManagerClient) SetRegion Uses

func (client *ResourceManagerClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ResourceManagerClient) UpdateJob Uses

func (client ResourceManagerClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)

UpdateJob Updates the specified job.

func (ResourceManagerClient) UpdateStack Uses

func (client ResourceManagerClient) UpdateStack(ctx context.Context, request UpdateStackRequest) (response UpdateStackResponse, err error)

UpdateStack Updates the specified stack object. Use `UpdateStack` when you update your Terraform configuration and want your changes to be reflected in the execution plan. For more information, see Update a Stack (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/usingconsole.htm#UpdateStack) and Edit or Delete a Stack (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/usingconsole.htm#EditStack).

type Stack Uses

type Stack struct {

    // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) for the stack.
    Id  *string `mandatory:"false" json:"id"`

    // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) for the compartment where the stack is located.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Human-readable name of the stack.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the stack.
    Description *string `mandatory:"false" json:"description"`

    // The date and time at which the stack was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The current lifecycle state of the stack.
    LifecycleState StackLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    ConfigSource ConfigSource `mandatory:"false" json:"configSource"`

    // Terraform variables associated with this resource.
    // Maximum number of variables supported is 100.
    // The maximum size of each variable, including both name and value, is 4096 bytes.
    // Example: `{"CompartmentId": "compartment-id-value"}`
    Variables map[string]string `mandatory:"false" json:"variables"`

    // The version of Terraform specified for the stack. Example: `0.12.x`
    TerraformVersion *string `mandatory:"false" json:"terraformVersion"`

    // Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

Stack The stack object. Stacks represent definitions of groups of Oracle Cloud Infrastructure resources that you can act upon as a group. You take action on stacks by using jobs.

func (Stack) String Uses

func (m Stack) String() string

func (*Stack) UnmarshalJSON Uses

func (m *Stack) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type StackLifecycleStateEnum Uses

type StackLifecycleStateEnum string

StackLifecycleStateEnum Enum with underlying type: string

const (
    StackLifecycleStateCreating StackLifecycleStateEnum = "CREATING"
    StackLifecycleStateActive   StackLifecycleStateEnum = "ACTIVE"
    StackLifecycleStateDeleting StackLifecycleStateEnum = "DELETING"
    StackLifecycleStateDeleted  StackLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for StackLifecycleStateEnum

func GetStackLifecycleStateEnumValues Uses

func GetStackLifecycleStateEnumValues() []StackLifecycleStateEnum

GetStackLifecycleStateEnumValues Enumerates the set of values for StackLifecycleStateEnum

type StackSummary Uses

type StackSummary struct {

    // Unique identifier of the specified stack.
    Id  *string `mandatory:"false" json:"id"`

    // Unique identifier of the compartment in which the stack resides.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Human-readable display name for the stack.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // General description of the stack.
    Description *string `mandatory:"false" json:"description"`

    // Date and time at which the stack was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    LifecycleState StackLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The version of Terraform specified for the stack. Example: `0.12.x`
    TerraformVersion *string `mandatory:"false" json:"terraformVersion"`

    // Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

StackSummary Returns a list of properties and the defining property values for the specified stack.

func (StackSummary) String Uses

func (m StackSummary) String() string

type TerraformVersionCollection Uses

type TerraformVersionCollection struct {

    // Collection of supported Terraform versions.
    Items []TerraformVersionSummary `mandatory:"false" json:"items"`
}

TerraformVersionCollection The list of Terraform versions supported for use with stacks.

func (TerraformVersionCollection) String Uses

func (m TerraformVersionCollection) String() string

type TerraformVersionSummary Uses

type TerraformVersionSummary struct {

    // A supported Terraform version. Example: `0.12.x`
    Name *string `mandatory:"false" json:"name"`
}

TerraformVersionSummary A Terraform version supported for use with stacks.

func (TerraformVersionSummary) String Uses

func (m TerraformVersionSummary) String() string

type UpdateConfigSourceDetails Uses

type UpdateConfigSourceDetails interface {

    // The path of the directory from which to run terraform. If not specified, the the root will be used.
    GetWorkingDirectory() *string
}

UpdateConfigSourceDetails Updates the property details for the configuration source.

type UpdateJobDetails Uses

type UpdateJobDetails struct {

    // The new display name to set.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateJobDetails Updates the display name, free-form tags, and/or defined tag properties of the job.

func (UpdateJobDetails) String Uses

func (m UpdateJobDetails) String() string

type UpdateJobRequest Uses

type UpdateJobRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
    JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"`

    // Updates properties for the specified job.
    UpdateJobDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

UpdateJobRequest wrapper for the UpdateJob operation

func (UpdateJobRequest) HTTPRequest Uses

func (request UpdateJobRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateJobRequest) RetryPolicy Uses

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

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

func (UpdateJobRequest) String Uses

func (request UpdateJobRequest) String() string

type UpdateJobResponse Uses

type UpdateJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

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

UpdateJobResponse wrapper for the UpdateJob operation

func (UpdateJobResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (UpdateJobResponse) String Uses

func (response UpdateJobResponse) String() string

type UpdateStackDetails Uses

type UpdateStackDetails struct {

    // The name of the stack.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the stack.
    Description *string `mandatory:"false" json:"description"`

    ConfigSource UpdateConfigSourceDetails `mandatory:"false" json:"configSource"`

    // Terraform variables associated with this resource.
    // The maximum number of variables supported is 100.
    // The maximum size of each variable, including both name and value, is 4096 bytes.
    // Example: `{"CompartmentId": "compartment-id-value"}`
    Variables map[string]string `mandatory:"false" json:"variables"`

    // The version of Terraform to use with the stack. Example: `0.12.x`
    TerraformVersion *string `mandatory:"false" json:"terraformVersion"`

    // Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateStackDetails Specifies which fields and the data for each to update on the specified stack.

func (UpdateStackDetails) String Uses

func (m UpdateStackDetails) String() string

func (*UpdateStackDetails) UnmarshalJSON Uses

func (m *UpdateStackDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateStackRequest Uses

type UpdateStackRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
    StackId *string `mandatory:"true" contributesTo:"path" name:"stackId"`

    // Updated information provided for the stack.
    UpdateStackDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

UpdateStackRequest wrapper for the UpdateStack operation

func (UpdateStackRequest) HTTPRequest Uses

func (request UpdateStackRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateStackRequest) RetryPolicy Uses

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

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

func (UpdateStackRequest) String Uses

func (request UpdateStackRequest) String() string

type UpdateStackResponse Uses

type UpdateStackResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // Unique identifier for the request.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

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

UpdateStackResponse wrapper for the UpdateStack operation

func (UpdateStackResponse) HTTPResponse Uses

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

HTTPResponse implements the OCIResponse interface

func (UpdateStackResponse) String Uses

func (response UpdateStackResponse) String() string

type UpdateZipUploadConfigSourceDetails Uses

type UpdateZipUploadConfigSourceDetails struct {

    // The path of the directory from which to run terraform. If not specified, the the root will be used.
    WorkingDirectory *string `mandatory:"false" json:"workingDirectory"`

    ZipFileBase64Encoded *string `mandatory:"false" json:"zipFileBase64Encoded"`
}

UpdateZipUploadConfigSourceDetails Updates property details for the configuration .zip file.

func (UpdateZipUploadConfigSourceDetails) GetWorkingDirectory Uses

func (m UpdateZipUploadConfigSourceDetails) GetWorkingDirectory() *string

GetWorkingDirectory returns WorkingDirectory

func (UpdateZipUploadConfigSourceDetails) MarshalJSON Uses

func (m UpdateZipUploadConfigSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateZipUploadConfigSourceDetails) String Uses

func (m UpdateZipUploadConfigSourceDetails) String() string

type WorkRequest Uses

type WorkRequest struct {

    // The asynchronous operation tracked by this work request.
    OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"`

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

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

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // The amount of work done relative to the total amount of work.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // When the work request was created.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // When the work request transitioned from ACCEPTED to IN_PROGRESS.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // When the work request reached a terminal state (FAILED or SUCCEEDED).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest The status of a work request.

func (WorkRequest) String Uses

func (m WorkRequest) String() string

type WorkRequestError Uses

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 time the error happened.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String Uses

func (m WorkRequestError) String() string

type WorkRequestLogEntry Uses

type WorkRequestLogEntry struct {

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

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

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

func (WorkRequestLogEntry) String Uses

func (m WorkRequestLogEntry) String() string

type WorkRequestOperationTypeEnum Uses

type WorkRequestOperationTypeEnum string

WorkRequestOperationTypeEnum Enum with underlying type: string

const (
    WorkRequestOperationTypeChangeStackCompartment WorkRequestOperationTypeEnum = "CHANGE_STACK_COMPARTMENT"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

func GetWorkRequestOperationTypeEnumValues Uses

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource Uses

type WorkRequestResource struct {

    // 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 resource type the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that you can use for a GET request 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 Uses

func (m WorkRequestResource) String() string

type WorkRequestResourceActionTypeEnum Uses

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

func GetWorkRequestResourceActionTypeEnumValues Uses

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestStatusEnum Uses

type WorkRequestStatusEnum string

WorkRequestStatusEnum Enum with underlying type: string

const (
    WorkRequestStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
    WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
    WorkRequestStatusFailed     WorkRequestStatusEnum = "FAILED"
    WorkRequestStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
)

Set of constants representing the allowable values for WorkRequestStatusEnum

func GetWorkRequestStatusEnumValues Uses

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

type WorkRequestSummary Uses

type WorkRequestSummary struct {

    // The asynchronous operation tracked by this work request.
    OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"`

    // The status of the specified work request.
    Status WorkRequestStatusEnum `mandatory:"true" json:"status"`

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

    // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the compartment that contains the work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

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

    // When the work request was created.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // When the work request transitioned from ACCEPTED to IN_PROGRESS.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // When the work request reached a terminal state (FAILED or SUCCEEDED).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String Uses

func (m WorkRequestSummary) String() string

type ZipUploadConfigSource Uses

type ZipUploadConfigSource struct {

    // File path to the directory from which Terraform runs.
    // If not specified, we use the root directory.
    WorkingDirectory *string `mandatory:"false" json:"workingDirectory"`
}

ZipUploadConfigSource File path to the location of the zip file that contains the Terraform configuration.

func (ZipUploadConfigSource) GetWorkingDirectory Uses

func (m ZipUploadConfigSource) GetWorkingDirectory() *string

GetWorkingDirectory returns WorkingDirectory

func (ZipUploadConfigSource) MarshalJSON Uses

func (m ZipUploadConfigSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ZipUploadConfigSource) String Uses

func (m ZipUploadConfigSource) String() string

Package resourcemanager imports 6 packages (graph). Updated 2020-04-04. Refresh now. Tools for package owners.