ApplyJobOperationDetails Job details that are specific to apply operations.
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"` }
func (m ApplyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ApplyJobOperationDetails) String() string
ApplyJobOperationDetailsExecutionPlanStrategyEnum Enum with underlying type: string
type ApplyJobOperationDetailsExecutionPlanStrategyEnum string
Set of constants representing the allowable values for ApplyJobOperationDetailsExecutionPlanStrategyEnum
const ( ApplyJobOperationDetailsExecutionPlanStrategyFromPlanJobId ApplyJobOperationDetailsExecutionPlanStrategyEnum = "FROM_PLAN_JOB_ID" ApplyJobOperationDetailsExecutionPlanStrategyFromLatestPlanJob ApplyJobOperationDetailsExecutionPlanStrategyEnum = "FROM_LATEST_PLAN_JOB" ApplyJobOperationDetailsExecutionPlanStrategyAutoApproved ApplyJobOperationDetailsExecutionPlanStrategyEnum = "AUTO_APPROVED" )
func GetApplyJobOperationDetailsExecutionPlanStrategyEnumValues() []ApplyJobOperationDetailsExecutionPlanStrategyEnum
GetApplyJobOperationDetailsExecutionPlanStrategyEnumValues Enumerates the set of values for ApplyJobOperationDetailsExecutionPlanStrategyEnum
ApplyJobOperationDetailsSummary Job details that are specific to apply operations.
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"` }
func (m ApplyJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ApplyJobOperationDetailsSummary) String() string
ApplyJobPlanResolution Deprecated. Use the property `executionPlanStrategy` in `jobOperationDetails` instead.
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"` }
func (m ApplyJobPlanResolution) String() string
CancelJobRequest wrapper for the CancelJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CancelJob.go.html to see an example of how to use 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 }
func (request CancelJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelJobRequest) String() string
CancelJobResponse wrapper for the CancelJob operation
type CancelJobResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelJobResponse) String() string
ChangeConfigurationSourceProviderCompartmentDetails The details for moving a configuration source provider to a different compartment.
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"` }
func (m ChangeConfigurationSourceProviderCompartmentDetails) String() string
ChangeConfigurationSourceProviderCompartmentRequest wrapper for the ChangeConfigurationSourceProviderCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ChangeConfigurationSourceProviderCompartment.go.html to see an example of how to use 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 }
func (request ChangeConfigurationSourceProviderCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeConfigurationSourceProviderCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeConfigurationSourceProviderCompartmentRequest) String() string
ChangeConfigurationSourceProviderCompartmentResponse wrapper for the ChangeConfigurationSourceProviderCompartment operation
type ChangeConfigurationSourceProviderCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeConfigurationSourceProviderCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeConfigurationSourceProviderCompartmentResponse) String() string
ChangeStackCompartmentDetails Defines the requirements and properties of changeStackCompartment operation.
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"` }
func (m ChangeStackCompartmentDetails) String() string
ChangeStackCompartmentRequest wrapper for the ChangeStackCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ChangeStackCompartment.go.html to see an example of how to use 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 }
func (request ChangeStackCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeStackCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeStackCompartmentRequest) String() string
ChangeStackCompartmentResponse wrapper for the ChangeStackCompartment operation
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"` }
func (response ChangeStackCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeStackCompartmentResponse) String() string
ChangeTemplateCompartmentDetails The details for moving a template to a different compartment.
type ChangeTemplateCompartmentDetails 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"` }
func (m ChangeTemplateCompartmentDetails) String() string
ChangeTemplateCompartmentRequest wrapper for the ChangeTemplateCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ChangeTemplateCompartment.go.html to see an example of how to use ChangeTemplateCompartmentRequest.
type ChangeTemplateCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the template. TemplateId *string `mandatory:"true" contributesTo:"path" name:"templateId"` // The details for moving a template to a different compartment. ChangeTemplateCompartmentDetails `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 }
func (request ChangeTemplateCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeTemplateCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeTemplateCompartmentRequest) String() string
ChangeTemplateCompartmentResponse wrapper for the ChangeTemplateCompartment operation
type ChangeTemplateCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeTemplateCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeTemplateCompartmentResponse) String() string
CompartmentConfigSource Compartment to use for creating the stack. The new stack will include definitions for supported resource types in this compartment.
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"` }
func (m CompartmentConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CompartmentConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CompartmentConfigSource) String() string
ConfigSource Information about the Terraform configuration.
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 }
ConfigSourceConfigSourceTypeEnum Enum with underlying type: string
type ConfigSourceConfigSourceTypeEnum string
Set of constants representing the allowable values for ConfigSourceConfigSourceTypeEnum
const ( ConfigSourceConfigSourceTypeZipUpload ConfigSourceConfigSourceTypeEnum = "ZIP_UPLOAD" ConfigSourceConfigSourceTypeGitConfigSource ConfigSourceConfigSourceTypeEnum = "GIT_CONFIG_SOURCE" ConfigSourceConfigSourceTypeCompartmentConfigSource ConfigSourceConfigSourceTypeEnum = "COMPARTMENT_CONFIG_SOURCE" )
func GetConfigSourceConfigSourceTypeEnumValues() []ConfigSourceConfigSourceTypeEnum
GetConfigSourceConfigSourceTypeEnumValues Enumerates the set of values for ConfigSourceConfigSourceTypeEnum
ConfigSourceRecord Information about the Terraform configuration.
type ConfigSourceRecord interface { }
ConfigSourceRecordConfigSourceRecordTypeEnum Enum with underlying type: string
type ConfigSourceRecordConfigSourceRecordTypeEnum string
Set of constants representing the allowable values for ConfigSourceRecordConfigSourceRecordTypeEnum
const ( ConfigSourceRecordConfigSourceRecordTypeZipUpload ConfigSourceRecordConfigSourceRecordTypeEnum = "ZIP_UPLOAD" ConfigSourceRecordConfigSourceRecordTypeGitConfigSource ConfigSourceRecordConfigSourceRecordTypeEnum = "GIT_CONFIG_SOURCE" )
func GetConfigSourceRecordConfigSourceRecordTypeEnumValues() []ConfigSourceRecordConfigSourceRecordTypeEnum
GetConfigSourceRecordConfigSourceRecordTypeEnumValues Enumerates the set of values for ConfigSourceRecordConfigSourceRecordTypeEnum
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 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{} }
ConfigurationSourceProviderCollection Collection of configuration source providers.
type ConfigurationSourceProviderCollection struct { // Collection of configuration source providers. Items []ConfigurationSourceProviderSummary `mandatory:"false" json:"items"` }
func (m ConfigurationSourceProviderCollection) String() string
func (m *ConfigurationSourceProviderCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ConfigurationSourceProviderConfigSourceProviderTypeEnum Enum with underlying type: string
type ConfigurationSourceProviderConfigSourceProviderTypeEnum string
Set of constants representing the allowable values for ConfigurationSourceProviderConfigSourceProviderTypeEnum
const ( ConfigurationSourceProviderConfigSourceProviderTypeGitlabAccessToken ConfigurationSourceProviderConfigSourceProviderTypeEnum = "GITLAB_ACCESS_TOKEN" ConfigurationSourceProviderConfigSourceProviderTypeGithubAccessToken ConfigurationSourceProviderConfigSourceProviderTypeEnum = "GITHUB_ACCESS_TOKEN" )
func GetConfigurationSourceProviderConfigSourceProviderTypeEnumValues() []ConfigurationSourceProviderConfigSourceProviderTypeEnum
GetConfigurationSourceProviderConfigSourceProviderTypeEnumValues Enumerates the set of values for ConfigurationSourceProviderConfigSourceProviderTypeEnum
ConfigurationSourceProviderLifecycleStateEnum Enum with underlying type: string
type ConfigurationSourceProviderLifecycleStateEnum string
Set of constants representing the allowable values for ConfigurationSourceProviderLifecycleStateEnum
const ( ConfigurationSourceProviderLifecycleStateActive ConfigurationSourceProviderLifecycleStateEnum = "ACTIVE" )
func GetConfigurationSourceProviderLifecycleStateEnumValues() []ConfigurationSourceProviderLifecycleStateEnum
GetConfigurationSourceProviderLifecycleStateEnumValues Enumerates the set of values for ConfigurationSourceProviderLifecycleStateEnum
ConfigurationSourceProviderSummary Summary information for a configuration source provider.
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() 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{} }
CreateApplyJobOperationDetails Job details that are specific to apply operations.
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"` }
func (m CreateApplyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateApplyJobOperationDetails) String() string
CreateCompartmentConfigSourceDetails Property details for uploading the specified compartment as the configuration source.
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"` }
func (m CreateCompartmentConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CreateCompartmentConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateCompartmentConfigSourceDetails) String() string
CreateConfigSourceDetails Property details for the configuration source used for the stack.
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 }
CreateConfigurationSourceProviderDetails The details for creating a configuration source provider.
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{} }
CreateConfigurationSourceProviderRequest wrapper for the CreateConfigurationSourceProvider operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CreateConfigurationSourceProvider.go.html to see an example of how to use 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 }
func (request CreateConfigurationSourceProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateConfigurationSourceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateConfigurationSourceProviderRequest) String() string
CreateConfigurationSourceProviderResponse wrapper for the CreateConfigurationSourceProvider operation
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"` }
func (response CreateConfigurationSourceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateConfigurationSourceProviderResponse) String() string
CreateDestroyJobOperationDetails Job details that are specific to destroy operations.
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"` }
func (m CreateDestroyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDestroyJobOperationDetails) String() string
CreateGitConfigSourceDetails Details for uploading the configuration Git information.
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"` }
func (m CreateGitConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CreateGitConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGitConfigSourceDetails) String() string
CreateGithubAccessTokenConfigurationSourceProviderDetails The details for creating a configuration source provider of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a configuration source provider in GitHub that is authenticated with a personal access token.
type CreateGithubAccessTokenConfigurationSourceProviderDetails struct { // The GitHub service endpoint. // Example: `https://github.com/` ApiEndpoint *string `mandatory:"true" json:"apiEndpoint"` // The personal access token to be configured on the GitHub 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"` }
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) String() string
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.
type CreateGitlabAccessTokenConfigurationSourceProviderDetails struct { // The Git service endpoint. // Example: `https://gitlab.com` ApiEndpoint *string `mandatory:"true" json:"apiEndpoint"` // The personal access token to be configured on the GitLab 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"` }
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) String() string
CreateImportTfStateJobOperationDetails Job details that are specific to import Terraform state operations.
type CreateImportTfStateJobOperationDetails struct { // Base64-encoded state file TfStateBase64Encoded []byte `mandatory:"true" json:"tfStateBase64Encoded"` }
func (m CreateImportTfStateJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateImportTfStateJobOperationDetails) String() string
CreateJobDetails Defines the requirements and properties of a job to create and run against the specified stack.
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"` }
func (m CreateJobDetails) String() string
func (m *CreateJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateJobOperationDetails Job details that are specific to the operation type.
type CreateJobOperationDetails interface { }
CreateJobRequest wrapper for the CreateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CreateJob.go.html to see an example of how to use 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 }
func (request CreateJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobRequest) String() string
CreateJobResponse wrapper for the CreateJob operation
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"` }
func (response CreateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobResponse) String() string
CreatePlanJobOperationDetails Job details that are specific to plan operations.
type CreatePlanJobOperationDetails struct { }
func (m CreatePlanJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreatePlanJobOperationDetails) String() string
CreateStackDetails The configuration details for creating a stack.
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"` }
func (m CreateStackDetails) String() string
func (m *CreateStackDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateStackRequest wrapper for the CreateStack operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CreateStack.go.html to see an example of how to use 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 }
func (request CreateStackRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateStackRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateStackRequest) String() string
CreateStackResponse wrapper for the CreateStack operation
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"` }
func (response CreateStackResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateStackResponse) String() string
CreateStackTemplateConfigSourceDetails The template to use as the source of the Terraform configuration.
type CreateStackTemplateConfigSourceDetails struct { TemplateId *string `mandatory:"true" json:"templateId"` // 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"` }
func (m CreateStackTemplateConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CreateStackTemplateConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateStackTemplateConfigSourceDetails) String() string
CreateTemplateConfigSourceDetails Property details for the configuration source used for the template.
type CreateTemplateConfigSourceDetails interface { }
CreateTemplateDetails The configuration details for creating a template.
type CreateTemplateDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this template. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The template's display name. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // Description of the template. Avoid entering confidential information. Description *string `mandatory:"true" json:"description"` TemplateConfigSource CreateTemplateConfigSourceDetails `mandatory:"true" json:"templateConfigSource"` // Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information. LongDescription *string `mandatory:"false" json:"longDescription"` // Base64-encoded logo for the template. LogoFileBase64Encoded *string `mandatory:"false" json:"logoFileBase64Encoded"` // 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"` }
func (m CreateTemplateDetails) String() string
func (m *CreateTemplateDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateTemplateRequest wrapper for the CreateTemplate operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CreateTemplate.go.html to see an example of how to use CreateTemplateRequest.
type CreateTemplateRequest struct { // The configuration details for creating a template. CreateTemplateDetails `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"` // This is to enable limit/quota support through splat OciSplatGeneratedOcids *string `mandatory:"false" contributesTo:"header" name:"oci-splat-generated-ocids"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateTemplateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTemplateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTemplateRequest) String() string
CreateTemplateResponse wrapper for the CreateTemplate operation
type CreateTemplateResponse struct { // The underlying http response RawResponse *http.Response // The Template instance Template `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"` }
func (response CreateTemplateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTemplateResponse) String() string
CreateTemplateZipUploadConfigSourceDetails Property details for uploading the zip file for template.
type CreateTemplateZipUploadConfigSourceDetails struct { ZipFileBase64Encoded *string `mandatory:"true" json:"zipFileBase64Encoded"` }
func (m CreateTemplateZipUploadConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateTemplateZipUploadConfigSourceDetails) String() string
CreateZipUploadConfigSourceDetails Property details for uploading the configuration zip file.
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"` }
func (m CreateZipUploadConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CreateZipUploadConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateZipUploadConfigSourceDetails) String() string
DeleteConfigurationSourceProviderRequest wrapper for the DeleteConfigurationSourceProvider operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/DeleteConfigurationSourceProvider.go.html to see an example of how to use 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 }
func (request DeleteConfigurationSourceProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteConfigurationSourceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteConfigurationSourceProviderRequest) String() string
DeleteConfigurationSourceProviderResponse wrapper for the DeleteConfigurationSourceProvider operation
type DeleteConfigurationSourceProviderResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteConfigurationSourceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteConfigurationSourceProviderResponse) String() string
DeleteStackRequest wrapper for the DeleteStack operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/DeleteStack.go.html to see an example of how to use 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 }
func (request DeleteStackRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteStackRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteStackRequest) String() string
DeleteStackResponse wrapper for the DeleteStack operation
type DeleteStackResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteStackResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteStackResponse) String() string
DeleteTemplateRequest wrapper for the DeleteTemplate operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/DeleteTemplate.go.html to see an example of how to use DeleteTemplateRequest.
type DeleteTemplateRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the template. TemplateId *string `mandatory:"true" contributesTo:"path" name:"templateId"` // 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 }
func (request DeleteTemplateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTemplateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTemplateRequest) String() string
DeleteTemplateResponse wrapper for the DeleteTemplate operation
type DeleteTemplateResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteTemplateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTemplateResponse) String() string
DestroyJobOperationDetails Job details that are specific to destroy operations.
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"` }
func (m DestroyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DestroyJobOperationDetails) String() string
DestroyJobOperationDetailsExecutionPlanStrategyEnum Enum with underlying type: string
type DestroyJobOperationDetailsExecutionPlanStrategyEnum string
Set of constants representing the allowable values for DestroyJobOperationDetailsExecutionPlanStrategyEnum
const ( DestroyJobOperationDetailsExecutionPlanStrategyAutoApproved DestroyJobOperationDetailsExecutionPlanStrategyEnum = "AUTO_APPROVED" )
func GetDestroyJobOperationDetailsExecutionPlanStrategyEnumValues() []DestroyJobOperationDetailsExecutionPlanStrategyEnum
GetDestroyJobOperationDetailsExecutionPlanStrategyEnumValues Enumerates the set of values for DestroyJobOperationDetailsExecutionPlanStrategyEnum
DestroyJobOperationDetailsSummary Job details that are specific to destroy operations.
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"` }
func (m DestroyJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DestroyJobOperationDetailsSummary) String() string
DetectStackDriftDetails The details for detecting drift in a stack
type DetectStackDriftDetails struct { // The list of resources in the specified stack to detect drift for. Each resource is identified by a resource address, // which is a case-insensitive string derived from the resource type and name specified in the stack's Terraform configuration plus an optional index. // For example, the resource address for the fourth Compute instance with the name "test_instance" is oci_core_instance.test_instance3. // For more details and examples of resource addresses, see the Terraform documentation at Resource spec (https://www.terraform.io/docs/internals/resource-addressing.html#examples). ResourceAddresses []string `mandatory:"false" json:"resourceAddresses"` }
func (m DetectStackDriftDetails) String() string
DetectStackDriftRequest wrapper for the DetectStackDrift operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/DetectStackDrift.go.html to see an example of how to use 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"` // The details for detecting drift in a stack DetectStackDriftDetails `contributesTo:"body"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DetectStackDriftRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DetectStackDriftRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DetectStackDriftRequest) String() string
DetectStackDriftResponse wrapper for the DetectStackDrift operation
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"` }
func (response DetectStackDriftResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DetectStackDriftResponse) String() string
FailureDetails The representation of FailureDetails
type FailureDetails struct { // Job failure reason. Code FailureDetailsCodeEnum `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` }
func (m FailureDetails) String() string
FailureDetailsCodeEnum Enum with underlying type: string
type FailureDetailsCodeEnum string
Set of constants representing the allowable values for FailureDetailsCodeEnum
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" )
func GetFailureDetailsCodeEnumValues() []FailureDetailsCodeEnum
GetFailureDetailsCodeEnumValues Enumerates the set of values for FailureDetailsCodeEnum
GetConfigurationSourceProviderRequest wrapper for the GetConfigurationSourceProvider operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetConfigurationSourceProvider.go.html to see an example of how to use 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 }
func (request GetConfigurationSourceProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConfigurationSourceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConfigurationSourceProviderRequest) String() string
GetConfigurationSourceProviderResponse wrapper for the GetConfigurationSourceProvider operation
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"` }
func (response GetConfigurationSourceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConfigurationSourceProviderResponse) String() string
GetJobLogsContentRequest wrapper for the GetJobLogsContent operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJobLogsContent.go.html to see an example of how to use 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 }
func (request GetJobLogsContentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobLogsContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobLogsContentRequest) String() string
GetJobLogsContentResponse wrapper for the GetJobLogsContent operation
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"` }
func (response GetJobLogsContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobLogsContentResponse) String() string
GetJobLogsRequest wrapper for the GetJobLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJobLogs.go.html to see an example of how to use 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 }
func (request GetJobLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobLogsRequest) String() string
GetJobLogsResponse wrapper for the GetJobLogs operation
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"` }
func (response GetJobLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobLogsResponse) String() string
GetJobLogsSortOrderEnum Enum with underlying type: string
type GetJobLogsSortOrderEnum string
Set of constants representing the allowable values for GetJobLogsSortOrderEnum
const ( GetJobLogsSortOrderAsc GetJobLogsSortOrderEnum = "ASC" GetJobLogsSortOrderDesc GetJobLogsSortOrderEnum = "DESC" )
func GetGetJobLogsSortOrderEnumValues() []GetJobLogsSortOrderEnum
GetGetJobLogsSortOrderEnumValues Enumerates the set of values for GetJobLogsSortOrderEnum
GetJobRequest wrapper for the GetJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJob.go.html to see an example of how to use 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 }
func (request GetJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRequest) String() string
GetJobResponse wrapper for the GetJob operation
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"` }
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobResponse) String() string
GetJobTfConfigRequest wrapper for the GetJobTfConfig operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJobTfConfig.go.html to see an example of how to use 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 }
func (request GetJobTfConfigRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobTfConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobTfConfigRequest) String() string
GetJobTfConfigResponse wrapper for the GetJobTfConfig operation
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"` }
func (response GetJobTfConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobTfConfigResponse) String() string
GetJobTfStateRequest wrapper for the GetJobTfState operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJobTfState.go.html to see an example of how to use 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 }
func (request GetJobTfStateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobTfStateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobTfStateRequest) String() string
GetJobTfStateResponse wrapper for the GetJobTfState operation
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"` }
func (response GetJobTfStateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobTfStateResponse) String() string
GetStackRequest wrapper for the GetStack operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetStack.go.html to see an example of how to use 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 }
func (request GetStackRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetStackRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetStackRequest) String() string
GetStackResponse wrapper for the GetStack operation
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"` }
func (response GetStackResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetStackResponse) String() string
GetStackTfConfigRequest wrapper for the GetStackTfConfig operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetStackTfConfig.go.html to see an example of how to use 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 }
func (request GetStackTfConfigRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetStackTfConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetStackTfConfigRequest) String() string
GetStackTfConfigResponse wrapper for the GetStackTfConfig operation
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"` }
func (response GetStackTfConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetStackTfConfigResponse) String() string
GetStackTfStateRequest wrapper for the GetStackTfState operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetStackTfState.go.html to see an example of how to use 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 }
func (request GetStackTfStateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetStackTfStateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetStackTfStateRequest) String() string
GetStackTfStateResponse wrapper for the GetStackTfState operation
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"` }
func (response GetStackTfStateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetStackTfStateResponse) String() string
GetTemplateLogoRequest wrapper for the GetTemplateLogo operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetTemplateLogo.go.html to see an example of how to use GetTemplateLogoRequest.
type GetTemplateLogoRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the template. TemplateId *string `mandatory:"true" contributesTo:"path" name:"templateId"` // 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 }
func (request GetTemplateLogoRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTemplateLogoRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTemplateLogoRequest) String() string
GetTemplateLogoResponse wrapper for the GetTemplateLogo operation
type GetTemplateLogoResponse 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"` }
func (response GetTemplateLogoResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTemplateLogoResponse) String() string
GetTemplateRequest wrapper for the GetTemplate operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetTemplate.go.html to see an example of how to use GetTemplateRequest.
type GetTemplateRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the template. TemplateId *string `mandatory:"true" contributesTo:"path" name:"templateId"` // 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 }
func (request GetTemplateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTemplateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTemplateRequest) String() string
GetTemplateResponse wrapper for the GetTemplate operation
type GetTemplateResponse struct { // The underlying http response RawResponse *http.Response // The Template instance Template `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"` }
func (response GetTemplateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTemplateResponse) String() string
GetTemplateTfConfigRequest wrapper for the GetTemplateTfConfig operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetTemplateTfConfig.go.html to see an example of how to use GetTemplateTfConfigRequest.
type GetTemplateTfConfigRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the template. TemplateId *string `mandatory:"true" contributesTo:"path" name:"templateId"` // 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 }
func (request GetTemplateTfConfigRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTemplateTfConfigRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTemplateTfConfigRequest) String() string
GetTemplateTfConfigResponse wrapper for the GetTemplateTfConfig operation
type GetTemplateTfConfigResponse 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"` }
func (response GetTemplateTfConfigResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTemplateTfConfigResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetWorkRequest.go.html to see an example of how to use 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 }
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
GitConfigSource Metadata about the Git configuration source.
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"` }
func (m GitConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m GitConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitConfigSource) String() string
GitConfigSourceRecord Metadata about the Git configuration source.
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"` }
func (m GitConfigSourceRecord) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitConfigSourceRecord) String() string
GithubAccessTokenConfigurationSourceProvider The properties that define a configuration source provider of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a configuration source provider in GitHub that is authenticated with a personal access token.
type GithubAccessTokenConfigurationSourceProvider 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 GitHub service endpoint. // Example: `https://github.com/` 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"` }
func (m GithubAccessTokenConfigurationSourceProvider) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GithubAccessTokenConfigurationSourceProvider) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GithubAccessTokenConfigurationSourceProvider) GetDescription() *string
GetDescription returns Description
func (m GithubAccessTokenConfigurationSourceProvider) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GithubAccessTokenConfigurationSourceProvider) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GithubAccessTokenConfigurationSourceProvider) GetId() *string
GetId returns Id
func (m GithubAccessTokenConfigurationSourceProvider) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GithubAccessTokenConfigurationSourceProvider) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GithubAccessTokenConfigurationSourceProvider) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubAccessTokenConfigurationSourceProvider) String() string
GithubAccessTokenConfigurationSourceProviderSummary Summary information for a configuration source provider of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a configuration source provider in GitHub that is authenticated with a personal access token.
type GithubAccessTokenConfigurationSourceProviderSummary 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 GitHub service endpoint. // Example: `https://github.com/` 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"` }
func (m GithubAccessTokenConfigurationSourceProviderSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GithubAccessTokenConfigurationSourceProviderSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GithubAccessTokenConfigurationSourceProviderSummary) GetDescription() *string
GetDescription returns Description
func (m GithubAccessTokenConfigurationSourceProviderSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GithubAccessTokenConfigurationSourceProviderSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GithubAccessTokenConfigurationSourceProviderSummary) GetId() *string
GetId returns Id
func (m GithubAccessTokenConfigurationSourceProviderSummary) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GithubAccessTokenConfigurationSourceProviderSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GithubAccessTokenConfigurationSourceProviderSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubAccessTokenConfigurationSourceProviderSummary) String() string
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.
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 endpoint. // Example: `https://gitlab.com` 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"` }
func (m GitlabAccessTokenConfigurationSourceProvider) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabAccessTokenConfigurationSourceProvider) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabAccessTokenConfigurationSourceProvider) GetDescription() *string
GetDescription returns Description
func (m GitlabAccessTokenConfigurationSourceProvider) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabAccessTokenConfigurationSourceProvider) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabAccessTokenConfigurationSourceProvider) GetId() *string
GetId returns Id
func (m GitlabAccessTokenConfigurationSourceProvider) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabAccessTokenConfigurationSourceProvider) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabAccessTokenConfigurationSourceProvider) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabAccessTokenConfigurationSourceProvider) String() string
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.
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 endpoint. // Example: `https://gitlab.com` 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"` }
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDescription() *string
GetDescription returns Description
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetId() *string
GetId returns Id
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabAccessTokenConfigurationSourceProviderSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabAccessTokenConfigurationSourceProviderSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabAccessTokenConfigurationSourceProviderSummary) String() string
ImportTfStateJobOperationDetails Job details that are specific to import Terraform state operations.
type ImportTfStateJobOperationDetails struct { }
func (m ImportTfStateJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ImportTfStateJobOperationDetails) String() string
ImportTfStateJobOperationDetailsSummary Job details that are specific to import Terraform state operations.
type ImportTfStateJobOperationDetailsSummary struct { }
func (m ImportTfStateJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ImportTfStateJobOperationDetailsSummary) String() string
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.
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"` }
func (m Job) String() string
func (m *Job) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
JobLifecycleStateEnum Enum with underlying type: string
type JobLifecycleStateEnum string
Set of constants representing the allowable values for JobLifecycleStateEnum
const ( JobLifecycleStateAccepted JobLifecycleStateEnum = "ACCEPTED" JobLifecycleStateInProgress JobLifecycleStateEnum = "IN_PROGRESS" JobLifecycleStateFailed JobLifecycleStateEnum = "FAILED" JobLifecycleStateSucceeded JobLifecycleStateEnum = "SUCCEEDED" JobLifecycleStateCanceling JobLifecycleStateEnum = "CANCELING" JobLifecycleStateCanceled JobLifecycleStateEnum = "CANCELED" )
func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum
GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum
JobOperationDetails Job details that are specific to the operation type.
type JobOperationDetails interface { }
JobOperationDetailsSummary Job details that are specific to the operation type.
type JobOperationDetailsSummary interface { }
JobOperationEnum Enum with underlying type: string
type JobOperationEnum string
Set of constants representing the allowable values for JobOperationEnum
const ( JobOperationPlan JobOperationEnum = "PLAN" JobOperationApply JobOperationEnum = "APPLY" JobOperationDestroy JobOperationEnum = "DESTROY" JobOperationImportTfState JobOperationEnum = "IMPORT_TF_STATE" )
func GetJobOperationEnumValues() []JobOperationEnum
GetJobOperationEnumValues Enumerates the set of values for JobOperationEnum
JobSummary Returns a listing of all of the specified job's properties and their values.
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"` }
func (m JobSummary) String() string
func (m *JobSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ListConfigurationSourceProvidersRequest wrapper for the ListConfigurationSourceProviders operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListConfigurationSourceProviders.go.html to see an example of how to use 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"` // A filter to return only configuration source providers of the specified type (GitHub or GitLab). ConfigSourceProviderType *string `mandatory:"false" contributesTo:"query" name:"configSourceProviderType"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListConfigurationSourceProvidersRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListConfigurationSourceProvidersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListConfigurationSourceProvidersRequest) String() string
ListConfigurationSourceProvidersResponse wrapper for the ListConfigurationSourceProviders operation
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"` }
func (response ListConfigurationSourceProvidersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListConfigurationSourceProvidersResponse) String() string
ListConfigurationSourceProvidersSortByEnum Enum with underlying type: string
type ListConfigurationSourceProvidersSortByEnum string
Set of constants representing the allowable values for ListConfigurationSourceProvidersSortByEnum
const ( ListConfigurationSourceProvidersSortByTimecreated ListConfigurationSourceProvidersSortByEnum = "TIMECREATED" ListConfigurationSourceProvidersSortByDisplayname ListConfigurationSourceProvidersSortByEnum = "DISPLAYNAME" )
func GetListConfigurationSourceProvidersSortByEnumValues() []ListConfigurationSourceProvidersSortByEnum
GetListConfigurationSourceProvidersSortByEnumValues Enumerates the set of values for ListConfigurationSourceProvidersSortByEnum
ListConfigurationSourceProvidersSortOrderEnum Enum with underlying type: string
type ListConfigurationSourceProvidersSortOrderEnum string
Set of constants representing the allowable values for ListConfigurationSourceProvidersSortOrderEnum
const ( ListConfigurationSourceProvidersSortOrderAsc ListConfigurationSourceProvidersSortOrderEnum = "ASC" ListConfigurationSourceProvidersSortOrderDesc ListConfigurationSourceProvidersSortOrderEnum = "DESC" )
func GetListConfigurationSourceProvidersSortOrderEnumValues() []ListConfigurationSourceProvidersSortOrderEnum
GetListConfigurationSourceProvidersSortOrderEnumValues Enumerates the set of values for ListConfigurationSourceProvidersSortOrderEnum
ListJobsRequest wrapper for the ListJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListJobs.go.html to see an example of how to use 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 }
func (request ListJobsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobsRequest) String() string
ListJobsResponse wrapper for the ListJobs operation
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"` }
func (response ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobsResponse) String() string
ListJobsSortByEnum Enum with underlying type: string
type ListJobsSortByEnum string
Set of constants representing the allowable values for ListJobsSortByEnum
const ( ListJobsSortByTimecreated ListJobsSortByEnum = "TIMECREATED" ListJobsSortByDisplayname ListJobsSortByEnum = "DISPLAYNAME" )
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
ListJobsSortOrderEnum Enum with underlying type: string
type ListJobsSortOrderEnum string
Set of constants representing the allowable values for ListJobsSortOrderEnum
const ( ListJobsSortOrderAsc ListJobsSortOrderEnum = "ASC" ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC" )
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
ListResourceDiscoveryServicesRequest wrapper for the ListResourceDiscoveryServices operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListResourceDiscoveryServices.go.html to see an example of how to use 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 }
func (request ListResourceDiscoveryServicesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResourceDiscoveryServicesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResourceDiscoveryServicesRequest) String() string
ListResourceDiscoveryServicesResponse wrapper for the ListResourceDiscoveryServices operation
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"` }
func (response ListResourceDiscoveryServicesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResourceDiscoveryServicesResponse) String() string
ListStackResourceDriftDetailsRequest wrapper for the ListStackResourceDriftDetails operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListStackResourceDriftDetails.go.html to see an example of how to use 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"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // 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 }
func (request ListStackResourceDriftDetailsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListStackResourceDriftDetailsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListStackResourceDriftDetailsRequest) String() string
ListStackResourceDriftDetailsResponse wrapper for the ListStackResourceDriftDetails operation
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"` }
func (response ListStackResourceDriftDetailsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListStackResourceDriftDetailsResponse) String() string
ListStacksRequest wrapper for the ListStacks operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListStacks.go.html to see an example of how to use 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 }
func (request ListStacksRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListStacksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListStacksRequest) String() string
ListStacksResponse wrapper for the ListStacks operation
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"` }
func (response ListStacksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListStacksResponse) String() string
ListStacksSortByEnum Enum with underlying type: string
type ListStacksSortByEnum string
Set of constants representing the allowable values for ListStacksSortByEnum
const ( ListStacksSortByTimecreated ListStacksSortByEnum = "TIMECREATED" ListStacksSortByDisplayname ListStacksSortByEnum = "DISPLAYNAME" )
func GetListStacksSortByEnumValues() []ListStacksSortByEnum
GetListStacksSortByEnumValues Enumerates the set of values for ListStacksSortByEnum
ListStacksSortOrderEnum Enum with underlying type: string
type ListStacksSortOrderEnum string
Set of constants representing the allowable values for ListStacksSortOrderEnum
const ( ListStacksSortOrderAsc ListStacksSortOrderEnum = "ASC" ListStacksSortOrderDesc ListStacksSortOrderEnum = "DESC" )
func GetListStacksSortOrderEnumValues() []ListStacksSortOrderEnum
GetListStacksSortOrderEnumValues Enumerates the set of values for ListStacksSortOrderEnum
ListTemplateCategoriesRequest wrapper for the ListTemplateCategories operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListTemplateCategories.go.html to see an example of how to use ListTemplateCategoriesRequest.
type ListTemplateCategoriesRequest 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListTemplateCategoriesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTemplateCategoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTemplateCategoriesRequest) String() string
ListTemplateCategoriesResponse wrapper for the ListTemplateCategories operation
type ListTemplateCategoriesResponse struct { // The underlying http response RawResponse *http.Response // The TemplateCategorySummaryCollection instance TemplateCategorySummaryCollection `presentIn:"body"` // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListTemplateCategoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTemplateCategoriesResponse) String() string
ListTemplatesRequest wrapper for the ListTemplates operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListTemplates.go.html to see an example of how to use ListTemplatesRequest.
type ListTemplatesRequest 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"` // Unique identifier of the template category. TemplateCategoryId *string `mandatory:"false" contributesTo:"query" name:"templateCategoryId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the template. TemplateId *string `mandatory:"false" contributesTo:"query" name:"templateId"` // 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 ListTemplatesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use when sorting returned resources. Ascending (`ASC`) or descending (`DESC`). SortOrder ListTemplatesSortOrderEnum `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 }
func (request ListTemplatesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTemplatesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTemplatesRequest) String() string
ListTemplatesResponse wrapper for the ListTemplates operation
type ListTemplatesResponse struct { // The underlying http response RawResponse *http.Response // A list of TemplateSummaryCollection instances TemplateSummaryCollection `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"` }
func (response ListTemplatesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTemplatesResponse) String() string
ListTemplatesSortByEnum Enum with underlying type: string
type ListTemplatesSortByEnum string
Set of constants representing the allowable values for ListTemplatesSortByEnum
const ( ListTemplatesSortByTimecreated ListTemplatesSortByEnum = "TIMECREATED" ListTemplatesSortByDisplayname ListTemplatesSortByEnum = "DISPLAYNAME" )
func GetListTemplatesSortByEnumValues() []ListTemplatesSortByEnum
GetListTemplatesSortByEnumValues Enumerates the set of values for ListTemplatesSortByEnum
ListTemplatesSortOrderEnum Enum with underlying type: string
type ListTemplatesSortOrderEnum string
Set of constants representing the allowable values for ListTemplatesSortOrderEnum
const ( ListTemplatesSortOrderAsc ListTemplatesSortOrderEnum = "ASC" ListTemplatesSortOrderDesc ListTemplatesSortOrderEnum = "DESC" )
func GetListTemplatesSortOrderEnumValues() []ListTemplatesSortOrderEnum
GetListTemplatesSortOrderEnumValues Enumerates the set of values for ListTemplatesSortOrderEnum
ListTerraformVersionsRequest wrapper for the ListTerraformVersions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListTerraformVersions.go.html to see an example of how to use 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 }
func (request ListTerraformVersionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTerraformVersionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTerraformVersionsRequest) String() string
ListTerraformVersionsResponse wrapper for the ListTerraformVersions operation
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"` }
func (response ListTerraformVersionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTerraformVersionsResponse) String() string
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListWorkRequestErrors.go.html to see an example of how to use 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 }
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []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"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListWorkRequestLogs.go.html to see an example of how to use 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 }
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []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"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListWorkRequests.go.html to see an example of how to use 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 }
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []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"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
LogEntry Log entry for an operation resulting from a job's execution.
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"` }
func (m LogEntry) String() string
LogEntryLevelEnum Enum with underlying type: string
type LogEntryLevelEnum string
Set of constants representing the allowable values for LogEntryLevelEnum
const ( LogEntryLevelTrace LogEntryLevelEnum = "TRACE" LogEntryLevelDebug LogEntryLevelEnum = "DEBUG" LogEntryLevelInfo LogEntryLevelEnum = "INFO" LogEntryLevelWarn LogEntryLevelEnum = "WARN" LogEntryLevelError LogEntryLevelEnum = "ERROR" LogEntryLevelFatal LogEntryLevelEnum = "FATAL" )
func GetLogEntryLevelEnumValues() []LogEntryLevelEnum
GetLogEntryLevelEnumValues Enumerates the set of values for LogEntryLevelEnum
LogEntryTypeEnum Enum with underlying type: string
type LogEntryTypeEnum string
Set of constants representing the allowable values for LogEntryTypeEnum
const ( LogEntryTypeTerraformConsole LogEntryTypeEnum = "TERRAFORM_CONSOLE" )
func GetLogEntryTypeEnumValues() []LogEntryTypeEnum
GetLogEntryTypeEnumValues Enumerates the set of values for LogEntryTypeEnum
PlanJobOperationDetails Job details that are specific to plan operations.
type PlanJobOperationDetails struct { }
func (m PlanJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PlanJobOperationDetails) String() string
PlanJobOperationDetailsSummary Job details that are specific to plan operations.
type PlanJobOperationDetailsSummary struct { }
func (m PlanJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PlanJobOperationDetailsSummary) String() string
ResourceDiscoveryServiceCollection The list of services supported for use with Resource Discovery (https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services).
type ResourceDiscoveryServiceCollection struct { // Collection of supported services for Resource Discovery. Items []ResourceDiscoveryServiceSummary `mandatory:"true" json:"items"` }
func (m ResourceDiscoveryServiceCollection) String() string
ResourceDiscoveryServiceSummary A service supported for use with Resource Discovery.
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"` }
func (m ResourceDiscoveryServiceSummary) String() string
ResourceDiscoveryServiceSummaryDiscoveryScopeEnum Enum with underlying type: string
type ResourceDiscoveryServiceSummaryDiscoveryScopeEnum string
Set of constants representing the allowable values for ResourceDiscoveryServiceSummaryDiscoveryScopeEnum
const ( ResourceDiscoveryServiceSummaryDiscoveryScopeTenancy ResourceDiscoveryServiceSummaryDiscoveryScopeEnum = "TENANCY" ResourceDiscoveryServiceSummaryDiscoveryScopeCompartment ResourceDiscoveryServiceSummaryDiscoveryScopeEnum = "COMPARTMENT" )
func GetResourceDiscoveryServiceSummaryDiscoveryScopeEnumValues() []ResourceDiscoveryServiceSummaryDiscoveryScopeEnum
GetResourceDiscoveryServiceSummaryDiscoveryScopeEnumValues Enumerates the set of values for ResourceDiscoveryServiceSummaryDiscoveryScopeEnum
ResourceManagerClient a client for ResourceManager
type ResourceManagerClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CancelJob.go.html to see an example of how to use CancelJob API.
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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ChangeConfigurationSourceProviderCompartment.go.html to see an example of how to use ChangeConfigurationSourceProviderCompartment API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ChangeStackCompartment.go.html to see an example of how to use ChangeStackCompartment API.
func (client ResourceManagerClient) ChangeTemplateCompartment(ctx context.Context, request ChangeTemplateCompartmentRequest) (response ChangeTemplateCompartmentResponse, err error)
ChangeTemplateCompartment Moves a template 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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ChangeTemplateCompartment.go.html to see an example of how to use ChangeTemplateCompartment API.
func (client *ResourceManagerClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CreateConfigurationSourceProvider.go.html to see an example of how to use CreateConfigurationSourceProvider API.
func (client ResourceManagerClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
CreateJob Creates a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CreateJob.go.html to see an example of how to use CreateJob API.
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. The Terraform configuration 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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CreateStack.go.html to see an example of how to use CreateStack API.
func (client ResourceManagerClient) CreateTemplate(ctx context.Context, request CreateTemplateRequest) (response CreateTemplateResponse, err error)
CreateTemplate Creates a custom template in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/CreateTemplate.go.html to see an example of how to use CreateTemplate API.
func (client ResourceManagerClient) DeleteConfigurationSourceProvider(ctx context.Context, request DeleteConfigurationSourceProviderRequest) (response DeleteConfigurationSourceProviderResponse, err error)
DeleteConfigurationSourceProvider Deletes the specified configuration source provider.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/DeleteConfigurationSourceProvider.go.html to see an example of how to use DeleteConfigurationSourceProvider API.
func (client ResourceManagerClient) DeleteStack(ctx context.Context, request DeleteStackRequest) (response DeleteStackResponse, err error)
DeleteStack Deletes the specified stack object.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/DeleteStack.go.html to see an example of how to use DeleteStack API.
func (client ResourceManagerClient) DeleteTemplate(ctx context.Context, request DeleteTemplateRequest) (response DeleteTemplateResponse, err error)
DeleteTemplate Deletes the specified template.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/DeleteTemplate.go.html to see an example of how to use DeleteTemplate API.
func (client ResourceManagerClient) DetectStackDrift(ctx context.Context, request DetectStackDriftRequest) (response DetectStackDriftResponse, err error)
DetectStackDrift Checks drift status for the specified stack.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/DetectStackDrift.go.html to see an example of how to use DetectStackDrift API.
func (client ResourceManagerClient) GetConfigurationSourceProvider(ctx context.Context, request GetConfigurationSourceProviderRequest) (response GetConfigurationSourceProviderResponse, err error)
GetConfigurationSourceProvider Gets the properties of the specified configuration source provider.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetConfigurationSourceProvider.go.html to see an example of how to use GetConfigurationSourceProvider API.
func (client ResourceManagerClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
GetJob Returns the specified job along with the job details.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJob.go.html to see an example of how to use GetJob API.
func (client ResourceManagerClient) GetJobLogs(ctx context.Context, request GetJobLogsRequest) (response GetJobLogsResponse, err error)
GetJobLogs Returns log entries for the specified job in JSON format.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJobLogs.go.html to see an example of how to use GetJobLogs API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJobLogsContent.go.html to see an example of how to use GetJobLogsContent API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJobTfConfig.go.html to see an example of how to use GetJobTfConfig API.
func (client ResourceManagerClient) GetJobTfState(ctx context.Context, request GetJobTfStateRequest) (response GetJobTfStateResponse, err error)
GetJobTfState Returns the Terraform state for the specified job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetJobTfState.go.html to see an example of how to use GetJobTfState API.
func (client ResourceManagerClient) GetStack(ctx context.Context, request GetStackRequest) (response GetStackResponse, err error)
GetStack Gets a stack using the stack ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetStack.go.html to see an example of how to use GetStack API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetStackTfConfig.go.html to see an example of how to use GetStackTfConfig API.
func (client ResourceManagerClient) GetStackTfState(ctx context.Context, request GetStackTfStateRequest) (response GetStackTfStateResponse, err error)
GetStackTfState Returns the Terraform state for the specified stack.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetStackTfState.go.html to see an example of how to use GetStackTfState API.
func (client ResourceManagerClient) GetTemplate(ctx context.Context, request GetTemplateRequest) (response GetTemplateResponse, err error)
GetTemplate Gets the specified template.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetTemplate.go.html to see an example of how to use GetTemplate API.
func (client ResourceManagerClient) GetTemplateLogo(ctx context.Context, request GetTemplateLogoRequest) (response GetTemplateLogoResponse, err error)
GetTemplateLogo Returns the Terraform logo file in .logo format for the specified template. Returns an error if no logo file is found.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetTemplateLogo.go.html to see an example of how to use GetTemplateLogo API.
func (client ResourceManagerClient) GetTemplateTfConfig(ctx context.Context, request GetTemplateTfConfigRequest) (response GetTemplateTfConfigResponse, err error)
GetTemplateTfConfig Returns the Terraform configuration file in .zip format for the specified template. Returns an error if no zip file is found.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetTemplateTfConfig.go.html to see an example of how to use GetTemplateTfConfig API.
func (client ResourceManagerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Return the given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListConfigurationSourceProviders.go.html to see an example of how to use ListConfigurationSourceProviders API.
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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListJobs.go.html to see an example of how to use ListJobs API.
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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListResourceDiscoveryServices.go.html to see an example of how to use ListResourceDiscoveryServices API.
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. The drift status details correspond to the specified work request (`workRequestId`). If no work request is specified, then the drift status details correspond to the latest completed work request for the stack.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListStackResourceDriftDetails.go.html to see an example of how to use ListStackResourceDriftDetails API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListStacks.go.html to see an example of how to use ListStacks API.
func (client ResourceManagerClient) ListTemplateCategories(ctx context.Context, request ListTemplateCategoriesRequest) (response ListTemplateCategoriesResponse, err error)
ListTemplateCategories Lists template categories.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListTemplateCategories.go.html to see an example of how to use ListTemplateCategories API.
func (client ResourceManagerClient) ListTemplates(ctx context.Context, request ListTemplatesRequest) (response ListTemplatesResponse, err error)
ListTemplates Lists templates according to the specified filter.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListTemplates.go.html to see an example of how to use ListTemplates API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListTerraformVersions.go.html to see an example of how to use ListTerraformVersions API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *ResourceManagerClient) SetRegion(region string)
SetRegion overrides the region of this client.
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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/UpdateConfigurationSourceProvider.go.html to see an example of how to use UpdateConfigurationSourceProvider API.
func (client ResourceManagerClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
UpdateJob Updates the specified job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/UpdateJob.go.html to see an example of how to use UpdateJob API.
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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/UpdateStack.go.html to see an example of how to use UpdateStack API.
func (client ResourceManagerClient) UpdateTemplate(ctx context.Context, request UpdateTemplateRequest) (response UpdateTemplateResponse, err error)
UpdateTemplate Updates the specified template.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/UpdateTemplate.go.html to see an example of how to use UpdateTemplate API.
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.
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"` }
func (m Stack) String() string
func (m *Stack) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
StackLifecycleStateEnum Enum with underlying type: string
type StackLifecycleStateEnum string
Set of constants representing the allowable values for StackLifecycleStateEnum
const ( StackLifecycleStateCreating StackLifecycleStateEnum = "CREATING" StackLifecycleStateActive StackLifecycleStateEnum = "ACTIVE" StackLifecycleStateDeleting StackLifecycleStateEnum = "DELETING" StackLifecycleStateDeleted StackLifecycleStateEnum = "DELETED" StackLifecycleStateFailed StackLifecycleStateEnum = "FAILED" )
func GetStackLifecycleStateEnumValues() []StackLifecycleStateEnum
GetStackLifecycleStateEnumValues Enumerates the set of values for StackLifecycleStateEnum
StackResourceDriftCollection Drift status details for resources in the stack.
type StackResourceDriftCollection struct { // Collection of drift status details for all resources defined in the stack. Items []StackResourceDriftSummary `mandatory:"true" json:"items"` }
func (m StackResourceDriftCollection) String() string
StackResourceDriftSummary Drift status details for the indicated resource and stack. Includes actual and expected (defined) properties.
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"` }
func (m StackResourceDriftSummary) String() string
StackResourceDriftSummaryResourceDriftStatusEnum Enum with underlying type: string
type StackResourceDriftSummaryResourceDriftStatusEnum string
Set of constants representing the allowable values for StackResourceDriftSummaryResourceDriftStatusEnum
const ( StackResourceDriftSummaryResourceDriftStatusNotChecked StackResourceDriftSummaryResourceDriftStatusEnum = "NOT_CHECKED" StackResourceDriftSummaryResourceDriftStatusInSync StackResourceDriftSummaryResourceDriftStatusEnum = "IN_SYNC" StackResourceDriftSummaryResourceDriftStatusModified StackResourceDriftSummaryResourceDriftStatusEnum = "MODIFIED" StackResourceDriftSummaryResourceDriftStatusDeleted StackResourceDriftSummaryResourceDriftStatusEnum = "DELETED" )
func GetStackResourceDriftSummaryResourceDriftStatusEnumValues() []StackResourceDriftSummaryResourceDriftStatusEnum
GetStackResourceDriftSummaryResourceDriftStatusEnumValues Enumerates the set of values for StackResourceDriftSummaryResourceDriftStatusEnum
StackStackDriftStatusEnum Enum with underlying type: string
type StackStackDriftStatusEnum string
Set of constants representing the allowable values for StackStackDriftStatusEnum
const ( StackStackDriftStatusNotChecked StackStackDriftStatusEnum = "NOT_CHECKED" StackStackDriftStatusInSync StackStackDriftStatusEnum = "IN_SYNC" StackStackDriftStatusDrifted StackStackDriftStatusEnum = "DRIFTED" )
func GetStackStackDriftStatusEnumValues() []StackStackDriftStatusEnum
GetStackStackDriftStatusEnumValues Enumerates the set of values for StackStackDriftStatusEnum
StackSummary Returns a list of properties and the defining property values for the specified stack.
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"` }
func (m StackSummary) String() string
Template The properties that define a template. A template is a pre-built Terraform configuration that provisions a set of resources used in a common scenario.
type Template struct { // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) for the template. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this template. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Unique identifier for the category where the template is located. CategoryId *string `mandatory:"false" json:"categoryId"` // Human-readable name of the template. DisplayName *string `mandatory:"false" json:"displayName"` // Brief description of the template. Description *string `mandatory:"false" json:"description"` // Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information. LongDescription *string `mandatory:"false" json:"longDescription"` // The date and time at which the template was created. // Format is defined by RFC3339. // Example: `2020-11-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` TemplateConfigSource TemplateConfigSource `mandatory:"false" json:"templateConfigSource"` // The current lifecycle state of the template. LifecycleState TemplateLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // 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"` }
func (m Template) String() string
func (m *Template) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
TemplateCategorySummary Summary information for the template category.
type TemplateCategorySummary struct { // Unique identifier for the template category. Id *string `mandatory:"false" json:"id"` // The name of the template category. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m TemplateCategorySummary) String() string
TemplateCategorySummaryCollection Results of a `ListTemplateCategories` operation.
type TemplateCategorySummaryCollection struct { // A list of template categories. Items []TemplateCategorySummary `mandatory:"true" json:"items"` }
func (m TemplateCategorySummaryCollection) String() string
TemplateConfigSource Information about the Template.
type TemplateConfigSource interface { }
TemplateConfigSourceTemplateConfigSourceTypeEnum Enum with underlying type: string
type TemplateConfigSourceTemplateConfigSourceTypeEnum string
Set of constants representing the allowable values for TemplateConfigSourceTemplateConfigSourceTypeEnum
const ( TemplateConfigSourceTemplateConfigSourceTypeZipUpload TemplateConfigSourceTemplateConfigSourceTypeEnum = "ZIP_UPLOAD" )
func GetTemplateConfigSourceTemplateConfigSourceTypeEnumValues() []TemplateConfigSourceTemplateConfigSourceTypeEnum
GetTemplateConfigSourceTemplateConfigSourceTypeEnumValues Enumerates the set of values for TemplateConfigSourceTemplateConfigSourceTypeEnum
TemplateLifecycleStateEnum Enum with underlying type: string
type TemplateLifecycleStateEnum string
Set of constants representing the allowable values for TemplateLifecycleStateEnum
const ( TemplateLifecycleStateActive TemplateLifecycleStateEnum = "ACTIVE" )
func GetTemplateLifecycleStateEnumValues() []TemplateLifecycleStateEnum
GetTemplateLifecycleStateEnumValues Enumerates the set of values for TemplateLifecycleStateEnum
TemplateSummary Summary information for a template.
type TemplateSummary struct { // Unique identifier of the specified template. Id *string `mandatory:"false" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this template. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Human-readable display name for the template. DisplayName *string `mandatory:"false" json:"displayName"` // Brief description of the template. Description *string `mandatory:"false" json:"description"` // The date and time at which the template was created. // Format is defined by RFC3339. // Example: `2020-11-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The current lifecycle state of the template. // Allowable values: // - ACTIVE LifecycleState TemplateLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m TemplateSummary) String() string
TemplateSummaryCollection Results of a `ListTemplates` operation.
type TemplateSummaryCollection struct { // A list of template summaries. Items []TemplateSummary `mandatory:"true" json:"items"` }
func (m TemplateSummaryCollection) String() string
TemplateZipUploadConfigSource Metadata about the user-provided Terraform configuration.
type TemplateZipUploadConfigSource struct { }
func (m TemplateZipUploadConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TemplateZipUploadConfigSource) String() string
TerraformVersionCollection The list of Terraform versions supported for use with stacks.
type TerraformVersionCollection struct { // Collection of supported Terraform versions. Items []TerraformVersionSummary `mandatory:"true" json:"items"` }
func (m TerraformVersionCollection) String() string
TerraformVersionSummary A Terraform version supported for use with stacks.
type TerraformVersionSummary struct { // A supported Terraform version. Example: `0.12.x` Name *string `mandatory:"false" json:"name"` }
func (m TerraformVersionSummary) String() string
UpdateConfigSourceDetails Updates the property details for the configuration source.
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 }
UpdateConfigurationSourceProviderDetails The details for updating a configuration source provider.
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{} }
UpdateConfigurationSourceProviderRequest wrapper for the UpdateConfigurationSourceProvider operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/UpdateConfigurationSourceProvider.go.html to see an example of how to use 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 }
func (request UpdateConfigurationSourceProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateConfigurationSourceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateConfigurationSourceProviderRequest) String() string
UpdateConfigurationSourceProviderResponse wrapper for the UpdateConfigurationSourceProvider operation
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"` }
func (response UpdateConfigurationSourceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateConfigurationSourceProviderResponse) String() string
UpdateGitConfigSourceDetails Updates property details for the configuration git information.
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"` }
func (m UpdateGitConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m UpdateGitConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGitConfigSourceDetails) String() string
UpdateGithubAccessTokenConfigurationSourceProviderDetails The details for updating a configuration source provider of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a configuration source provider in GitHub that is authenticated with a personal access token.
type UpdateGithubAccessTokenConfigurationSourceProviderDetails 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 GitHub service endpoint. // Example: `https://github.com/` ApiEndpoint *string `mandatory:"false" json:"apiEndpoint"` // The personal access token to be configured on the GitHub repository. AccessToken *string `mandatory:"false" json:"accessToken"` }
func (m UpdateGithubAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateGithubAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateGithubAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateGithubAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateGithubAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGithubAccessTokenConfigurationSourceProviderDetails) String() string
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.
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 endpoint. // Example: `https://gitlab.com` ApiEndpoint *string `mandatory:"false" json:"apiEndpoint"` // The personal access token to be configured on the GitLab repository. AccessToken *string `mandatory:"false" json:"accessToken"` }
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGitlabAccessTokenConfigurationSourceProviderDetails) String() string
UpdateJobDetails Updates the display name, free-form tags, and/or defined tag properties of the job.
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"` }
func (m UpdateJobDetails) String() string
UpdateJobRequest wrapper for the UpdateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/UpdateJob.go.html to see an example of how to use 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 }
func (request UpdateJobRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateJobRequest) String() string
UpdateJobResponse wrapper for the UpdateJob operation
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"` }
func (response UpdateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateJobResponse) String() string
UpdateStackDetails Specifies which fields and the data for each to update on the specified stack.
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"` }
func (m UpdateStackDetails) String() string
func (m *UpdateStackDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateStackRequest wrapper for the UpdateStack operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/UpdateStack.go.html to see an example of how to use 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 }
func (request UpdateStackRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateStackRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateStackRequest) String() string
UpdateStackResponse wrapper for the UpdateStack operation
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"` }
func (response UpdateStackResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateStackResponse) String() string
UpdateTemplateConfigSourceDetails Updates the property details for the configuration source for the template.
type UpdateTemplateConfigSourceDetails interface { }
UpdateTemplateDetails Updates the specified template.
type UpdateTemplateDetails struct { // The template's display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description of the template. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information. LongDescription *string `mandatory:"false" json:"longDescription"` // Base64-encoded logo for the template. LogoFileBase64Encoded *string `mandatory:"false" json:"logoFileBase64Encoded"` TemplateConfigSource UpdateTemplateConfigSourceDetails `mandatory:"false" json:"templateConfigSource"` // 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"` }
func (m UpdateTemplateDetails) String() string
func (m *UpdateTemplateDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateTemplateRequest wrapper for the UpdateTemplate operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/resourcemanager/UpdateTemplate.go.html to see an example of how to use UpdateTemplateRequest.
type UpdateTemplateRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the template. TemplateId *string `mandatory:"true" contributesTo:"path" name:"templateId"` // The details for updating a template. UpdateTemplateDetails `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 }
func (request UpdateTemplateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTemplateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTemplateRequest) String() string
UpdateTemplateResponse wrapper for the UpdateTemplate operation
type UpdateTemplateResponse struct { // The underlying http response RawResponse *http.Response // The Template instance Template `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"` }
func (response UpdateTemplateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTemplateResponse) String() string
UpdateTemplateZipUploadConfigSourceDetails Updates property details for the configuration .zip file.
type UpdateTemplateZipUploadConfigSourceDetails struct { ZipFileBase64Encoded *string `mandatory:"false" json:"zipFileBase64Encoded"` }
func (m UpdateTemplateZipUploadConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateTemplateZipUploadConfigSourceDetails) String() string
UpdateZipUploadConfigSourceDetails Updates property details for the configuration .zip file.
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"` }
func (m UpdateZipUploadConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m UpdateZipUploadConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateZipUploadConfigSourceDetails) String() string
WorkRequest The status of a work request.
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"` }
func (m WorkRequest) String() string
WorkRequestError An error encountered while executing a work request.
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"` }
func (m WorkRequestError) String() string
WorkRequestLogEntry A log message from the execution of a work request.
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"` }
func (m WorkRequestLogEntry) String() string
WorkRequestOperationTypeEnum Enum with underlying type: string
type WorkRequestOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
const ( WorkRequestOperationTypeChangeStackCompartment WorkRequestOperationTypeEnum = "CHANGE_STACK_COMPARTMENT" WorkRequestOperationTypeCreateStackFromCompartment WorkRequestOperationTypeEnum = "CREATE_STACK_FROM_COMPARTMENT" WorkRequestOperationTypeDriftDetection WorkRequestOperationTypeEnum = "DRIFT_DETECTION" )
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The 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"` }
func (m WorkRequestResource) String() string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestStatusEnum Enum with underlying type: string
type WorkRequestStatusEnum string
Set of constants representing the allowable values for WorkRequestStatusEnum
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" )
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
WorkRequestSummary A summary of the status of a work request.
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"` }
func (m WorkRequestSummary) String() string
ZipUploadConfigSource Metadata about the user-provided Terraform configuration.
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"` }
func (m ZipUploadConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m ZipUploadConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ZipUploadConfigSource) String() string
ZipUploadConfigSourceRecord Information about the user-provided file used for the Terraform configuration.
type ZipUploadConfigSourceRecord struct { }
func (m ZipUploadConfigSourceRecord) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ZipUploadConfigSourceRecord) String() string