Documentation ¶
Index ¶
- type ApplyJobOperationDetails
- type ApplyJobOperationDetailsExecutionPlanStrategyEnum
- type ApplyJobOperationDetailsSummary
- type ApplyJobPlanResolution
- type CancelJobRequest
- type CancelJobResponse
- type ChangeConfigurationSourceProviderCompartmentDetails
- type ChangeConfigurationSourceProviderCompartmentRequest
- func (request ChangeConfigurationSourceProviderCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
- func (request ChangeConfigurationSourceProviderCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeConfigurationSourceProviderCompartmentRequest) String() string
- type ChangeConfigurationSourceProviderCompartmentResponse
- type ChangeStackCompartmentDetails
- type ChangeStackCompartmentRequest
- type ChangeStackCompartmentResponse
- type CompartmentConfigSource
- type ConfigSource
- type ConfigSourceConfigSourceTypeEnum
- type ConfigSourceRecord
- type ConfigSourceRecordConfigSourceRecordTypeEnum
- type ConfigurationSourceProvider
- type ConfigurationSourceProviderCollection
- type ConfigurationSourceProviderConfigSourceProviderTypeEnum
- type ConfigurationSourceProviderLifecycleStateEnum
- type ConfigurationSourceProviderSummary
- type CreateApplyJobOperationDetails
- type CreateCompartmentConfigSourceDetails
- type CreateConfigSourceDetails
- type CreateConfigurationSourceProviderDetails
- type CreateConfigurationSourceProviderRequest
- type CreateConfigurationSourceProviderResponse
- type CreateDestroyJobOperationDetails
- type CreateGitConfigSourceDetails
- type CreateGitlabAccessTokenConfigurationSourceProviderDetails
- func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetCompartmentId() *string
- func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
- func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
- func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
- func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) String() string
- type CreateImportTfStateJobOperationDetails
- type CreateJobDetails
- type CreateJobOperationDetails
- type CreateJobRequest
- type CreateJobResponse
- type CreatePlanJobOperationDetails
- type CreateStackDetails
- type CreateStackRequest
- type CreateStackResponse
- type CreateZipUploadConfigSourceDetails
- type DeleteConfigurationSourceProviderRequest
- type DeleteConfigurationSourceProviderResponse
- type DeleteStackRequest
- type DeleteStackResponse
- type DestroyJobOperationDetails
- type DestroyJobOperationDetailsExecutionPlanStrategyEnum
- type DestroyJobOperationDetailsSummary
- type DetectStackDriftRequest
- type DetectStackDriftResponse
- type FailureDetails
- type FailureDetailsCodeEnum
- type GetConfigurationSourceProviderRequest
- type GetConfigurationSourceProviderResponse
- type GetJobLogsContentRequest
- type GetJobLogsContentResponse
- type GetJobLogsRequest
- type GetJobLogsResponse
- type GetJobLogsSortOrderEnum
- type GetJobRequest
- type GetJobResponse
- type GetJobTfConfigRequest
- type GetJobTfConfigResponse
- type GetJobTfStateRequest
- type GetJobTfStateResponse
- type GetStackRequest
- type GetStackResponse
- type GetStackTfConfigRequest
- type GetStackTfConfigResponse
- type GetStackTfStateRequest
- type GetStackTfStateResponse
- type GetWorkRequestRequest
- type GetWorkRequestResponse
- type GitConfigSource
- type GitConfigSourceRecord
- type GitlabAccessTokenConfigurationSourceProvider
- func (m GitlabAccessTokenConfigurationSourceProvider) GetCompartmentId() *string
- func (m GitlabAccessTokenConfigurationSourceProvider) GetDefinedTags() map[string]map[string]interface{}
- func (m GitlabAccessTokenConfigurationSourceProvider) GetDescription() *string
- func (m GitlabAccessTokenConfigurationSourceProvider) GetDisplayName() *string
- func (m GitlabAccessTokenConfigurationSourceProvider) GetFreeformTags() map[string]string
- func (m GitlabAccessTokenConfigurationSourceProvider) GetId() *string
- func (m GitlabAccessTokenConfigurationSourceProvider) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
- func (m GitlabAccessTokenConfigurationSourceProvider) GetTimeCreated() *common.SDKTime
- func (m GitlabAccessTokenConfigurationSourceProvider) MarshalJSON() (buff []byte, e error)
- func (m GitlabAccessTokenConfigurationSourceProvider) String() string
- type GitlabAccessTokenConfigurationSourceProviderSummary
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetCompartmentId() *string
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDefinedTags() map[string]map[string]interface{}
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDescription() *string
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDisplayName() *string
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetFreeformTags() map[string]string
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetId() *string
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetTimeCreated() *common.SDKTime
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) MarshalJSON() (buff []byte, e error)
- func (m GitlabAccessTokenConfigurationSourceProviderSummary) String() string
- type ImportTfStateJobOperationDetails
- type ImportTfStateJobOperationDetailsSummary
- type Job
- type JobLifecycleStateEnum
- type JobOperationDetails
- type JobOperationDetailsSummary
- type JobOperationEnum
- type JobSummary
- type ListConfigurationSourceProvidersRequest
- type ListConfigurationSourceProvidersResponse
- type ListConfigurationSourceProvidersSortByEnum
- type ListConfigurationSourceProvidersSortOrderEnum
- type ListJobsRequest
- type ListJobsResponse
- type ListJobsSortByEnum
- type ListJobsSortOrderEnum
- type ListResourceDiscoveryServicesRequest
- type ListResourceDiscoveryServicesResponse
- type ListStackResourceDriftDetailsRequest
- type ListStackResourceDriftDetailsResponse
- type ListStacksRequest
- type ListStacksResponse
- type ListStacksSortByEnum
- type ListStacksSortOrderEnum
- type ListTerraformVersionsRequest
- type ListTerraformVersionsResponse
- type ListWorkRequestErrorsRequest
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- type ListWorkRequestsResponse
- type LogEntry
- type LogEntryLevelEnum
- type LogEntryTypeEnum
- type PlanJobOperationDetails
- type PlanJobOperationDetailsSummary
- type ResourceDiscoveryServiceCollection
- type ResourceDiscoveryServiceSummary
- type ResourceDiscoveryServiceSummaryDiscoveryScopeEnum
- type ResourceManagerClient
- func (client ResourceManagerClient) CancelJob(ctx context.Context, request CancelJobRequest) (response CancelJobResponse, err error)
- func (client ResourceManagerClient) ChangeConfigurationSourceProviderCompartment(ctx context.Context, ...) (response ChangeConfigurationSourceProviderCompartmentResponse, err error)
- func (client ResourceManagerClient) ChangeStackCompartment(ctx context.Context, request ChangeStackCompartmentRequest) (response ChangeStackCompartmentResponse, err error)
- func (client *ResourceManagerClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client ResourceManagerClient) CreateConfigurationSourceProvider(ctx context.Context, request CreateConfigurationSourceProviderRequest) (response CreateConfigurationSourceProviderResponse, err error)
- func (client ResourceManagerClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
- func (client ResourceManagerClient) CreateStack(ctx context.Context, request CreateStackRequest) (response CreateStackResponse, err error)
- func (client ResourceManagerClient) DeleteConfigurationSourceProvider(ctx context.Context, request DeleteConfigurationSourceProviderRequest) (response DeleteConfigurationSourceProviderResponse, err error)
- func (client ResourceManagerClient) DeleteStack(ctx context.Context, request DeleteStackRequest) (response DeleteStackResponse, err error)
- func (client ResourceManagerClient) DetectStackDrift(ctx context.Context, request DetectStackDriftRequest) (response DetectStackDriftResponse, err error)
- func (client ResourceManagerClient) GetConfigurationSourceProvider(ctx context.Context, request GetConfigurationSourceProviderRequest) (response GetConfigurationSourceProviderResponse, err error)
- func (client ResourceManagerClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
- func (client ResourceManagerClient) GetJobLogs(ctx context.Context, request GetJobLogsRequest) (response GetJobLogsResponse, err error)
- func (client ResourceManagerClient) GetJobLogsContent(ctx context.Context, request GetJobLogsContentRequest) (response GetJobLogsContentResponse, err error)
- func (client ResourceManagerClient) GetJobTfConfig(ctx context.Context, request GetJobTfConfigRequest) (response GetJobTfConfigResponse, err error)
- func (client ResourceManagerClient) GetJobTfState(ctx context.Context, request GetJobTfStateRequest) (response GetJobTfStateResponse, err error)
- func (client ResourceManagerClient) GetStack(ctx context.Context, request GetStackRequest) (response GetStackResponse, err error)
- func (client ResourceManagerClient) GetStackTfConfig(ctx context.Context, request GetStackTfConfigRequest) (response GetStackTfConfigResponse, err error)
- func (client ResourceManagerClient) GetStackTfState(ctx context.Context, request GetStackTfStateRequest) (response GetStackTfStateResponse, err error)
- func (client ResourceManagerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client ResourceManagerClient) ListConfigurationSourceProviders(ctx context.Context, request ListConfigurationSourceProvidersRequest) (response ListConfigurationSourceProvidersResponse, err error)
- func (client ResourceManagerClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)
- func (client ResourceManagerClient) ListResourceDiscoveryServices(ctx context.Context, request ListResourceDiscoveryServicesRequest) (response ListResourceDiscoveryServicesResponse, err error)
- func (client ResourceManagerClient) ListStackResourceDriftDetails(ctx context.Context, request ListStackResourceDriftDetailsRequest) (response ListStackResourceDriftDetailsResponse, err error)
- func (client ResourceManagerClient) ListStacks(ctx context.Context, request ListStacksRequest) (response ListStacksResponse, err error)
- func (client ResourceManagerClient) ListTerraformVersions(ctx context.Context, request ListTerraformVersionsRequest) (response ListTerraformVersionsResponse, err error)
- func (client ResourceManagerClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client ResourceManagerClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client ResourceManagerClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *ResourceManagerClient) SetRegion(region string)
- func (client ResourceManagerClient) UpdateConfigurationSourceProvider(ctx context.Context, request UpdateConfigurationSourceProviderRequest) (response UpdateConfigurationSourceProviderResponse, err error)
- func (client ResourceManagerClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
- func (client ResourceManagerClient) UpdateStack(ctx context.Context, request UpdateStackRequest) (response UpdateStackResponse, err error)
- type Stack
- type StackLifecycleStateEnum
- type StackResourceDriftCollection
- type StackResourceDriftSummary
- type StackResourceDriftSummaryResourceDriftStatusEnum
- type StackStackDriftStatusEnum
- type StackSummary
- type TerraformVersionCollection
- type TerraformVersionSummary
- type UpdateConfigSourceDetails
- type UpdateConfigurationSourceProviderDetails
- type UpdateConfigurationSourceProviderRequest
- type UpdateConfigurationSourceProviderResponse
- type UpdateGitConfigSourceDetails
- type UpdateGitlabAccessTokenConfigurationSourceProviderDetails
- func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
- func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
- func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
- func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) String() string
- type UpdateJobDetails
- type UpdateJobRequest
- type UpdateJobResponse
- type UpdateStackDetails
- type UpdateStackRequest
- type UpdateStackResponse
- type UpdateZipUploadConfigSourceDetails
- type WorkRequest
- type WorkRequestError
- type WorkRequestLogEntry
- type WorkRequestOperationTypeEnum
- type WorkRequestResource
- type WorkRequestResourceActionTypeEnum
- type WorkRequestStatusEnum
- type WorkRequestSummary
- type ZipUploadConfigSource
- type ZipUploadConfigSourceRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyJobOperationDetails ¶
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 ¶
func (m ApplyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ApplyJobOperationDetails) String ¶
func (m ApplyJobOperationDetails) String() string
type ApplyJobOperationDetailsExecutionPlanStrategyEnum ¶
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 ¶
func GetApplyJobOperationDetailsExecutionPlanStrategyEnumValues() []ApplyJobOperationDetailsExecutionPlanStrategyEnum
GetApplyJobOperationDetailsExecutionPlanStrategyEnumValues Enumerates the set of values for ApplyJobOperationDetailsExecutionPlanStrategyEnum
type ApplyJobOperationDetailsSummary ¶
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 ¶
func (m ApplyJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ApplyJobOperationDetailsSummary) String ¶
func (m ApplyJobOperationDetailsSummary) String() string
type ApplyJobPlanResolution ¶
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 ¶
func (m ApplyJobPlanResolution) String() string
type CancelJobRequest ¶
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 ¶
func (request CancelJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelJobRequest) RetryPolicy ¶
func (request CancelJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelJobRequest) String ¶
func (request CancelJobRequest) String() string
type CancelJobResponse ¶
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 ¶
func (response CancelJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelJobResponse) String ¶
func (response CancelJobResponse) String() string
type ChangeConfigurationSourceProviderCompartmentDetails ¶
type ChangeConfigurationSourceProviderCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // to move the configuration source provider to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeConfigurationSourceProviderCompartmentDetails The details for moving a configuration source provider to a different compartment.
func (ChangeConfigurationSourceProviderCompartmentDetails) String ¶
func (m ChangeConfigurationSourceProviderCompartmentDetails) String() string
type ChangeConfigurationSourceProviderCompartmentRequest ¶
type ChangeConfigurationSourceProviderCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration source provider. ConfigurationSourceProviderId *string `mandatory:"true" contributesTo:"path" name:"configurationSourceProviderId"` // Defines the properties of changeConfigurationSourceProviderCompartment operation. ChangeConfigurationSourceProviderCompartmentDetails `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 }
ChangeConfigurationSourceProviderCompartmentRequest wrapper for the ChangeConfigurationSourceProviderCompartment operation
func (ChangeConfigurationSourceProviderCompartmentRequest) HTTPRequest ¶
func (request ChangeConfigurationSourceProviderCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeConfigurationSourceProviderCompartmentRequest) RetryPolicy ¶
func (request ChangeConfigurationSourceProviderCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeConfigurationSourceProviderCompartmentRequest) String ¶
func (request ChangeConfigurationSourceProviderCompartmentRequest) String() string
type ChangeConfigurationSourceProviderCompartmentResponse ¶
type ChangeConfigurationSourceProviderCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ChangeConfigurationSourceProviderCompartmentResponse wrapper for the ChangeConfigurationSourceProviderCompartment operation
func (ChangeConfigurationSourceProviderCompartmentResponse) HTTPResponse ¶
func (response ChangeConfigurationSourceProviderCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeConfigurationSourceProviderCompartmentResponse) String ¶
func (response ChangeConfigurationSourceProviderCompartmentResponse) String() string
type ChangeStackCompartmentDetails ¶
type ChangeStackCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/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 ¶
func (m ChangeStackCompartmentDetails) String() string
type ChangeStackCompartmentRequest ¶
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 ¶
func (request ChangeStackCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeStackCompartmentRequest) RetryPolicy ¶
func (request ChangeStackCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeStackCompartmentRequest) String ¶
func (request ChangeStackCompartmentRequest) String() string
type ChangeStackCompartmentResponse ¶
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/iaas/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 ¶
func (response ChangeStackCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeStackCompartmentResponse) String ¶
func (response ChangeStackCompartmentResponse) String() string
type CompartmentConfigSource ¶
type CompartmentConfigSource struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to use // for creating the stack. The new stack will include definitions for supported // resource types in this compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The region to use for creating the stack. The new stack will include definitions for // supported resource types in this region. Region *string `mandatory:"true" json:"region"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // Filter for services to use with Resource Discovery (https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services). // For example, "database" limits resource discovery to resource types within the Database service. // The specified services must be in scope of the given compartment OCID (tenancy level for root compartment, compartment level otherwise). // If not specified, then all services at the scope of the given compartment OCID are used. ServicesToDiscover []string `mandatory:"false" json:"servicesToDiscover"` }
CompartmentConfigSource Compartment to use for creating the stack. The new stack will include definitions for supported resource types in this compartment.
func (CompartmentConfigSource) GetWorkingDirectory ¶
func (m CompartmentConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (CompartmentConfigSource) MarshalJSON ¶
func (m CompartmentConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CompartmentConfigSource) String ¶
func (m CompartmentConfigSource) String() string
type ConfigSource ¶
type ConfigSource interface { // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. GetWorkingDirectory() *string }
ConfigSource Information about the Terraform configuration.
type ConfigSourceConfigSourceTypeEnum ¶
type ConfigSourceConfigSourceTypeEnum string
ConfigSourceConfigSourceTypeEnum Enum with underlying type: string
const ( ConfigSourceConfigSourceTypeZipUpload ConfigSourceConfigSourceTypeEnum = "ZIP_UPLOAD" ConfigSourceConfigSourceTypeGitConfigSource ConfigSourceConfigSourceTypeEnum = "GIT_CONFIG_SOURCE" ConfigSourceConfigSourceTypeCompartmentConfigSource ConfigSourceConfigSourceTypeEnum = "COMPARTMENT_CONFIG_SOURCE" )
Set of constants representing the allowable values for ConfigSourceConfigSourceTypeEnum
func GetConfigSourceConfigSourceTypeEnumValues ¶
func GetConfigSourceConfigSourceTypeEnumValues() []ConfigSourceConfigSourceTypeEnum
GetConfigSourceConfigSourceTypeEnumValues Enumerates the set of values for ConfigSourceConfigSourceTypeEnum
type ConfigSourceRecord ¶
type ConfigSourceRecord interface { }
ConfigSourceRecord Information about the Terraform configuration.
type ConfigSourceRecordConfigSourceRecordTypeEnum ¶
type ConfigSourceRecordConfigSourceRecordTypeEnum string
ConfigSourceRecordConfigSourceRecordTypeEnum Enum with underlying type: string
const ( ConfigSourceRecordConfigSourceRecordTypeZipUpload ConfigSourceRecordConfigSourceRecordTypeEnum = "ZIP_UPLOAD" ConfigSourceRecordConfigSourceRecordTypeGitConfigSource ConfigSourceRecordConfigSourceRecordTypeEnum = "GIT_CONFIG_SOURCE" )
Set of constants representing the allowable values for ConfigSourceRecordConfigSourceRecordTypeEnum
func GetConfigSourceRecordConfigSourceRecordTypeEnumValues ¶
func GetConfigSourceRecordConfigSourceRecordTypeEnumValues() []ConfigSourceRecordConfigSourceRecordTypeEnum
GetConfigSourceRecordConfigSourceRecordTypeEnumValues Enumerates the set of values for ConfigSourceRecordConfigSourceRecordTypeEnum
type ConfigurationSourceProvider ¶
type ConfigurationSourceProvider interface { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration source provider. GetId() *string // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the configuration source provider is located. GetCompartmentId() *string // Human-readable display name for the configuration source provider. GetDisplayName() *string // Description of the configuration source provider. GetDescription() *string // The date and time when the configuration source provider was created. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` GetTimeCreated() *common.SDKTime // The current lifecycle state of the configuration source provider. // For more information about configuration source provider lifecycle states in Resource Manager, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#CSPStates). GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum // 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"}` GetFreeformTags() map[string]string // 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"}}` GetDefinedTags() map[string]map[string]interface{} }
ConfigurationSourceProvider The properties that define a configuration source provider. For more information, see Managing Configuration Source Providers (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/managingstacksandjobs.htm#ManagingConfigurationSourceProviders).
type ConfigurationSourceProviderCollection ¶
type ConfigurationSourceProviderCollection struct { // Collection of configuration source providers. Items []ConfigurationSourceProviderSummary `mandatory:"false" json:"items"` }
ConfigurationSourceProviderCollection Collection of configuration source providers.
func (ConfigurationSourceProviderCollection) String ¶
func (m ConfigurationSourceProviderCollection) String() string
func (*ConfigurationSourceProviderCollection) UnmarshalJSON ¶
func (m *ConfigurationSourceProviderCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type ConfigurationSourceProviderConfigSourceProviderTypeEnum ¶
type ConfigurationSourceProviderConfigSourceProviderTypeEnum string
ConfigurationSourceProviderConfigSourceProviderTypeEnum Enum with underlying type: string
const (
ConfigurationSourceProviderConfigSourceProviderTypeGitlabAccessToken ConfigurationSourceProviderConfigSourceProviderTypeEnum = "GITLAB_ACCESS_TOKEN"
)
Set of constants representing the allowable values for ConfigurationSourceProviderConfigSourceProviderTypeEnum
func GetConfigurationSourceProviderConfigSourceProviderTypeEnumValues ¶
func GetConfigurationSourceProviderConfigSourceProviderTypeEnumValues() []ConfigurationSourceProviderConfigSourceProviderTypeEnum
GetConfigurationSourceProviderConfigSourceProviderTypeEnumValues Enumerates the set of values for ConfigurationSourceProviderConfigSourceProviderTypeEnum
type ConfigurationSourceProviderLifecycleStateEnum ¶
type ConfigurationSourceProviderLifecycleStateEnum string
ConfigurationSourceProviderLifecycleStateEnum Enum with underlying type: string
const (
ConfigurationSourceProviderLifecycleStateActive ConfigurationSourceProviderLifecycleStateEnum = "ACTIVE"
)
Set of constants representing the allowable values for ConfigurationSourceProviderLifecycleStateEnum
func GetConfigurationSourceProviderLifecycleStateEnumValues ¶
func GetConfigurationSourceProviderLifecycleStateEnumValues() []ConfigurationSourceProviderLifecycleStateEnum
GetConfigurationSourceProviderLifecycleStateEnumValues Enumerates the set of values for ConfigurationSourceProviderLifecycleStateEnum
type ConfigurationSourceProviderSummary ¶
type ConfigurationSourceProviderSummary interface { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration source provider. GetId() *string // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the configuration source provider is located. GetCompartmentId() *string // Human-readable display name for the configuration source provider. GetDisplayName() *string // General description of the configuration source provider. GetDescription() *string // The date and time when the configuration source provider was created. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` GetTimeCreated() *common.SDKTime // Current state of the specified configuration source provider. // For more information about configuration source provider lifecycle states in Resource Manager, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#CSPStates). // Allowable values: // - ACTIVE GetLifecycleState() ConfigurationSourceProviderSummary // 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"}` GetFreeformTags() map[string]string // 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"}}` GetDefinedTags() map[string]map[string]interface{} }
ConfigurationSourceProviderSummary Summary information for a configuration source provider.
type CreateApplyJobOperationDetails ¶
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 ¶
func (m CreateApplyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateApplyJobOperationDetails) String ¶
func (m CreateApplyJobOperationDetails) String() string
type CreateCompartmentConfigSourceDetails ¶
type CreateCompartmentConfigSourceDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to use for creating the stack. // The new stack will include definitions for supported resource types in scope of the specified compartment OCID (tenancy level for root compartment, compartment level otherwise). CompartmentId *string `mandatory:"true" json:"compartmentId"` // The region to use for creating the stack. The new stack will include definitions for // supported resource types in this region. Region *string `mandatory:"true" json:"region"` // File path to the directory from which Terraform runs. // If not specified, the root directory is used. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // Filter for services to use with Resource Discovery (https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services). // For example, "database" limits resource discovery to resource types within the Database service. // The specified services must be in scope of the given compartment OCID (tenancy level for root compartment, compartment level otherwise). // If not specified, then all services at the scope of the given compartment OCID are used. ServicesToDiscover []string `mandatory:"false" json:"servicesToDiscover"` }
CreateCompartmentConfigSourceDetails Property details for uploading the specified compartment as the configuration source.
func (CreateCompartmentConfigSourceDetails) GetWorkingDirectory ¶
func (m CreateCompartmentConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (CreateCompartmentConfigSourceDetails) MarshalJSON ¶
func (m CreateCompartmentConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateCompartmentConfigSourceDetails) String ¶
func (m CreateCompartmentConfigSourceDetails) String() string
type CreateConfigSourceDetails ¶
type CreateConfigSourceDetails interface { // File path to the directory from which Terraform runs. // If not specified, the root directory is used. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. GetWorkingDirectory() *string }
CreateConfigSourceDetails Property details for the configuration source used for the stack.
type CreateConfigurationSourceProviderDetails ¶
type CreateConfigurationSourceProviderDetails interface { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where // you want to create the configuration source provider. GetCompartmentId() *string // Human-readable name of the configuration source provider. Avoid entering confidential information. GetDisplayName() *string // Description of the configuration source provider. Avoid entering confidential information. GetDescription() *string // 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"}` GetFreeformTags() map[string]string // 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"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateConfigurationSourceProviderDetails The details for creating a configuration source provider.
type CreateConfigurationSourceProviderRequest ¶
type CreateConfigurationSourceProviderRequest struct { // The properties for creating a ConfigurationSourceProvider. CreateConfigurationSourceProviderDetails `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 }
CreateConfigurationSourceProviderRequest wrapper for the CreateConfigurationSourceProvider operation
func (CreateConfigurationSourceProviderRequest) HTTPRequest ¶
func (request CreateConfigurationSourceProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateConfigurationSourceProviderRequest) RetryPolicy ¶
func (request CreateConfigurationSourceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateConfigurationSourceProviderRequest) String ¶
func (request CreateConfigurationSourceProviderRequest) String() string
type CreateConfigurationSourceProviderResponse ¶
type CreateConfigurationSourceProviderResponse struct { // The underlying http response RawResponse *http.Response // The ConfigurationSourceProvider instance ConfigurationSourceProvider `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"` }
CreateConfigurationSourceProviderResponse wrapper for the CreateConfigurationSourceProvider operation
func (CreateConfigurationSourceProviderResponse) HTTPResponse ¶
func (response CreateConfigurationSourceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateConfigurationSourceProviderResponse) String ¶
func (response CreateConfigurationSourceProviderResponse) String() string
type CreateDestroyJobOperationDetails ¶
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 ¶
func (m CreateDestroyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateDestroyJobOperationDetails) String ¶
func (m CreateDestroyJobOperationDetails) String() string
type CreateGitConfigSourceDetails ¶
type CreateGitConfigSourceDetails struct { // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) // for the Git configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // File path to the directory from which Terraform runs. // If not specified, the root directory is used. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The URL of the Git repository. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // The name of the branch within the Git repository. BranchName *string `mandatory:"false" json:"branchName"` }
CreateGitConfigSourceDetails Details for uploading the configuration Git information.
func (CreateGitConfigSourceDetails) GetWorkingDirectory ¶
func (m CreateGitConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (CreateGitConfigSourceDetails) MarshalJSON ¶
func (m CreateGitConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateGitConfigSourceDetails) String ¶
func (m CreateGitConfigSourceDetails) String() string
type CreateGitlabAccessTokenConfigurationSourceProviderDetails ¶
type CreateGitlabAccessTokenConfigurationSourceProviderDetails struct { // The Git service API endpoint. // Example: `https://gitlab.com/api/v4/` ApiEndpoint *string `mandatory:"true" json:"apiEndpoint"` // The personal access token to be configured on the Git repository. Avoid entering confidential information. AccessToken *string `mandatory:"true" json:"accessToken"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where // you want to create the configuration source provider. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Human-readable name of the configuration source provider. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description of the configuration source provider. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // 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"` }
CreateGitlabAccessTokenConfigurationSourceProviderDetails The details for creating a configuration source provider of the type `GITLAB_ACCESS_TOKEN`. This type corresponds to a configuration source provider in GitLab that is authenticated with a personal access token.
func (CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetCompartmentId ¶
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDefinedTags ¶
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDescription ¶
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
GetDescription returns Description
func (CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDisplayName ¶
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetFreeformTags ¶
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON ¶
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateGitlabAccessTokenConfigurationSourceProviderDetails) String ¶
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) String() string
type CreateImportTfStateJobOperationDetails ¶
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 ¶
func (m CreateImportTfStateJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateImportTfStateJobOperationDetails) String ¶
func (m CreateImportTfStateJobOperationDetails) String() string
type CreateJobDetails ¶
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 ¶
func (m CreateJobDetails) String() string
func (*CreateJobDetails) UnmarshalJSON ¶
func (m *CreateJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type CreateJobOperationDetails ¶
type CreateJobOperationDetails interface { }
CreateJobOperationDetails Job details that are specific to the operation type.
type CreateJobRequest ¶
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 ¶
func (request CreateJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateJobRequest) RetryPolicy ¶
func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateJobRequest) String ¶
func (request CreateJobRequest) String() string
type CreateJobResponse ¶
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 ¶
func (response CreateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateJobResponse) String ¶
func (response CreateJobResponse) String() string
type CreatePlanJobOperationDetails ¶
type CreatePlanJobOperationDetails struct { }
CreatePlanJobOperationDetails Job details that are specific to plan operations.
func (CreatePlanJobOperationDetails) MarshalJSON ¶
func (m CreatePlanJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreatePlanJobOperationDetails) String ¶
func (m CreatePlanJobOperationDetails) String() string
type CreateStackDetails ¶
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 250. // 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 The configuration details for creating a stack.
func (CreateStackDetails) String ¶
func (m CreateStackDetails) String() string
func (*CreateStackDetails) UnmarshalJSON ¶
func (m *CreateStackDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type CreateStackRequest ¶
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 ¶
func (request CreateStackRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateStackRequest) RetryPolicy ¶
func (request CreateStackRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateStackRequest) String ¶
func (request CreateStackRequest) String() string
type CreateStackResponse ¶
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"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateStackResponse wrapper for the CreateStack operation
func (CreateStackResponse) HTTPResponse ¶
func (response CreateStackResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateStackResponse) String ¶
func (response CreateStackResponse) String() string
type CreateZipUploadConfigSourceDetails ¶
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. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` }
CreateZipUploadConfigSourceDetails Property details for uploading the configuration zip file.
func (CreateZipUploadConfigSourceDetails) GetWorkingDirectory ¶
func (m CreateZipUploadConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (CreateZipUploadConfigSourceDetails) MarshalJSON ¶
func (m CreateZipUploadConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateZipUploadConfigSourceDetails) String ¶
func (m CreateZipUploadConfigSourceDetails) String() string
type DeleteConfigurationSourceProviderRequest ¶
type DeleteConfigurationSourceProviderRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration source provider. ConfigurationSourceProviderId *string `mandatory:"true" contributesTo:"path" name:"configurationSourceProviderId"` // 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 }
DeleteConfigurationSourceProviderRequest wrapper for the DeleteConfigurationSourceProvider operation
func (DeleteConfigurationSourceProviderRequest) HTTPRequest ¶
func (request DeleteConfigurationSourceProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteConfigurationSourceProviderRequest) RetryPolicy ¶
func (request DeleteConfigurationSourceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteConfigurationSourceProviderRequest) String ¶
func (request DeleteConfigurationSourceProviderRequest) String() string
type DeleteConfigurationSourceProviderResponse ¶
type DeleteConfigurationSourceProviderResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteConfigurationSourceProviderResponse wrapper for the DeleteConfigurationSourceProvider operation
func (DeleteConfigurationSourceProviderResponse) HTTPResponse ¶
func (response DeleteConfigurationSourceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteConfigurationSourceProviderResponse) String ¶
func (response DeleteConfigurationSourceProviderResponse) String() string
type DeleteStackRequest ¶
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 ¶
func (request DeleteStackRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteStackRequest) RetryPolicy ¶
func (request DeleteStackRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteStackRequest) String ¶
func (request DeleteStackRequest) String() string
type DeleteStackResponse ¶
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 ¶
func (response DeleteStackResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteStackResponse) String ¶
func (response DeleteStackResponse) String() string
type DestroyJobOperationDetails ¶
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 ¶
func (m DestroyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DestroyJobOperationDetails) String ¶
func (m DestroyJobOperationDetails) String() string
type DestroyJobOperationDetailsExecutionPlanStrategyEnum ¶
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 ¶
func GetDestroyJobOperationDetailsExecutionPlanStrategyEnumValues() []DestroyJobOperationDetailsExecutionPlanStrategyEnum
GetDestroyJobOperationDetailsExecutionPlanStrategyEnumValues Enumerates the set of values for DestroyJobOperationDetailsExecutionPlanStrategyEnum
type DestroyJobOperationDetailsSummary ¶
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 ¶
func (m DestroyJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DestroyJobOperationDetailsSummary) String ¶
func (m DestroyJobOperationDetailsSummary) String() string
type DetectStackDriftRequest ¶
type DetectStackDriftRequest 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"` // 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 }
DetectStackDriftRequest wrapper for the DetectStackDrift operation
func (DetectStackDriftRequest) HTTPRequest ¶
func (request DetectStackDriftRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DetectStackDriftRequest) RetryPolicy ¶
func (request DetectStackDriftRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DetectStackDriftRequest) String ¶
func (request DetectStackDriftRequest) String() string
type DetectStackDriftResponse ¶
type DetectStackDriftResponse 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/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DetectStackDriftResponse wrapper for the DetectStackDrift operation
func (DetectStackDriftResponse) HTTPResponse ¶
func (response DetectStackDriftResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DetectStackDriftResponse) String ¶
func (response DetectStackDriftResponse) String() string
type FailureDetails ¶
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 ¶
func (m FailureDetails) String() string
type FailureDetailsCodeEnum ¶
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" FailureDetailsCodeTerraformGitCloneFailure FailureDetailsCodeEnum = "TERRAFORM_GIT_CLONE_FAILURE" FailureDetailsCodeTerraformGitCheckoutFailure FailureDetailsCodeEnum = "TERRAFORM_GIT_CHECKOUT_FAILURE" )
Set of constants representing the allowable values for FailureDetailsCodeEnum
func GetFailureDetailsCodeEnumValues ¶
func GetFailureDetailsCodeEnumValues() []FailureDetailsCodeEnum
GetFailureDetailsCodeEnumValues Enumerates the set of values for FailureDetailsCodeEnum
type GetConfigurationSourceProviderRequest ¶
type GetConfigurationSourceProviderRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration source provider. ConfigurationSourceProviderId *string `mandatory:"true" contributesTo:"path" name:"configurationSourceProviderId"` // 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 }
GetConfigurationSourceProviderRequest wrapper for the GetConfigurationSourceProvider operation
func (GetConfigurationSourceProviderRequest) HTTPRequest ¶
func (request GetConfigurationSourceProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetConfigurationSourceProviderRequest) RetryPolicy ¶
func (request GetConfigurationSourceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetConfigurationSourceProviderRequest) String ¶
func (request GetConfigurationSourceProviderRequest) String() string
type GetConfigurationSourceProviderResponse ¶
type GetConfigurationSourceProviderResponse struct { // The underlying http response RawResponse *http.Response // The ConfigurationSourceProvider instance ConfigurationSourceProvider `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"` }
GetConfigurationSourceProviderResponse wrapper for the GetConfigurationSourceProvider operation
func (GetConfigurationSourceProviderResponse) HTTPResponse ¶
func (response GetConfigurationSourceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetConfigurationSourceProviderResponse) String ¶
func (response GetConfigurationSourceProviderResponse) String() string
type GetJobLogsContentRequest ¶
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 ¶
func (request GetJobLogsContentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetJobLogsContentRequest) RetryPolicy ¶
func (request GetJobLogsContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetJobLogsContentRequest) String ¶
func (request GetJobLogsContentRequest) String() string
type GetJobLogsContentResponse ¶
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 ¶
func (response GetJobLogsContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetJobLogsContentResponse) String ¶
func (response GetJobLogsContentResponse) String() string
type GetJobLogsRequest ¶
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 to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`). 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. // Format is defined by RFC3339. // Example: `2020-01-01T12:00:00.000Z` TimestampGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timestampGreaterThanOrEqualTo"` // Time stamp specifying the upper time limit for which logs are returned in a query. // Format is defined by RFC3339. // Example: `2020-02-01T12:00:00.000Z` 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 ¶
func (request GetJobLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetJobLogsRequest) RetryPolicy ¶
func (request GetJobLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetJobLogsRequest) String ¶
func (request GetJobLogsRequest) String() string
type GetJobLogsResponse ¶
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 ¶
func (response GetJobLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetJobLogsResponse) String ¶
func (response GetJobLogsResponse) String() string
type GetJobLogsSortOrderEnum ¶
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 ¶
func GetGetJobLogsSortOrderEnumValues() []GetJobLogsSortOrderEnum
GetGetJobLogsSortOrderEnumValues Enumerates the set of values for GetJobLogsSortOrderEnum
type GetJobRequest ¶
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 ¶
func (request GetJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetJobRequest) RetryPolicy ¶
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetJobRequest) String ¶
func (request GetJobRequest) String() string
type GetJobResponse ¶
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 ¶
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetJobResponse) String ¶
func (response GetJobResponse) String() string
type GetJobTfConfigRequest ¶
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 ¶
func (request GetJobTfConfigRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetJobTfConfigRequest) RetryPolicy ¶
func (request GetJobTfConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetJobTfConfigRequest) String ¶
func (request GetJobTfConfigRequest) String() string
type GetJobTfConfigResponse ¶
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 ¶
func (response GetJobTfConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetJobTfConfigResponse) String ¶
func (response GetJobTfConfigResponse) String() string
type GetJobTfStateRequest ¶
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 ¶
func (request GetJobTfStateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetJobTfStateRequest) RetryPolicy ¶
func (request GetJobTfStateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetJobTfStateRequest) String ¶
func (request GetJobTfStateRequest) String() string
type GetJobTfStateResponse ¶
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 ¶
func (response GetJobTfStateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetJobTfStateResponse) String ¶
func (response GetJobTfStateResponse) String() string
type GetStackRequest ¶
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 ¶
func (request GetStackRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetStackRequest) RetryPolicy ¶
func (request GetStackRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetStackRequest) String ¶
func (request GetStackRequest) String() string
type GetStackResponse ¶
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 ¶
func (response GetStackResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetStackResponse) String ¶
func (response GetStackResponse) String() string
type GetStackTfConfigRequest ¶
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 ¶
func (request GetStackTfConfigRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetStackTfConfigRequest) RetryPolicy ¶
func (request GetStackTfConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetStackTfConfigRequest) String ¶
func (request GetStackTfConfigRequest) String() string
type GetStackTfConfigResponse ¶
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 ¶
func (response GetStackTfConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetStackTfConfigResponse) String ¶
func (response GetStackTfConfigResponse) String() string
type GetStackTfStateRequest ¶
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 ¶
func (request GetStackTfStateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetStackTfStateRequest) RetryPolicy ¶
func (request GetStackTfStateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetStackTfStateRequest) String ¶
func (request GetStackTfStateRequest) String() string
type GetStackTfStateResponse ¶
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 ¶
func (response GetStackTfStateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetStackTfStateResponse) String ¶
func (response GetStackTfStateResponse) String() string
type GetWorkRequestRequest ¶
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 ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse ¶
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 ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type GitConfigSource ¶
type GitConfigSource struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Git configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The URL of the Git repository for the configuration source. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // The name of the branch in the Git repository for the configuration source. BranchName *string `mandatory:"false" json:"branchName"` }
GitConfigSource Metadata about the Git configuration source.
func (GitConfigSource) GetWorkingDirectory ¶
func (m GitConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (GitConfigSource) MarshalJSON ¶
func (m GitConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (GitConfigSource) String ¶
func (m GitConfigSource) String() string
type GitConfigSourceRecord ¶
type GitConfigSourceRecord struct { // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) // for the Git configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // The URL of the Git repository. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // The name of the branch within the Git repository. BranchName *string `mandatory:"false" json:"branchName"` // The unique identifier (SHA-1 hash) of the individual change to the Git repository. CommitId *string `mandatory:"false" json:"commitId"` }
GitConfigSourceRecord Metadata about the Git configuration source.
func (GitConfigSourceRecord) MarshalJSON ¶
func (m GitConfigSourceRecord) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (GitConfigSourceRecord) String ¶
func (m GitConfigSourceRecord) String() string
type GitlabAccessTokenConfigurationSourceProvider ¶
type GitlabAccessTokenConfigurationSourceProvider struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration source provider. Id *string `mandatory:"false" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the configuration source provider is located. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Human-readable display name for the configuration source provider. DisplayName *string `mandatory:"false" json:"displayName"` // Description of the configuration source provider. Description *string `mandatory:"false" json:"description"` // The date and time when the configuration source provider was created. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // 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"` // The Git service API endpoint. // Example: `https://gitlab.com/api/v4/` ApiEndpoint *string `mandatory:"false" json:"apiEndpoint"` // The current lifecycle state of the configuration source provider. // For more information about configuration source provider lifecycle states in Resource Manager, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#CSPStates). LifecycleState ConfigurationSourceProviderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
GitlabAccessTokenConfigurationSourceProvider The properties that define a configuration source provider of the type `GITLAB_ACCESS_TOKEN`. This type corresponds to a configuration source provider in GitLab that is authenticated with a personal access token.
func (GitlabAccessTokenConfigurationSourceProvider) GetCompartmentId ¶
func (m GitlabAccessTokenConfigurationSourceProvider) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (GitlabAccessTokenConfigurationSourceProvider) GetDefinedTags ¶
func (m GitlabAccessTokenConfigurationSourceProvider) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (GitlabAccessTokenConfigurationSourceProvider) GetDescription ¶
func (m GitlabAccessTokenConfigurationSourceProvider) GetDescription() *string
GetDescription returns Description
func (GitlabAccessTokenConfigurationSourceProvider) GetDisplayName ¶
func (m GitlabAccessTokenConfigurationSourceProvider) GetDisplayName() *string
GetDisplayName returns DisplayName
func (GitlabAccessTokenConfigurationSourceProvider) GetFreeformTags ¶
func (m GitlabAccessTokenConfigurationSourceProvider) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (GitlabAccessTokenConfigurationSourceProvider) GetId ¶
func (m GitlabAccessTokenConfigurationSourceProvider) GetId() *string
GetId returns Id
func (GitlabAccessTokenConfigurationSourceProvider) GetLifecycleState ¶
func (m GitlabAccessTokenConfigurationSourceProvider) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (GitlabAccessTokenConfigurationSourceProvider) GetTimeCreated ¶
func (m GitlabAccessTokenConfigurationSourceProvider) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (GitlabAccessTokenConfigurationSourceProvider) MarshalJSON ¶
func (m GitlabAccessTokenConfigurationSourceProvider) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (GitlabAccessTokenConfigurationSourceProvider) String ¶
func (m GitlabAccessTokenConfigurationSourceProvider) String() string
type GitlabAccessTokenConfigurationSourceProviderSummary ¶
type GitlabAccessTokenConfigurationSourceProviderSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration source provider. Id *string `mandatory:"false" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the configuration source provider is located. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Human-readable display name for the configuration source provider. DisplayName *string `mandatory:"false" json:"displayName"` // General description of the configuration source provider. Description *string `mandatory:"false" json:"description"` // The date and time when the configuration source provider was created. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // 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"` // The Git service API endpoint. // Example: `https://gitlab.com/api/v4/` ApiEndpoint *string `mandatory:"false" json:"apiEndpoint"` // Current state of the specified configuration source provider. // For more information about configuration source provider lifecycle states in Resource Manager, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#CSPStates). // Allowable values: // - ACTIVE LifecycleState ConfigurationSourceProviderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
GitlabAccessTokenConfigurationSourceProviderSummary Summary information for a configuration source provider of the type `GITLAB_ACCESS_TOKEN`. This type corresponds to a configuration source provider in GitLab that is authenticated with a personal access token.
func (GitlabAccessTokenConfigurationSourceProviderSummary) GetCompartmentId ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (GitlabAccessTokenConfigurationSourceProviderSummary) GetDefinedTags ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (GitlabAccessTokenConfigurationSourceProviderSummary) GetDescription ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDescription() *string
GetDescription returns Description
func (GitlabAccessTokenConfigurationSourceProviderSummary) GetDisplayName ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (GitlabAccessTokenConfigurationSourceProviderSummary) GetFreeformTags ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (GitlabAccessTokenConfigurationSourceProviderSummary) GetId ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetId() *string
GetId returns Id
func (GitlabAccessTokenConfigurationSourceProviderSummary) GetLifecycleState ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (GitlabAccessTokenConfigurationSourceProviderSummary) GetTimeCreated ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (GitlabAccessTokenConfigurationSourceProviderSummary) MarshalJSON ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (GitlabAccessTokenConfigurationSourceProviderSummary) String ¶
func (m GitlabAccessTokenConfigurationSourceProviderSummary) String() string
type ImportTfStateJobOperationDetails ¶
type ImportTfStateJobOperationDetails struct { }
ImportTfStateJobOperationDetails Job details that are specific to import Terraform state operations.
func (ImportTfStateJobOperationDetails) MarshalJSON ¶
func (m ImportTfStateJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ImportTfStateJobOperationDetails) String ¶
func (m ImportTfStateJobOperationDetails) String() string
type ImportTfStateJobOperationDetailsSummary ¶
type ImportTfStateJobOperationDetailsSummary struct { }
ImportTfStateJobOperationDetailsSummary Job details that are specific to import Terraform state operations.
func (ImportTfStateJobOperationDetailsSummary) MarshalJSON ¶
func (m ImportTfStateJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ImportTfStateJobOperationDetailsSummary) String ¶
func (m ImportTfStateJobOperationDetailsSummary) String() string
type Job ¶
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 when the job was created. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time when the job stopped running, irrespective of whether the job ran successfully. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Current state of the specified job. // For more information about job lifecycle states in Resource Manager, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#JobStates). LifecycleState JobLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` FailureDetails *FailureDetails `mandatory:"false" json:"failureDetails"` // File path to the directory from which Terraform runs. // If not specified, the root directory is used. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // Terraform variables associated with this resource. // Maximum number of variables supported is 250. // 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"` ConfigSource ConfigSourceRecord `mandatory:"false" json:"configSource"` // 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 The properties that define a job. Jobs perform the actions that are defined in your configuration. - **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) UnmarshalJSON ¶
UnmarshalJSON unmarshals from json
type JobLifecycleStateEnum ¶
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 ¶
func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum
GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum
type JobOperationDetails ¶
type JobOperationDetails interface { }
JobOperationDetails Job details that are specific to the operation type.
type JobOperationDetailsSummary ¶
type JobOperationDetailsSummary interface { }
JobOperationDetailsSummary Job details that are specific to the operation type.
type JobOperationEnum ¶
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 ¶
func GetJobOperationEnumValues() []JobOperationEnum
GetJobOperationEnumValues Enumerates the set of values for JobOperationEnum
type JobSummary ¶
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. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the job succeeded or failed. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Current state of the specified job. // For more information about job lifecycle states in Resource Manager, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#JobStates). // Allowable values: // - 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 ¶
func (m JobSummary) String() string
func (*JobSummary) UnmarshalJSON ¶
func (m *JobSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type ListConfigurationSourceProvidersRequest ¶
type ListConfigurationSourceProvidersRequest 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"` // A filter to return only resources that exist in the compartment, identified by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only configuration source providers that match the provided OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ConfigurationSourceProviderId *string `mandatory:"false" contributesTo:"query" name:"configurationSourceProviderId"` // A filter to return only resources that match the specified display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field to use when sorting returned resources. // By default, `TIMECREATED` is ordered descending. // By default, `DISPLAYNAME` is ordered ascending. Note that you can sort only on one field. SortBy ListConfigurationSourceProvidersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`). SortOrder ListConfigurationSourceProvidersSortOrderEnum `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 }
ListConfigurationSourceProvidersRequest wrapper for the ListConfigurationSourceProviders operation
func (ListConfigurationSourceProvidersRequest) HTTPRequest ¶
func (request ListConfigurationSourceProvidersRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListConfigurationSourceProvidersRequest) RetryPolicy ¶
func (request ListConfigurationSourceProvidersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListConfigurationSourceProvidersRequest) String ¶
func (request ListConfigurationSourceProvidersRequest) String() string
type ListConfigurationSourceProvidersResponse ¶
type ListConfigurationSourceProvidersResponse struct { // The underlying http response RawResponse *http.Response // A list of ConfigurationSourceProviderCollection instances ConfigurationSourceProviderCollection `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"` }
ListConfigurationSourceProvidersResponse wrapper for the ListConfigurationSourceProviders operation
func (ListConfigurationSourceProvidersResponse) HTTPResponse ¶
func (response ListConfigurationSourceProvidersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListConfigurationSourceProvidersResponse) String ¶
func (response ListConfigurationSourceProvidersResponse) String() string
type ListConfigurationSourceProvidersSortByEnum ¶
type ListConfigurationSourceProvidersSortByEnum string
ListConfigurationSourceProvidersSortByEnum Enum with underlying type: string
const ( ListConfigurationSourceProvidersSortByTimecreated ListConfigurationSourceProvidersSortByEnum = "TIMECREATED" ListConfigurationSourceProvidersSortByDisplayname ListConfigurationSourceProvidersSortByEnum = "DISPLAYNAME" )
Set of constants representing the allowable values for ListConfigurationSourceProvidersSortByEnum
func GetListConfigurationSourceProvidersSortByEnumValues ¶
func GetListConfigurationSourceProvidersSortByEnumValues() []ListConfigurationSourceProvidersSortByEnum
GetListConfigurationSourceProvidersSortByEnumValues Enumerates the set of values for ListConfigurationSourceProvidersSortByEnum
type ListConfigurationSourceProvidersSortOrderEnum ¶
type ListConfigurationSourceProvidersSortOrderEnum string
ListConfigurationSourceProvidersSortOrderEnum Enum with underlying type: string
const ( ListConfigurationSourceProvidersSortOrderAsc ListConfigurationSourceProvidersSortOrderEnum = "ASC" ListConfigurationSourceProvidersSortOrderDesc ListConfigurationSourceProvidersSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListConfigurationSourceProvidersSortOrderEnum
func GetListConfigurationSourceProvidersSortOrderEnumValues ¶
func GetListConfigurationSourceProvidersSortOrderEnumValues() []ListConfigurationSourceProvidersSortOrderEnum
GetListConfigurationSourceProvidersSortOrderEnumValues Enumerates the set of values for ListConfigurationSourceProvidersSortOrderEnum
type ListJobsRequest ¶
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"` // A filter to return only resources that exist in the compartment, identified by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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"` // A filter to return only resources that match the specified display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field to use when sorting returned resources. // 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 to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`). 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 ¶
func (request ListJobsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListJobsRequest) RetryPolicy ¶
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListJobsRequest) String ¶
func (request ListJobsRequest) String() string
type ListJobsResponse ¶
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 ¶
func (response ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListJobsResponse) String ¶
func (response ListJobsResponse) String() string
type ListJobsSortByEnum ¶
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 ¶
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
type ListJobsSortOrderEnum ¶
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 ¶
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
type ListResourceDiscoveryServicesRequest ¶
type ListResourceDiscoveryServicesRequest 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"` // A filter to return only resources that exist in the compartment, identified by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 }
ListResourceDiscoveryServicesRequest wrapper for the ListResourceDiscoveryServices operation
func (ListResourceDiscoveryServicesRequest) HTTPRequest ¶
func (request ListResourceDiscoveryServicesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListResourceDiscoveryServicesRequest) RetryPolicy ¶
func (request ListResourceDiscoveryServicesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListResourceDiscoveryServicesRequest) String ¶
func (request ListResourceDiscoveryServicesRequest) String() string
type ListResourceDiscoveryServicesResponse ¶
type ListResourceDiscoveryServicesResponse struct { // The underlying http response RawResponse *http.Response // The ResourceDiscoveryServiceCollection instance ResourceDiscoveryServiceCollection `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"` }
ListResourceDiscoveryServicesResponse wrapper for the ListResourceDiscoveryServices operation
func (ListResourceDiscoveryServicesResponse) HTTPResponse ¶
func (response ListResourceDiscoveryServicesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListResourceDiscoveryServicesResponse) String ¶
func (response ListResourceDiscoveryServicesResponse) String() string
type ListStackResourceDriftDetailsRequest ¶
type ListStackResourceDriftDetailsRequest 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"` // A filter that returns only resources that match the given drift status. The value is case-insensitive. // Allowable values - // - NOT_CHECKED // - MODIFIED // - IN_SYNC // - DELETED ResourceDriftStatus []StackResourceDriftSummaryResourceDriftStatusEnum `contributesTo:"query" name:"resourceDriftStatus" omitEmpty:"true" collectionFormat:"multi"` // 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 }
ListStackResourceDriftDetailsRequest wrapper for the ListStackResourceDriftDetails operation
func (ListStackResourceDriftDetailsRequest) HTTPRequest ¶
func (request ListStackResourceDriftDetailsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListStackResourceDriftDetailsRequest) RetryPolicy ¶
func (request ListStackResourceDriftDetailsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListStackResourceDriftDetailsRequest) String ¶
func (request ListStackResourceDriftDetailsRequest) String() string
type ListStackResourceDriftDetailsResponse ¶
type ListStackResourceDriftDetailsResponse struct { // The underlying http response RawResponse *http.Response // A list of StackResourceDriftCollection instances StackResourceDriftCollection `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"` }
ListStackResourceDriftDetailsResponse wrapper for the ListStackResourceDriftDetails operation
func (ListStackResourceDriftDetailsResponse) HTTPResponse ¶
func (response ListStackResourceDriftDetailsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListStackResourceDriftDetailsResponse) String ¶
func (response ListStackResourceDriftDetailsResponse) String() string
type ListStacksRequest ¶
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"` // A filter to return only resources that exist in the compartment, identified by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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. // For more information about stack lifecycle states, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#StackStates). // Allowable values: // - CREATING // - ACTIVE // - DELETING // - DELETED // - FAILED LifecycleState StackLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the specified display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field to use when sorting returned resources. // 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 to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`). 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 ¶
func (request ListStacksRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListStacksRequest) RetryPolicy ¶
func (request ListStacksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListStacksRequest) String ¶
func (request ListStacksRequest) String() string
type ListStacksResponse ¶
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 ¶
func (response ListStacksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListStacksResponse) String ¶
func (response ListStacksResponse) String() string
type ListStacksSortByEnum ¶
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 ¶
func GetListStacksSortByEnumValues() []ListStacksSortByEnum
GetListStacksSortByEnumValues Enumerates the set of values for ListStacksSortByEnum
type ListStacksSortOrderEnum ¶
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 ¶
func GetListStacksSortOrderEnumValues() []ListStacksSortOrderEnum
GetListStacksSortOrderEnumValues Enumerates the set of values for ListStacksSortOrderEnum
type ListTerraformVersionsRequest ¶
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"` // A filter to return only resources that exist in the compartment, identified by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 ¶
func (request ListTerraformVersionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListTerraformVersionsRequest) RetryPolicy ¶
func (request ListTerraformVersionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListTerraformVersionsRequest) String ¶
func (request ListTerraformVersionsRequest) String() string
type ListTerraformVersionsResponse ¶
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 ¶
func (response ListTerraformVersionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListTerraformVersionsResponse) String ¶
func (response ListTerraformVersionsResponse) String() string
type ListWorkRequestErrorsRequest ¶
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"` // A filter to return only resources that exist in the compartment, identified by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`). 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 ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse ¶
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 ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortOrderEnum ¶
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 ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
type ListWorkRequestLogsRequest ¶
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"` // A filter to return only resources that exist in the compartment, identified by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`). 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 ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse ¶
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 ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortOrderEnum ¶
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 ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // A filter to return only resources that exist in the compartment, identified by OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse ¶
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 ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type LogEntry ¶
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"` // The date and time of the log entry. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` 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.
type LogEntryLevelEnum ¶
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 ¶
func GetLogEntryLevelEnumValues() []LogEntryLevelEnum
GetLogEntryLevelEnumValues Enumerates the set of values for LogEntryLevelEnum
type LogEntryTypeEnum ¶
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 ¶
func GetLogEntryTypeEnumValues() []LogEntryTypeEnum
GetLogEntryTypeEnumValues Enumerates the set of values for LogEntryTypeEnum
type PlanJobOperationDetails ¶
type PlanJobOperationDetails struct { }
PlanJobOperationDetails Job details that are specific to plan operations.
func (PlanJobOperationDetails) MarshalJSON ¶
func (m PlanJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (PlanJobOperationDetails) String ¶
func (m PlanJobOperationDetails) String() string
type PlanJobOperationDetailsSummary ¶
type PlanJobOperationDetailsSummary struct { }
PlanJobOperationDetailsSummary Job details that are specific to plan operations.
func (PlanJobOperationDetailsSummary) MarshalJSON ¶
func (m PlanJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (PlanJobOperationDetailsSummary) String ¶
func (m PlanJobOperationDetailsSummary) String() string
type ResourceDiscoveryServiceCollection ¶
type ResourceDiscoveryServiceCollection struct { // Collection of supported services for Resource Discovery. Items []ResourceDiscoveryServiceSummary `mandatory:"true" json:"items"` }
ResourceDiscoveryServiceCollection The list of services supported for use with Resource Discovery (https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services).
func (ResourceDiscoveryServiceCollection) String ¶
func (m ResourceDiscoveryServiceCollection) String() string
type ResourceDiscoveryServiceSummary ¶
type ResourceDiscoveryServiceSummary struct { // A supported service. Example: `core` // For reference on service names, see the Terraform provider documentation (https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services). Name *string `mandatory:"false" json:"name"` // The scope of the service as used with Resource Discovery. // This property determines the type of compartment OCID required: root compartment (`TENANCY`) or not (`COMPARTMENT`). // For example, `identity` is at the root compartment scope while `database` is at the compartment scope. DiscoveryScope ResourceDiscoveryServiceSummaryDiscoveryScopeEnum `mandatory:"false" json:"discoveryScope,omitempty"` }
ResourceDiscoveryServiceSummary A service supported for use with Resource Discovery.
func (ResourceDiscoveryServiceSummary) String ¶
func (m ResourceDiscoveryServiceSummary) String() string
type ResourceDiscoveryServiceSummaryDiscoveryScopeEnum ¶
type ResourceDiscoveryServiceSummaryDiscoveryScopeEnum string
ResourceDiscoveryServiceSummaryDiscoveryScopeEnum Enum with underlying type: string
const ( ResourceDiscoveryServiceSummaryDiscoveryScopeTenancy ResourceDiscoveryServiceSummaryDiscoveryScopeEnum = "TENANCY" ResourceDiscoveryServiceSummaryDiscoveryScopeCompartment ResourceDiscoveryServiceSummaryDiscoveryScopeEnum = "COMPARTMENT" )
Set of constants representing the allowable values for ResourceDiscoveryServiceSummaryDiscoveryScopeEnum
func GetResourceDiscoveryServiceSummaryDiscoveryScopeEnumValues ¶
func GetResourceDiscoveryServiceSummaryDiscoveryScopeEnumValues() []ResourceDiscoveryServiceSummaryDiscoveryScopeEnum
GetResourceDiscoveryServiceSummaryDiscoveryScopeEnumValues Enumerates the set of values for ResourceDiscoveryServiceSummaryDiscoveryScopeEnum
type ResourceManagerClient ¶
type ResourceManagerClient struct { common.BaseClient // contains filtered or unexported fields }
ResourceManagerClient a client for ResourceManager
func NewResourceManagerClientWithConfigurationProvider ¶
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 ¶
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 ¶
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) ChangeConfigurationSourceProviderCompartment ¶
func (client ResourceManagerClient) ChangeConfigurationSourceProviderCompartment(ctx context.Context, request ChangeConfigurationSourceProviderCompartmentRequest) (response ChangeConfigurationSourceProviderCompartmentResponse, err error)
ChangeConfigurationSourceProviderCompartment Moves a configuration source provider into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
func (ResourceManagerClient) ChangeStackCompartment ¶
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 ¶
func (client *ResourceManagerClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (ResourceManagerClient) CreateConfigurationSourceProvider ¶
func (client ResourceManagerClient) CreateConfigurationSourceProvider(ctx context.Context, request CreateConfigurationSourceProviderRequest) (response CreateConfigurationSourceProviderResponse, err error)
CreateConfigurationSourceProvider Creates a configuration source provider in the specified compartment. For more information, see To create a configuration source provider (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/managingstacksandjobs.htm#CreateConfigurationSourceProvider).
func (ResourceManagerClient) CreateJob ¶
func (client ResourceManagerClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
CreateJob Creates a job.
func (ResourceManagerClient) CreateStack ¶
func (client ResourceManagerClient) CreateStack(ctx context.Context, request CreateStackRequest) (response CreateStackResponse, err error)
CreateStack Creates a stack in the specified compartment. You can create a stack from a Terraform configuration file. The Terraform configuration file can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment. For more information, see To create a stack (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/managingstacksandjobs.htm#CreateStack).
func (ResourceManagerClient) DeleteConfigurationSourceProvider ¶
func (client ResourceManagerClient) DeleteConfigurationSourceProvider(ctx context.Context, request DeleteConfigurationSourceProviderRequest) (response DeleteConfigurationSourceProviderResponse, err error)
DeleteConfigurationSourceProvider Deletes the specified configuration source provider.
func (ResourceManagerClient) DeleteStack ¶
func (client ResourceManagerClient) DeleteStack(ctx context.Context, request DeleteStackRequest) (response DeleteStackResponse, err error)
DeleteStack Deletes the specified stack object.
func (ResourceManagerClient) DetectStackDrift ¶
func (client ResourceManagerClient) DetectStackDrift(ctx context.Context, request DetectStackDriftRequest) (response DetectStackDriftResponse, err error)
DetectStackDrift Checks drift status for the specified stack.
func (ResourceManagerClient) GetConfigurationSourceProvider ¶
func (client ResourceManagerClient) GetConfigurationSourceProvider(ctx context.Context, request GetConfigurationSourceProviderRequest) (response GetConfigurationSourceProviderResponse, err error)
GetConfigurationSourceProvider Gets the properties of the specified configuration source provider.
func (ResourceManagerClient) GetJob ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client ResourceManagerClient) GetStack(ctx context.Context, request GetStackRequest) (response GetStackResponse, err error)
GetStack Gets a stack using the stack ID.
func (ResourceManagerClient) GetStackTfConfig ¶
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 ¶
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 ¶
func (client ResourceManagerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Return the given work request.
func (ResourceManagerClient) ListConfigurationSourceProviders ¶
func (client ResourceManagerClient) ListConfigurationSourceProviders(ctx context.Context, request ListConfigurationSourceProvidersRequest) (response ListConfigurationSourceProvidersResponse, err error)
ListConfigurationSourceProviders Lists configuration source providers according to the specified filter. - For `compartmentId`, lists all configuration source providers in the matching compartment. - For `configurationSourceProviderId`, lists the matching configuration source provider.
func (ResourceManagerClient) ListJobs ¶
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) ListResourceDiscoveryServices ¶
func (client ResourceManagerClient) ListResourceDiscoveryServices(ctx context.Context, request ListResourceDiscoveryServicesRequest) (response ListResourceDiscoveryServicesResponse, err error)
ListResourceDiscoveryServices Returns a list of supported services for Resource Discovery. For reference on service names, see the Terraform provider documentation (https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services).
func (ResourceManagerClient) ListStackResourceDriftDetails ¶
func (client ResourceManagerClient) ListStackResourceDriftDetails(ctx context.Context, request ListStackResourceDriftDetailsRequest) (response ListStackResourceDriftDetailsResponse, err error)
ListStackResourceDriftDetails Lists drift status details for each resource defined in the specified stack. The drift status details for a given resource indicate differences, if any, between the actual state and the expected (defined) state for that resource.
func (ResourceManagerClient) ListStacks ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client *ResourceManagerClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (ResourceManagerClient) UpdateConfigurationSourceProvider ¶
func (client ResourceManagerClient) UpdateConfigurationSourceProvider(ctx context.Context, request UpdateConfigurationSourceProviderRequest) (response UpdateConfigurationSourceProviderResponse, err error)
UpdateConfigurationSourceProvider Updates the properties of the specified configuration source provider. For more information, see To update a configuration source provider (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/managingstacksandjobs.htm#UpdateConfigurationSourceProvider).
func (ResourceManagerClient) UpdateJob ¶
func (client ResourceManagerClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
UpdateJob Updates the specified job.
func (ResourceManagerClient) UpdateStack ¶
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 To update a stack (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/managingstacksandjobs.htm#UpdateStack) and To edit a stack (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/managingstacksandjobs.htm#EditStack).
type Stack ¶
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. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The current lifecycle state of the stack. // For more information about stack lifecycle states in Resource Manager, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#StackStates). 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 250. // 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"` // Drift status of the stack. // Drift refers to differences between the actual (current) state of the stack and the expected (defined) state of the stack. StackDriftStatus StackStackDriftStatusEnum `mandatory:"false" json:"stackDriftStatus,omitempty"` // The date and time when the drift detection was last executed. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeDriftLastChecked *common.SDKTime `mandatory:"false" json:"timeDriftLastChecked"` // 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) UnmarshalJSON ¶
UnmarshalJSON unmarshals from json
type StackLifecycleStateEnum ¶
type StackLifecycleStateEnum string
StackLifecycleStateEnum Enum with underlying type: string
const ( StackLifecycleStateCreating StackLifecycleStateEnum = "CREATING" StackLifecycleStateActive StackLifecycleStateEnum = "ACTIVE" StackLifecycleStateDeleting StackLifecycleStateEnum = "DELETING" StackLifecycleStateDeleted StackLifecycleStateEnum = "DELETED" StackLifecycleStateFailed StackLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for StackLifecycleStateEnum
func GetStackLifecycleStateEnumValues ¶
func GetStackLifecycleStateEnumValues() []StackLifecycleStateEnum
GetStackLifecycleStateEnumValues Enumerates the set of values for StackLifecycleStateEnum
type StackResourceDriftCollection ¶
type StackResourceDriftCollection struct { // Collection of drift status details for all resources defined in the stack. Items []StackResourceDriftSummary `mandatory:"true" json:"items"` }
StackResourceDriftCollection Drift status details for resources in the stack.
func (StackResourceDriftCollection) String ¶
func (m StackResourceDriftCollection) String() string
type StackResourceDriftSummary ¶
type StackResourceDriftSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack. 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 is located. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The name of the resource as defined in the stack. ResourceName *string `mandatory:"false" json:"resourceName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource provisioned by Terraform. ResourceId *string `mandatory:"false" json:"resourceId"` // The provider resource type. // Must be supported by the Oracle Cloud Infrastructure provider (https://www.terraform.io/docs/providers/oci/index.html). // Example: `oci_core_instance` ResourceType *string `mandatory:"false" json:"resourceType"` // The drift status of the resource. // A drift status value indicates whether or not the actual state of the resource differs from the expected (defined) state for that resource. ResourceDriftStatus StackResourceDriftSummaryResourceDriftStatusEnum `mandatory:"false" json:"resourceDriftStatus,omitempty"` // Actual values of properties that the stack defines for the indicated resource. // Each property and value is provided as a key-value pair. // The following example shows actual values for the resource's display name and server type: // `{"display_name": "tf-default-dhcp-options-new", "options.0.server_type": "VcnLocalPlusInternet"}` ActualProperties map[string]string `mandatory:"false" json:"actualProperties"` // Expected values of properties that the stack defines for the indicated resource. // Each property and value is provided as a key-value pair. // The following example shows expected (defined) values for the resource's display name and server type: // `{"display_name": "tf-default-dhcp-options", "options.0.server_type": "VcnLocalPlusInternet"}` ExpectedProperties map[string]string `mandatory:"false" json:"expectedProperties"` // The date and time when the drift detection was executed. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeDriftChecked *common.SDKTime `mandatory:"false" json:"timeDriftChecked"` }
StackResourceDriftSummary Drift status details for the indicated resource and stack. Includes actual and expected (defined) properties.
func (StackResourceDriftSummary) String ¶
func (m StackResourceDriftSummary) String() string
type StackResourceDriftSummaryResourceDriftStatusEnum ¶
type StackResourceDriftSummaryResourceDriftStatusEnum string
StackResourceDriftSummaryResourceDriftStatusEnum Enum with underlying type: string
const ( StackResourceDriftSummaryResourceDriftStatusNotChecked StackResourceDriftSummaryResourceDriftStatusEnum = "NOT_CHECKED" StackResourceDriftSummaryResourceDriftStatusInSync StackResourceDriftSummaryResourceDriftStatusEnum = "IN_SYNC" StackResourceDriftSummaryResourceDriftStatusModified StackResourceDriftSummaryResourceDriftStatusEnum = "MODIFIED" StackResourceDriftSummaryResourceDriftStatusDeleted StackResourceDriftSummaryResourceDriftStatusEnum = "DELETED" )
Set of constants representing the allowable values for StackResourceDriftSummaryResourceDriftStatusEnum
func GetStackResourceDriftSummaryResourceDriftStatusEnumValues ¶
func GetStackResourceDriftSummaryResourceDriftStatusEnumValues() []StackResourceDriftSummaryResourceDriftStatusEnum
GetStackResourceDriftSummaryResourceDriftStatusEnumValues Enumerates the set of values for StackResourceDriftSummaryResourceDriftStatusEnum
type StackStackDriftStatusEnum ¶
type StackStackDriftStatusEnum string
StackStackDriftStatusEnum Enum with underlying type: string
const ( StackStackDriftStatusNotChecked StackStackDriftStatusEnum = "NOT_CHECKED" StackStackDriftStatusInSync StackStackDriftStatusEnum = "IN_SYNC" StackStackDriftStatusDrifted StackStackDriftStatusEnum = "DRIFTED" )
Set of constants representing the allowable values for StackStackDriftStatusEnum
func GetStackStackDriftStatusEnumValues ¶
func GetStackStackDriftStatusEnumValues() []StackStackDriftStatusEnum
GetStackStackDriftStatusEnumValues Enumerates the set of values for StackStackDriftStatusEnum
type StackSummary ¶
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"` // The date and time when the stack was created. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The current lifecycle state of the stack. // For more information about stack lifecycle states in Resource Manager, see // Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#StackStates). // Allowable values: // - CREATING // - ACTIVE // - DELETING // - DELETED // - FAILED 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 ¶
func (m StackSummary) String() string
type TerraformVersionCollection ¶
type TerraformVersionCollection struct { // Collection of supported Terraform versions. Items []TerraformVersionSummary `mandatory:"true" json:"items"` }
TerraformVersionCollection The list of Terraform versions supported for use with stacks.
func (TerraformVersionCollection) String ¶
func (m TerraformVersionCollection) String() string
type TerraformVersionSummary ¶
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 ¶
func (m TerraformVersionSummary) String() string
type UpdateConfigSourceDetails ¶
type UpdateConfigSourceDetails interface { // The path of the directory from which to run terraform. If not specified, the the root will be used. This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. GetWorkingDirectory() *string }
UpdateConfigSourceDetails Updates the property details for the configuration source.
type UpdateConfigurationSourceProviderDetails ¶
type UpdateConfigurationSourceProviderDetails interface { // Human-readable name of the configuration source provider. Avoid entering confidential information. GetDisplayName() *string // Description of the configuration source provider. Avoid entering confidential information. GetDescription() *string // 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"}` GetFreeformTags() map[string]string // 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"}}` GetDefinedTags() map[string]map[string]interface{} }
UpdateConfigurationSourceProviderDetails The details for updating a configuration source provider.
type UpdateConfigurationSourceProviderRequest ¶
type UpdateConfigurationSourceProviderRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration source provider. ConfigurationSourceProviderId *string `mandatory:"true" contributesTo:"path" name:"configurationSourceProviderId"` // Updated information provided for the ConfigurationSourceProvider. UpdateConfigurationSourceProviderDetails `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 }
UpdateConfigurationSourceProviderRequest wrapper for the UpdateConfigurationSourceProvider operation
func (UpdateConfigurationSourceProviderRequest) HTTPRequest ¶
func (request UpdateConfigurationSourceProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateConfigurationSourceProviderRequest) RetryPolicy ¶
func (request UpdateConfigurationSourceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateConfigurationSourceProviderRequest) String ¶
func (request UpdateConfigurationSourceProviderRequest) String() string
type UpdateConfigurationSourceProviderResponse ¶
type UpdateConfigurationSourceProviderResponse struct { // The underlying http response RawResponse *http.Response // The ConfigurationSourceProvider instance ConfigurationSourceProvider `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"` }
UpdateConfigurationSourceProviderResponse wrapper for the UpdateConfigurationSourceProvider operation
func (UpdateConfigurationSourceProviderResponse) HTTPResponse ¶
func (response UpdateConfigurationSourceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateConfigurationSourceProviderResponse) String ¶
func (response UpdateConfigurationSourceProviderResponse) String() string
type UpdateGitConfigSourceDetails ¶
type UpdateGitConfigSourceDetails struct { // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) // for the Git configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // The path of the directory from which to run terraform. If not specified, the the root will be used. This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The URL of the Git repository. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // The name of the branch within the Git repository. BranchName *string `mandatory:"false" json:"branchName"` }
UpdateGitConfigSourceDetails Updates property details for the configuration git information.
func (UpdateGitConfigSourceDetails) GetWorkingDirectory ¶
func (m UpdateGitConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (UpdateGitConfigSourceDetails) MarshalJSON ¶
func (m UpdateGitConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateGitConfigSourceDetails) String ¶
func (m UpdateGitConfigSourceDetails) String() string
type UpdateGitlabAccessTokenConfigurationSourceProviderDetails ¶
type UpdateGitlabAccessTokenConfigurationSourceProviderDetails struct { // Human-readable name of the configuration source provider. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description of the configuration source provider. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // 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"` // The Git service API endpoint. // Example: `https://gitlab.com/api/v4/` ApiEndpoint *string `mandatory:"false" json:"apiEndpoint"` // The personal access token to be configured on the Git repository. AccessToken *string `mandatory:"false" json:"accessToken"` }
UpdateGitlabAccessTokenConfigurationSourceProviderDetails The details for updating a configuration source provider of the type `GITLAB_ACCESS_TOKEN`. This type corresponds to a configuration source provider in GitLab that is authenticated with a personal access token.
func (UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDefinedTags ¶
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDescription ¶
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
GetDescription returns Description
func (UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDisplayName ¶
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetFreeformTags ¶
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON ¶
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateGitlabAccessTokenConfigurationSourceProviderDetails) String ¶
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) String() string
type UpdateJobDetails ¶
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 ¶
func (m UpdateJobDetails) String() string
type UpdateJobRequest ¶
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 ¶
func (request UpdateJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateJobRequest) RetryPolicy ¶
func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateJobRequest) String ¶
func (request UpdateJobRequest) String() string
type UpdateJobResponse ¶
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 ¶
func (response UpdateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateJobResponse) String ¶
func (response UpdateJobResponse) String() string
type UpdateStackDetails ¶
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 250. // 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/iaas/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 ¶
func (m UpdateStackDetails) String() string
func (*UpdateStackDetails) UnmarshalJSON ¶
func (m *UpdateStackDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type UpdateStackRequest ¶
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 ¶
func (request UpdateStackRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateStackRequest) RetryPolicy ¶
func (request UpdateStackRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateStackRequest) String ¶
func (request UpdateStackRequest) String() string
type UpdateStackResponse ¶
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 ¶
func (response UpdateStackResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateStackResponse) String ¶
func (response UpdateStackResponse) String() string
type UpdateZipUploadConfigSourceDetails ¶
type UpdateZipUploadConfigSourceDetails struct { // The path of the directory from which to run terraform. If not specified, the the root will be used. This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` ZipFileBase64Encoded *string `mandatory:"false" json:"zipFileBase64Encoded"` }
UpdateZipUploadConfigSourceDetails Updates property details for the configuration .zip file.
func (UpdateZipUploadConfigSourceDetails) GetWorkingDirectory ¶
func (m UpdateZipUploadConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (UpdateZipUploadConfigSourceDetails) MarshalJSON ¶
func (m UpdateZipUploadConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateZipUploadConfigSourceDetails) String ¶
func (m UpdateZipUploadConfigSourceDetails) String() string
type WorkRequest ¶
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"` // The date and time when the work request was created. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time when the work request transitioned from ACCEPTED to IN_PROGRESS. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time when the work request reached a terminal state (FAILED or SUCCEEDED). // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest The status of a work request.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
type WorkRequestError ¶
type WorkRequestError struct { // A short error code that defines the error, meant for programmatic parsing. Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // The date and time when the error happened. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while executing a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // A human-readable log message. Message *string `mandatory:"true" json:"message"` // The date and time when the log message was written. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry A log message from the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
type WorkRequestOperationTypeEnum ¶
type WorkRequestOperationTypeEnum string
WorkRequestOperationTypeEnum Enum with underlying type: string
const ( WorkRequestOperationTypeChangeStackCompartment WorkRequestOperationTypeEnum = "CHANGE_STACK_COMPARTMENT" WorkRequestOperationTypeCreateStackFromCompartment WorkRequestOperationTypeEnum = "CREATE_STACK_FROM_COMPARTMENT" WorkRequestOperationTypeDriftDetection WorkRequestOperationTypeEnum = "DRIFT_DETECTION" )
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
func GetWorkRequestOperationTypeEnumValues ¶
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
type WorkRequestResource ¶
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 ¶
func (m WorkRequestResource) String() string
type WorkRequestResourceActionTypeEnum ¶
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 ¶
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum ¶
type WorkRequestStatusEnum string
WorkRequestStatusEnum Enum with underlying type: string
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" )
Set of constants representing the allowable values for WorkRequestStatusEnum
func GetWorkRequestStatusEnumValues ¶
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
type WorkRequestSummary ¶
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"` // The date and time when the work request was created. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time when the work request transitioned from ACCEPTED to IN_PROGRESS. // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time when the work request reached a terminal state (FAILED or SUCCEEDED). // Format is defined by RFC3339. // Example: `2020-01-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequestSummary A summary of the status of a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
type ZipUploadConfigSource ¶
type ZipUploadConfigSource struct { // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // This parameter is ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` }
ZipUploadConfigSource Metadata about the user-provided Terraform configuration.
func (ZipUploadConfigSource) GetWorkingDirectory ¶
func (m ZipUploadConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (ZipUploadConfigSource) MarshalJSON ¶
func (m ZipUploadConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ZipUploadConfigSource) String ¶
func (m ZipUploadConfigSource) String() string
type ZipUploadConfigSourceRecord ¶
type ZipUploadConfigSourceRecord struct { }
ZipUploadConfigSourceRecord Information about the user-provided file used for the Terraform configuration.
func (ZipUploadConfigSourceRecord) MarshalJSON ¶
func (m ZipUploadConfigSourceRecord) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ZipUploadConfigSourceRecord) String ¶
func (m ZipUploadConfigSourceRecord) String() string
Source Files ¶
- apply_job_operation_details.go
- apply_job_operation_details_summary.go
- apply_job_plan_resolution.go
- cancel_job_request_response.go
- change_configuration_source_provider_compartment_details.go
- change_configuration_source_provider_compartment_request_response.go
- change_stack_compartment_details.go
- change_stack_compartment_request_response.go
- compartment_config_source.go
- config_source.go
- config_source_record.go
- configuration_source_provider.go
- configuration_source_provider_collection.go
- configuration_source_provider_summary.go
- create_apply_job_operation_details.go
- create_compartment_config_source_details.go
- create_config_source_details.go
- create_configuration_source_provider_details.go
- create_configuration_source_provider_request_response.go
- create_destroy_job_operation_details.go
- create_git_config_source_details.go
- create_gitlab_access_token_configuration_source_provider_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_configuration_source_provider_request_response.go
- delete_stack_request_response.go
- destroy_job_operation_details.go
- destroy_job_operation_details_summary.go
- detect_stack_drift_request_response.go
- failure_details.go
- get_configuration_source_provider_request_response.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
- git_config_source.go
- git_config_source_record.go
- gitlab_access_token_configuration_source_provider.go
- gitlab_access_token_configuration_source_provider_summary.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_configuration_source_providers_request_response.go
- list_jobs_request_response.go
- list_resource_discovery_services_request_response.go
- list_stack_resource_drift_details_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
- resource_discovery_service_collection.go
- resource_discovery_service_summary.go
- resourcemanager_client.go
- stack.go
- stack_resource_drift_collection.go
- stack_resource_drift_summary.go
- stack_summary.go
- terraform_version_collection.go
- terraform_version_summary.go
- update_config_source_details.go
- update_configuration_source_provider_details.go
- update_configuration_source_provider_request_response.go
- update_git_config_source_details.go
- update_gitlab_access_token_configuration_source_provider_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
- zip_upload_config_source_record.go