func GetApplyJobOperationDetailsExecutionPlanStrategyEnumStringValues() []string
GetApplyJobOperationDetailsExecutionPlanStrategyEnumStringValues Enumerates the set of values in String for ApplyJobOperationDetailsExecutionPlanStrategyEnum
func GetApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnumStringValues() []string
GetApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnumStringValues Enumerates the set of values in String for ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum
func GetConfigSourceConfigSourceTypeEnumStringValues() []string
GetConfigSourceConfigSourceTypeEnumStringValues Enumerates the set of values in String for ConfigSourceConfigSourceTypeEnum
func GetConfigSourceRecordConfigSourceRecordTypeEnumStringValues() []string
GetConfigSourceRecordConfigSourceRecordTypeEnumStringValues Enumerates the set of values in String for ConfigSourceRecordConfigSourceRecordTypeEnum
func GetConfigurationSourceProviderConfigSourceProviderTypeEnumStringValues() []string
GetConfigurationSourceProviderConfigSourceProviderTypeEnumStringValues Enumerates the set of values in String for ConfigurationSourceProviderConfigSourceProviderTypeEnum
func GetConfigurationSourceProviderLifecycleStateEnumStringValues() []string
GetConfigurationSourceProviderLifecycleStateEnumStringValues Enumerates the set of values in String for ConfigurationSourceProviderLifecycleStateEnum
func GetDestroyJobOperationDetailsExecutionPlanStrategyEnumStringValues() []string
GetDestroyJobOperationDetailsExecutionPlanStrategyEnumStringValues Enumerates the set of values in String for DestroyJobOperationDetailsExecutionPlanStrategyEnum
func GetFailureDetailsCodeEnumStringValues() []string
GetFailureDetailsCodeEnumStringValues Enumerates the set of values in String for FailureDetailsCodeEnum
func GetGetJobLogsSortOrderEnumStringValues() []string
GetGetJobLogsSortOrderEnumStringValues Enumerates the set of values in String for GetJobLogsSortOrderEnum
func GetGetJobTfPlanTfPlanFormatEnumStringValues() []string
GetGetJobTfPlanTfPlanFormatEnumStringValues Enumerates the set of values in String for GetJobTfPlanTfPlanFormatEnum
func GetJobLifecycleStateEnumStringValues() []string
GetJobLifecycleStateEnumStringValues Enumerates the set of values in String for JobLifecycleStateEnum
func GetJobOperationEnumStringValues() []string
GetJobOperationEnumStringValues Enumerates the set of values in String for JobOperationEnum
func GetListConfigurationSourceProvidersSortByEnumStringValues() []string
GetListConfigurationSourceProvidersSortByEnumStringValues Enumerates the set of values in String for ListConfigurationSourceProvidersSortByEnum
func GetListConfigurationSourceProvidersSortOrderEnumStringValues() []string
GetListConfigurationSourceProvidersSortOrderEnumStringValues Enumerates the set of values in String for ListConfigurationSourceProvidersSortOrderEnum
func GetListJobsSortByEnumStringValues() []string
GetListJobsSortByEnumStringValues Enumerates the set of values in String for ListJobsSortByEnum
func GetListJobsSortOrderEnumStringValues() []string
GetListJobsSortOrderEnumStringValues Enumerates the set of values in String for ListJobsSortOrderEnum
func GetListPrivateEndpointsSortByEnumStringValues() []string
GetListPrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListPrivateEndpointsSortByEnum
func GetListPrivateEndpointsSortOrderEnumStringValues() []string
GetListPrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListPrivateEndpointsSortOrderEnum
func GetListStacksSortByEnumStringValues() []string
GetListStacksSortByEnumStringValues Enumerates the set of values in String for ListStacksSortByEnum
func GetListStacksSortOrderEnumStringValues() []string
GetListStacksSortOrderEnumStringValues Enumerates the set of values in String for ListStacksSortOrderEnum
func GetListTemplatesSortByEnumStringValues() []string
GetListTemplatesSortByEnumStringValues Enumerates the set of values in String for ListTemplatesSortByEnum
func GetListTemplatesSortOrderEnumStringValues() []string
GetListTemplatesSortOrderEnumStringValues Enumerates the set of values in String for ListTemplatesSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetLogEntryLevelEnumStringValues() []string
GetLogEntryLevelEnumStringValues Enumerates the set of values in String for LogEntryLevelEnum
func GetLogEntryTypeEnumStringValues() []string
GetLogEntryTypeEnumStringValues Enumerates the set of values in String for LogEntryTypeEnum
func GetPrivateEndpointLifecycleStateEnumStringValues() []string
GetPrivateEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for PrivateEndpointLifecycleStateEnum
func GetResourceDiscoveryServiceSummaryDiscoveryScopeEnumStringValues() []string
GetResourceDiscoveryServiceSummaryDiscoveryScopeEnumStringValues Enumerates the set of values in String for ResourceDiscoveryServiceSummaryDiscoveryScopeEnum
func GetStackLifecycleStateEnumStringValues() []string
GetStackLifecycleStateEnumStringValues Enumerates the set of values in String for StackLifecycleStateEnum
func GetStackResourceDriftSummaryResourceDriftStatusEnumStringValues() []string
GetStackResourceDriftSummaryResourceDriftStatusEnumStringValues Enumerates the set of values in String for StackResourceDriftSummaryResourceDriftStatusEnum
func GetStackStackDriftStatusEnumStringValues() []string
GetStackStackDriftStatusEnumStringValues Enumerates the set of values in String for StackStackDriftStatusEnum
func GetTemplateConfigSourceTemplateConfigSourceTypeEnumStringValues() []string
GetTemplateConfigSourceTemplateConfigSourceTypeEnumStringValues Enumerates the set of values in String for TemplateConfigSourceTemplateConfigSourceTypeEnum
func GetTemplateLifecycleStateEnumStringValues() []string
GetTemplateLifecycleStateEnumStringValues Enumerates the set of values in String for TemplateLifecycleStateEnum
func GetTerraformAdvancedOptionsDetailedLogLevelEnumStringValues() []string
GetTerraformAdvancedOptionsDetailedLogLevelEnumStringValues Enumerates the set of values in String for TerraformAdvancedOptionsDetailedLogLevelEnum
func GetWorkRequestOperationTypeEnumStringValues() []string
GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum
func GetWorkRequestResourceActionTypeEnumStringValues() []string
GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum
func GetWorkRequestStatusEnumStringValues() []string
GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum
ApplyJobOperationDetails Job details that are specific to apply operations.
type ApplyJobOperationDetails struct { TerraformAdvancedOptions *TerraformAdvancedOptions `mandatory:"false" json:"terraformAdvancedOptions"` // 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
func (m ApplyJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingApplyJobOperationDetailsExecutionPlanStrategyEnum(val string) (ApplyJobOperationDetailsExecutionPlanStrategyEnum, bool)
GetMappingApplyJobOperationDetailsExecutionPlanStrategyEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m ApplyJobOperationDetailsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ApplyJobPlanResolution) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ApplyRollbackJobOperationDetails Job details that are specific to an apply rollback job. For more information about apply rollback jobs, see Creating an Apply Rollback Job (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/create-job-apply-rollback.htm).
type ApplyRollbackJobOperationDetails struct { TerraformAdvancedOptions *TerraformAdvancedOptions `mandatory:"false" json:"terraformAdvancedOptions"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a plan rollback job, for use when specifying `"FROM_PLAN_ROLLBACK_JOB_ID"` as the `executionPlanRollbackStrategy`. ExecutionPlanRollbackJobId *string `mandatory:"false" json:"executionPlanRollbackJobId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a successful apply job, for use when specifying `"AUTO_APPROVED"` as the `executionPlanRollbackStrategy`. TargetRollbackJobId *string `mandatory:"false" json:"targetRollbackJobId"` // Specifies the source of the execution plan for rollback to apply. // Use `AUTO_APPROVED` to run the job without an execution plan for rollback. ExecutionPlanRollbackStrategy ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum `mandatory:"true" json:"executionPlanRollbackStrategy"` }
func (m ApplyRollbackJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ApplyRollbackJobOperationDetails) String() string
func (m ApplyRollbackJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum Enum with underlying type: string
type ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum string
Set of constants representing the allowable values for ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum
const ( ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyFromPlanRollbackJobId ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum = "FROM_PLAN_ROLLBACK_JOB_ID" ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyFromLatestPlanRollbackJobId ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum = "FROM_LATEST_PLAN_ROLLBACK_JOB_ID" ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyAutoApproved ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum = "AUTO_APPROVED" )
func GetApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnumValues() []ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum
GetApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnumValues Enumerates the set of values for ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum
func GetMappingApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum(val string) (ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum, bool)
GetMappingApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum performs case Insensitive comparison on enum value and return the desired enum
ApplyRollbackJobOperationDetailsSummary Job details that are specific to an apply rollback job. For more information about apply rollback jobs, see Creating an Apply Rollback Job (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/create-job-apply-rollback.htm).
type ApplyRollbackJobOperationDetailsSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a plan rollback job, for use when specifying `"FROM_PLAN_ROLLBACK_JOB_ID"` as the `executionPlanRollbackStrategy`. ExecutionPlanRollbackJobId *string `mandatory:"false" json:"executionPlanRollbackJobId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a successful apply job, for use when specifying `"AUTO_APPROVED"` as the `executionPlanRollbackStrategy`. TargetRollbackJobId *string `mandatory:"false" json:"targetRollbackJobId"` // Specifies the source of the execution plan for rollback to apply. // Use `AUTO_APPROVED` to run the job without an execution plan for rollback. ExecutionPlanRollbackStrategy ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum `mandatory:"true" json:"executionPlanRollbackStrategy"` }
func (m ApplyRollbackJobOperationDetailsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ApplyRollbackJobOperationDetailsSummary) String() string
func (m ApplyRollbackJobOperationDetailsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssociatedResourceSummary Summary information for a resource associated with a stack or job.
type AssociatedResourceSummary struct { // Unique identifier for the resource. ResourceId *string `mandatory:"false" json:"resourceId"` // Name of the resource. ResourceName *string `mandatory:"false" json:"resourceName"` // Resource type. For more information about resource types supported for the Oracle Cloud Infrastructure (OCI) provider, see Oracle Cloud Infrastructure Provider (https://registry.terraform.io/providers/oracle/oci/latest/docs). ResourceType *string `mandatory:"false" json:"resourceType"` // Resource attribute values. Each value is represented as a key-value pair. // Example: `{"state": "AVAILABLE"}` Attributes map[string]string `mandatory:"false" json:"attributes"` // The date and time when the stack was created. // Format is defined by RFC3339. // Example: `2022-07-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Resource region. // For information about regions, see Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). // Example: `us-phoenix-1` Region *string `mandatory:"false" json:"region"` // Terraform resource address. ResourceAddress *string `mandatory:"false" json:"resourceAddress"` }
func (m AssociatedResourceSummary) String() string
func (m AssociatedResourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssociatedResourcesCollection The list of associated resources for the indicated stack or job.
type AssociatedResourcesCollection struct { // Collection of resources associated with a stack or job. Items []AssociatedResourceSummary `mandatory:"true" json:"items"` }
func (m AssociatedResourcesCollection) String() string
func (m AssociatedResourcesCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudConfigSource Metadata about the Bitbucket Cloud configuration source.
type BitbucketCloudConfigSource struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Bitbucket Cloud configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // The URL of the Bitbucket Cloud repository for the configuration source. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // The id of the workspace in Bitbucket Cloud for the configuration source WorkspaceId *string `mandatory:"true" json:"workspaceId"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The name of the branch in the Bitbucket Cloud repository for the configuration source. BranchName *string `mandatory:"false" json:"branchName"` }
func (m BitbucketCloudConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m BitbucketCloudConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudConfigSource) String() string
func (m BitbucketCloudConfigSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudConfigSourceRecord Metadata about the Bitbucket Cloud configuration source.
type BitbucketCloudConfigSourceRecord struct { // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) // for the Bitbucket Cloud configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // The URL of the Bitbucket Cloud repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // The id of the workspace in Bitbucket Cloud for the configuration source. WorkspaceId *string `mandatory:"true" json:"workspaceId"` // The name of the branch within the Bitbucket Cloud repository. BranchName *string `mandatory:"false" json:"branchName"` // The unique identifier (SHA-1 hash) of the individual change to the Bitbucket Cloud repository. CommitId *string `mandatory:"false" json:"commitId"` }
func (m BitbucketCloudConfigSourceRecord) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudConfigSourceRecord) String() string
func (m BitbucketCloudConfigSourceRecord) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudUsernameAppPasswordConfigurationSourceProvider The properties that define a configuration source provider of the type `BITBUCKET_CLOUD_USERNAME_APPPASSWORD`. This type corresponds to a configuration source provider in Bitbucket cloud that is authenticated with a username and app password.
type BitbucketCloudUsernameAppPasswordConfigurationSourceProvider 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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // Username which is used to authorize the user. Username *string `mandatory:"false" json:"username"` // Secret ocid which is used to authorize the user. SecretId *string `mandatory:"false" json:"secretId"` // 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 Bitbucket cloud service endpoint. // Example: `https://bitbucket.org/` 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#concepts__CSPStates). LifecycleState ConfigurationSourceProviderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetDescription() *string
GetDescription returns Description
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetId() *string
GetId returns Id
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetSecretId() *string
GetSecretId returns SecretId
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) GetUsername() *string
GetUsername returns Username
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) String() string
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProvider) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary Summary information for a configuration source provider of the type `BITBUCKET_CLOUD_USERNAME_APPPASSWORD`. This type corresponds to a configuration source provider in Bitbucket cloud that is authenticated with a username and app password.
type BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary 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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // 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 Bitbucket cloud service endpoint. // Example: `https://bitbucket.org/` 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#concepts__CSPStates). // Allowable values: // - ACTIVE LifecycleState ConfigurationSourceProviderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetDescription() *string
GetDescription returns Description
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetId() *string
GetId returns Id
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) String() string
func (m BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerAccessTokenConfigurationSourceProvider The properties that define a configuration source provider of the type `BITBUCKET_SERVER_ACCESS_TOKEN`. This type corresponds to a configuration source provider in Bitbucket server that is authenticated with a personal access token.
type BitbucketServerAccessTokenConfigurationSourceProvider 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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // Username which is used to authorize the user. Username *string `mandatory:"false" json:"username"` // Secret ocid which is used to authorize the user. SecretId *string `mandatory:"false" json:"secretId"` // 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 Bitbucket server service endpoint. // Example: `https://bitbucket.org/` 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#concepts__CSPStates). LifecycleState ConfigurationSourceProviderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetDescription() *string
GetDescription returns Description
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetId() *string
GetId returns Id
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetSecretId() *string
GetSecretId returns SecretId
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketServerAccessTokenConfigurationSourceProvider) GetUsername() *string
GetUsername returns Username
func (m BitbucketServerAccessTokenConfigurationSourceProvider) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerAccessTokenConfigurationSourceProvider) String() string
func (m BitbucketServerAccessTokenConfigurationSourceProvider) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerAccessTokenConfigurationSourceProviderSummary Summary information for a configuration source provider of the type `BITBUCKET_SERVER_ACCESS_TOKEN`. This type corresponds to a configuration source provider in Bitbucket server that is authenticated with a personal access token.
type BitbucketServerAccessTokenConfigurationSourceProviderSummary 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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // 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 Bitbucket server service endpoint. // Example: `https://bitbucket.org/` 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#concepts__CSPStates). // Allowable values: // - ACTIVE LifecycleState ConfigurationSourceProviderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetDescription() *string
GetDescription returns Description
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetId() *string
GetId returns Id
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) String() string
func (m BitbucketServerAccessTokenConfigurationSourceProviderSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerConfigSource Metadata about the Bitbucket Server configuration source.
type BitbucketServerConfigSource struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Bitbucket Server configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // The URL of the Bitbucket Server repository for the configuration source. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The name of the branch in the Bitbucket Server repository for the configuration source. BranchName *string `mandatory:"false" json:"branchName"` // Unique identifier for a Bitbucket Server project. ProjectId *string `mandatory:"false" json:"projectId"` // Bitbucket Server repository identifier, usually identified as <repository>.git. RepositoryId *string `mandatory:"false" json:"repositoryId"` // The clone URL of Bitbucket Server configuration source. CloneUrl *string `mandatory:"false" json:"cloneUrl"` }
func (m BitbucketServerConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m BitbucketServerConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerConfigSource) String() string
func (m BitbucketServerConfigSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerConfigSourceRecord Metadata about the Bitbucket Server configuration source.
type BitbucketServerConfigSourceRecord struct { // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) // for the Bitbucket Server configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // The URL of the Bitbucket Server repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // The name of the branch within the Bitbucket Server repository. BranchName *string `mandatory:"false" json:"branchName"` // The unique identifier (SHA-1 hash) of the individual change to the Bitbucket Server repository. CommitId *string `mandatory:"false" json:"commitId"` }
func (m BitbucketServerConfigSourceRecord) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerConfigSourceRecord) String() string
func (m BitbucketServerConfigSourceRecord) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelJobRequest wrapper for the CancelJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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"` // Indicates whether a forced cancellation is requested for the job while it was running. // A forced cancellation can result in an incorrect state file. // For example, the state file might not reflect the exact state of the provisioned resources. IsForced *bool `mandatory:"false" contributesTo:"query" name:"isForced"` // 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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request CancelJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
CancellationDetails Cancellation details for a job.
type CancellationDetails struct { // Indicates whether a forced cancellation was requested for the job while it was running. // A forced cancellation can result in an incorrect state file. // For example, the state file might not reflect the exact state of the provisioned resources. IsForced *bool `mandatory:"false" json:"isForced"` }
func (m CancellationDetails) String() string
func (m CancellationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeConfigurationSourceProviderCompartmentDetails Compartment details for moving a configuration source provider.
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
func (m ChangeConfigurationSourceProviderCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeConfigurationSourceProviderCompartmentRequest wrapper for the ChangeConfigurationSourceProviderCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeConfigurationSourceProviderCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ChangeConfigurationSourceProviderCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
ChangePrivateEndpointCompartmentDetails Compartment details for moving a private endpoint.
type ChangePrivateEndpointCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // to move the private endpoint to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangePrivateEndpointCompartmentDetails) String() string
func (m ChangePrivateEndpointCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangePrivateEndpointCompartmentRequest wrapper for the ChangePrivateEndpointCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/resourcemanager/ChangePrivateEndpointCompartment.go.html to see an example of how to use ChangePrivateEndpointCompartmentRequest.
type ChangePrivateEndpointCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` // Defines the properties of changePrivateEndpointCompartment operation. ChangePrivateEndpointCompartmentDetails `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 ChangePrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangePrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangePrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangePrivateEndpointCompartmentRequest) String() string
func (request ChangePrivateEndpointCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangePrivateEndpointCompartmentResponse wrapper for the ChangePrivateEndpointCompartment operation
type ChangePrivateEndpointCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangePrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangePrivateEndpointCompartmentResponse) String() string
ChangeStackCompartmentDetails Compartment details for moving a stack.
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
func (m ChangeStackCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeStackCompartmentRequest wrapper for the ChangeStackCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeStackCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ChangeStackCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 Compartment details for moving a template.
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
func (m ChangeTemplateCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeTemplateCompartmentRequest wrapper for the ChangeTemplateCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeTemplateCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ChangeTemplateCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). 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
func (m CompartmentConfigSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). GetWorkingDirectory() *string }
ConfigSourceConfigSourceTypeEnum Enum with underlying type: string
type ConfigSourceConfigSourceTypeEnum string
Set of constants representing the allowable values for ConfigSourceConfigSourceTypeEnum
const ( ConfigSourceConfigSourceTypeBitbucketCloudConfigSource ConfigSourceConfigSourceTypeEnum = "BITBUCKET_CLOUD_CONFIG_SOURCE" ConfigSourceConfigSourceTypeBitbucketServerConfigSource ConfigSourceConfigSourceTypeEnum = "BITBUCKET_SERVER_CONFIG_SOURCE" ConfigSourceConfigSourceTypeCompartmentConfigSource ConfigSourceConfigSourceTypeEnum = "COMPARTMENT_CONFIG_SOURCE" ConfigSourceConfigSourceTypeDevopsConfigSource ConfigSourceConfigSourceTypeEnum = "DEVOPS_CONFIG_SOURCE" ConfigSourceConfigSourceTypeGitConfigSource ConfigSourceConfigSourceTypeEnum = "GIT_CONFIG_SOURCE" ConfigSourceConfigSourceTypeObjectStorageConfigSource ConfigSourceConfigSourceTypeEnum = "OBJECT_STORAGE_CONFIG_SOURCE" ConfigSourceConfigSourceTypeZipUpload ConfigSourceConfigSourceTypeEnum = "ZIP_UPLOAD" )
func GetConfigSourceConfigSourceTypeEnumValues() []ConfigSourceConfigSourceTypeEnum
GetConfigSourceConfigSourceTypeEnumValues Enumerates the set of values for ConfigSourceConfigSourceTypeEnum
func GetMappingConfigSourceConfigSourceTypeEnum(val string) (ConfigSourceConfigSourceTypeEnum, bool)
GetMappingConfigSourceConfigSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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 ( ConfigSourceRecordConfigSourceRecordTypeBitbucketCloudConfigSource ConfigSourceRecordConfigSourceRecordTypeEnum = "BITBUCKET_CLOUD_CONFIG_SOURCE" ConfigSourceRecordConfigSourceRecordTypeBitbucketServerConfigSource ConfigSourceRecordConfigSourceRecordTypeEnum = "BITBUCKET_SERVER_CONFIG_SOURCE" ConfigSourceRecordConfigSourceRecordTypeCompartmentConfigSource ConfigSourceRecordConfigSourceRecordTypeEnum = "COMPARTMENT_CONFIG_SOURCE" ConfigSourceRecordConfigSourceRecordTypeDevopsConfigSource ConfigSourceRecordConfigSourceRecordTypeEnum = "DEVOPS_CONFIG_SOURCE" ConfigSourceRecordConfigSourceRecordTypeGitConfigSource ConfigSourceRecordConfigSourceRecordTypeEnum = "GIT_CONFIG_SOURCE" ConfigSourceRecordConfigSourceRecordTypeObjectStorageConfigSource ConfigSourceRecordConfigSourceRecordTypeEnum = "OBJECT_STORAGE_CONFIG_SOURCE" ConfigSourceRecordConfigSourceRecordTypeZipUpload ConfigSourceRecordConfigSourceRecordTypeEnum = "ZIP_UPLOAD" )
func GetConfigSourceRecordConfigSourceRecordTypeEnumValues() []ConfigSourceRecordConfigSourceRecordTypeEnum
GetConfigSourceRecordConfigSourceRecordTypeEnumValues Enumerates the set of values for ConfigSourceRecordConfigSourceRecordTypeEnum
func GetMappingConfigSourceRecordConfigSourceRecordTypeEnum(val string) (ConfigSourceRecordConfigSourceRecordTypeEnum, bool)
GetMappingConfigSourceRecordConfigSourceRecordTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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/managingconfigurationsourceproviders.htm).
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#concepts__CSPStates). GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum GetPrivateServerConfigDetails() *PrivateServerConfigDetails // Username which is used to authorize the user. GetUsername() *string // Secret ocid which is used to authorize the user. GetSecretId() *string // 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
func (m ConfigurationSourceProviderCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConfigurationSourceProviderConfigSourceProviderTypeEnum Enum with underlying type: string
type ConfigurationSourceProviderConfigSourceProviderTypeEnum string
Set of constants representing the allowable values for ConfigurationSourceProviderConfigSourceProviderTypeEnum
const ( ConfigurationSourceProviderConfigSourceProviderTypeBitbucketCloudUsernameApppassword ConfigurationSourceProviderConfigSourceProviderTypeEnum = "BITBUCKET_CLOUD_USERNAME_APPPASSWORD" ConfigurationSourceProviderConfigSourceProviderTypeBitbucketServerAccessToken ConfigurationSourceProviderConfigSourceProviderTypeEnum = "BITBUCKET_SERVER_ACCESS_TOKEN" ConfigurationSourceProviderConfigSourceProviderTypeGitlabAccessToken ConfigurationSourceProviderConfigSourceProviderTypeEnum = "GITLAB_ACCESS_TOKEN" ConfigurationSourceProviderConfigSourceProviderTypeGithubAccessToken ConfigurationSourceProviderConfigSourceProviderTypeEnum = "GITHUB_ACCESS_TOKEN" )
func GetConfigurationSourceProviderConfigSourceProviderTypeEnumValues() []ConfigurationSourceProviderConfigSourceProviderTypeEnum
GetConfigurationSourceProviderConfigSourceProviderTypeEnumValues Enumerates the set of values for ConfigurationSourceProviderConfigSourceProviderTypeEnum
func GetMappingConfigurationSourceProviderConfigSourceProviderTypeEnum(val string) (ConfigurationSourceProviderConfigSourceProviderTypeEnum, bool)
GetMappingConfigurationSourceProviderConfigSourceProviderTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingConfigurationSourceProviderLifecycleStateEnum(val string) (ConfigurationSourceProviderLifecycleStateEnum, bool)
GetMappingConfigurationSourceProviderLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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#concepts__CSPStates). // Allowable values: // - ACTIVE GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum GetPrivateServerConfigDetails() *PrivateServerConfigDetails // 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 { // Specifies whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). IsProviderUpgradeRequired *bool `mandatory:"false" json:"isProviderUpgradeRequired"` TerraformAdvancedOptions *TerraformAdvancedOptions `mandatory:"false" json:"terraformAdvancedOptions"` // 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) GetIsProviderUpgradeRequired() *bool
GetIsProviderUpgradeRequired returns IsProviderUpgradeRequired
func (m CreateApplyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateApplyJobOperationDetails) String() string
func (m CreateApplyJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateApplyRollbackJobOperationDetails Job details that are specific to an apply rollback job. For more information about apply rollback jobs, see Creating an Apply Rollback Job (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/create-job-apply-rollback.htm).
type CreateApplyRollbackJobOperationDetails struct { // Specifies whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). IsProviderUpgradeRequired *bool `mandatory:"false" json:"isProviderUpgradeRequired"` TerraformAdvancedOptions *TerraformAdvancedOptions `mandatory:"false" json:"terraformAdvancedOptions"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a plan rollback job, for use when specifying `"FROM_PLAN_ROLLBACK_JOB_ID"` as the `executionPlanRollbackStrategy`. ExecutionPlanRollbackJobId *string `mandatory:"false" json:"executionPlanRollbackJobId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a successful apply job, for use when specifying `"AUTO_APPROVED"` as the `executionPlanRollbackStrategy`. TargetRollbackJobId *string `mandatory:"false" json:"targetRollbackJobId"` // Specifies the source of the execution plan for rollback to apply. // Use `AUTO_APPROVED` to run the job without an execution plan for rollback job. ExecutionPlanRollbackStrategy ApplyRollbackJobOperationDetailsExecutionPlanRollbackStrategyEnum `mandatory:"true" json:"executionPlanRollbackStrategy"` }
func (m CreateApplyRollbackJobOperationDetails) GetIsProviderUpgradeRequired() *bool
GetIsProviderUpgradeRequired returns IsProviderUpgradeRequired
func (m CreateApplyRollbackJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateApplyRollbackJobOperationDetails) String() string
func (m CreateApplyRollbackJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBitbucketCloudConfigSourceDetails Creation details for a Bitbucket Cloud configuration source.
type CreateBitbucketCloudConfigSourceDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Bitbucket Cloud configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // The URL of the Bitbucket Cloud repository for the configuration source. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // The id of the workspace in Bitbucket Cloud for the configuration source WorkspaceId *string `mandatory:"true" json:"workspaceId"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The name of the branch in the Bitbucket Cloud repository for the configuration source. BranchName *string `mandatory:"false" json:"branchName"` }
func (m CreateBitbucketCloudConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CreateBitbucketCloudConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBitbucketCloudConfigSourceDetails) String() string
func (m CreateBitbucketCloudConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails Creation details for a configuration source provider of the type `BITBUCKET_CLOUD_USERNAME_appPASSWORD`. This type corresponds to a configuration source provider in Bitbucket that is authenticated with a username and app password.
type CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails struct { // The Bitbucket cloud service endpoint. // Example: `https://bitbucket.org/` ApiEndpoint *string `mandatory:"true" json:"apiEndpoint"` // The username for the user of the Bitbucket cloud repository. Username *string `mandatory:"true" json:"username"` // The secret ocid which is used to authorize the user. SecretId *string `mandatory:"true" json:"secretId"` // 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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // 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 CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) GetDescription() *string
GetDescription returns Description
func (m CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) String() string
func (m CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails The details for creating a configuration source provider of the type `BITBUCKET_SERVER_ACCESS_TOKEN`. This type corresponds to a configuration source provider in Bitbucket server that is authenticated with a personal access token.
type CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails struct { // The secret ocid which is used to authorize the user. SecretId *string `mandatory:"true" json:"secretId"` // The Bitbucket Server service endpoint // Example: `https://bitbucket.org/` ApiEndpoint *string `mandatory:"true" json:"apiEndpoint"` // 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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // 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 CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) GetDescription() *string
GetDescription returns Description
func (m CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) String() string
func (m CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBitbucketServerConfigSourceDetails Creation details for a Bitbucket Server configuration source.
type CreateBitbucketServerConfigSourceDetails struct { // Unique identifier (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) // for the Bitbucket Server configuration source. ConfigurationSourceProviderId *string `mandatory:"true" json:"configurationSourceProviderId"` // The URL of the Bitbucket Server repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The name of the branch within the Bitbucket Server repository. BranchName *string `mandatory:"false" json:"branchName"` // Unique identifier for a Bitbucket Server project. ProjectId *string `mandatory:"false" json:"projectId"` // Bitbucket Server repository identifier, usually identified as <repository>.git. RepositoryId *string `mandatory:"false" json:"repositoryId"` }
func (m CreateBitbucketServerConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CreateBitbucketServerConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBitbucketServerConfigSourceDetails) String() string
func (m CreateBitbucketServerConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateCompartmentConfigSourceDetails Creation details for a configuration source based on the specified compartment.
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 to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). 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
func (m CreateCompartmentConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateConfigSourceDetails Creation details for a configuration source used with the stack.
type CreateConfigSourceDetails interface { // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). GetWorkingDirectory() *string }
CreateConfigurationSourceProviderDetails Creation details for 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 GetPrivateServerConfigDetails() *PrivateServerConfigDetails // 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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateConfigurationSourceProviderRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request CreateConfigurationSourceProviderRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). IsProviderUpgradeRequired *bool `mandatory:"false" json:"isProviderUpgradeRequired"` TerraformAdvancedOptions *TerraformAdvancedOptions `mandatory:"false" json:"terraformAdvancedOptions"` // 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) GetIsProviderUpgradeRequired() *bool
GetIsProviderUpgradeRequired returns IsProviderUpgradeRequired
func (m CreateDestroyJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDestroyJobOperationDetails) String() string
func (m CreateDestroyJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDevOpsConfigSourceDetails Creation details for a DevOps (https://docs.cloud.oracle.com/iaas/Content/devops/using/home.htm) configuration source.
type CreateDevOpsConfigSourceDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Repository. RepositoryId *string `mandatory:"true" json:"repositoryId"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The name of the branch that contains the Terraform configuration. BranchName *string `mandatory:"false" json:"branchName"` }
func (m CreateDevOpsConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CreateDevOpsConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDevOpsConfigSourceDetails) String() string
func (m CreateDevOpsConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGitConfigSourceDetails Creation details for 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 to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). 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
func (m CreateGitConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGithubAccessTokenConfigurationSourceProviderDetails Creation details 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 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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // 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) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) String() string
func (m CreateGithubAccessTokenConfigurationSourceProviderDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGitlabAccessTokenConfigurationSourceProviderDetails Creation details 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 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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // 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) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) String() string
func (m CreateGitlabAccessTokenConfigurationSourceProviderDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateImportTfStateJobOperationDetails Job details that are specific to import Terraform state operations.
type CreateImportTfStateJobOperationDetails struct { // Base64-encoded state file TfStateBase64Encoded []byte `mandatory:"true" json:"tfStateBase64Encoded"` // Specifies whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). IsProviderUpgradeRequired *bool `mandatory:"false" json:"isProviderUpgradeRequired"` }
func (m CreateImportTfStateJobOperationDetails) GetIsProviderUpgradeRequired() *bool
GetIsProviderUpgradeRequired returns IsProviderUpgradeRequired
func (m CreateImportTfStateJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateImportTfStateJobOperationDetails) String() string
func (m CreateImportTfStateJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateJobDetails Creation details for a job for running inside 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
func (m CreateJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateJobOperationDetails Job details that are specific to the operation type.
type CreateJobOperationDetails interface { // Specifies whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). GetIsProviderUpgradeRequired() *bool }
CreateJobRequest wrapper for the CreateJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request CreateJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
CreateObjectStorageConfigSourceDetails Creation details for an Object Storage bucket that contains Terraform configuration files.
type CreateObjectStorageConfigSourceDetails struct { // The name of the bucket's region. // Example: `us-phoenix-1` Region *string `mandatory:"true" json:"region"` // The Object Storage namespace that contains the bucket. Namespace *string `mandatory:"true" json:"namespace"` // The name of the bucket that contains the Terraform configuration files. BucketName *string `mandatory:"true" json:"bucketName"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` }
func (m CreateObjectStorageConfigSourceDetails) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m CreateObjectStorageConfigSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateObjectStorageConfigSourceDetails) String() string
func (m CreateObjectStorageConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePlanJobOperationDetails Job details that are specific to plan operations.
type CreatePlanJobOperationDetails struct { // Specifies whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). IsProviderUpgradeRequired *bool `mandatory:"false" json:"isProviderUpgradeRequired"` TerraformAdvancedOptions *TerraformAdvancedOptions `mandatory:"false" json:"terraformAdvancedOptions"` }
func (m CreatePlanJobOperationDetails) GetIsProviderUpgradeRequired() *bool
GetIsProviderUpgradeRequired returns IsProviderUpgradeRequired
func (m CreatePlanJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreatePlanJobOperationDetails) String() string
func (m CreatePlanJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePlanRollbackJobOperationDetails Job details that are specific to a plan rollback job. For more information about plan rollback jobs, see Creating a Plan Rollback Job (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/create-job-plan-rollback.htm).
type CreatePlanRollbackJobOperationDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a successful apply job to use for the plan rollback job. TargetRollbackJobId *string `mandatory:"true" json:"targetRollbackJobId"` // Specifies whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). IsProviderUpgradeRequired *bool `mandatory:"false" json:"isProviderUpgradeRequired"` TerraformAdvancedOptions *TerraformAdvancedOptions `mandatory:"false" json:"terraformAdvancedOptions"` }
func (m CreatePlanRollbackJobOperationDetails) GetIsProviderUpgradeRequired() *bool
GetIsProviderUpgradeRequired returns IsProviderUpgradeRequired
func (m CreatePlanRollbackJobOperationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreatePlanRollbackJobOperationDetails) String() string
func (m CreatePlanRollbackJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePrivateEndpointDetails Creation details for a private endpoint.
type CreatePrivateEndpointDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this private endpoint. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The private endpoint display name. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN for the private endpoint. VcnId *string `mandatory:"true" json:"vcnId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet within the VCN for the private endpoint. SubnetId *string `mandatory:"true" json:"subnetId"` // Description of the private endpoint. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // DNS Proxy forwards any DNS FQDN queries over into the consumer DNS resolver if the DNS FQDN is included in the dns zones list otherwise it goes to service provider VCN resolver. DnsZones []string `mandatory:"false" json:"dnsZones"` // The OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of // network security groups (NSGs) (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm) // for the private endpoint. // Order does not matter. NsgIdList []string `mandatory:"false" json:"nsgIdList"` // When `true`, allows the private endpoint to be used with a configuration source provider. IsUsedWithConfigurationSourceProvider *bool `mandatory:"false" json:"isUsedWithConfigurationSourceProvider"` // 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 CreatePrivateEndpointDetails) String() string
func (m CreatePrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePrivateEndpointRequest wrapper for the CreatePrivateEndpoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/resourcemanager/CreatePrivateEndpoint.go.html to see an example of how to use CreatePrivateEndpointRequest.
type CreatePrivateEndpointRequest struct { // Creation details for a private endpoint. CreatePrivateEndpointDetails `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 CreatePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreatePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreatePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreatePrivateEndpointRequest) String() string
func (request CreatePrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePrivateEndpointResponse wrapper for the CreatePrivateEndpoint operation
type CreatePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The PrivateEndpoint instance PrivateEndpoint `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 CreatePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreatePrivateEndpointResponse) String() string
CreateStackDetails Creation details for 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"` CustomTerraformProvider *CustomTerraformProvider `mandatory:"false" json:"customTerraformProvider"` // 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 8192 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
func (m CreateStackDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateStackRequest wrapper for the CreateStack operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateStackRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request CreateStackRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 Creation details for a template to use as the source of the Terraform configuration.
type CreateStackTemplateConfigSourceDetails struct { TemplateId *string `mandatory:"true" json:"templateId"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). 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
func (m CreateStackTemplateConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTemplateConfigSourceDetails Creation details for a configuration source used for a template.
type CreateTemplateConfigSourceDetails interface { }
CreateTemplateDetails Creation details for 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 to use as the template icon. // Template icon file requirements: PNG format, 50 KB maximum, 110 x 110 pixels. 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
func (m CreateTemplateDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTemplateRequest wrapper for the CreateTemplate operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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"` // 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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTemplateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request CreateTemplateRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 Creation details for a zip file used for a 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
func (m CreateTemplateZipUploadConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateZipUploadConfigSourceDetails Creation details for a Terraform configuration zip file.
type CreateZipUploadConfigSourceDetails struct { ZipFileBase64Encoded *string `mandatory:"true" json:"zipFileBase64Encoded"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). 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
func (m CreateZipUploadConfigSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CustomTerraformProvider Location information about custom Terraform providers for a stack. For more information, see Custom Providers (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#features__custom-providers). Note: Older stacks must be explicitly updated to use Terraform Registry (`isThirdPartyProviderExperienceEnabled=true`). See UpdateStack. For more information, see Using Terraform Registry with Older Stacks (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/update-stack-tf-reg.htm).
type CustomTerraformProvider struct { // The name of the region that contains the bucket you want. // For information about regions, see Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). // Example: `us-phoenix-1` Region *string `mandatory:"true" json:"region"` // The Object Storage namespace that contains the bucket you want. // For information about Object Storage namespaces, see Understanding Object Storage Namespaces (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/understandingnamespaces.htm). Namespace *string `mandatory:"true" json:"namespace"` // The name of the bucket that contains the binary files for the custom Terraform providers. // For information about buckets, see Managing Buckets (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/managingbuckets.htm). BucketName *string `mandatory:"true" json:"bucketName"` }
func (m CustomTerraformProvider) String() string
func (m CustomTerraformProvider) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteConfigurationSourceProviderRequest wrapper for the DeleteConfigurationSourceProvider operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteConfigurationSourceProviderRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request DeleteConfigurationSourceProviderRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
DeletePrivateEndpointRequest wrapper for the DeletePrivateEndpoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/resourcemanager/DeletePrivateEndpoint.go.html to see an example of how to use DeletePrivateEndpointRequest.
type DeletePrivateEndpointRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` // 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 DeletePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeletePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeletePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeletePrivateEndpointRequest) String() string
func (request DeletePrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeletePrivateEndpointResponse wrapper for the DeletePrivateEndpoint operation
type DeletePrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeletePrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeletePrivateEndpointResponse) String() string
DeleteStackRequest wrapper for the DeleteStack operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteStackRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request DeleteStackRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTemplateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request DeleteTemplateRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 { TerraformAdvancedOptions *TerraformAdvancedOptions `mandatory:"false" json:"terraformAdvancedOptions"` // 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
func (m DestroyJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDestroyJobOperationDetailsExecutionPlanStrategyEnum(val string) (DestroyJobOperationDetailsExecutionPlanStrategyEnum, bool)
GetMappingDestroyJobOperationDetailsExecutionPlanStrategyEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DestroyJobOperationDetailsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetectStackDriftDetails 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 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"` // Specifies whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). IsProviderUpgradeRequired *bool `mandatory:"false" json:"isProviderUpgradeRequired"` }
func (m DetectStackDriftDetails) String() string
func (m DetectStackDriftDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DetectStackDriftRequest wrapper for the DetectStackDrift operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DetectStackDriftRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request DetectStackDriftRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
DevOpsConfigSource Metadata about the DevOps (https://docs.cloud.oracle.com/iaas/Content/devops/using/home.htm) configuration source.
type DevOpsConfigSource struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Repository. RepositoryId *string `mandatory:"true" json:"repositoryId"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). WorkingDirectory *string `mandatory:"false" json:"workingDirectory"` // The name of the branch that contains the Terraform configuration. BranchName *string `mandatory:"false" json:"branchName"` }
func (m DevOpsConfigSource) GetWorkingDirectory() *string
GetWorkingDirectory returns WorkingDirectory
func (m DevOpsConfigSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DevOpsConfigSource) String() string
func (m DevOpsConfigSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DevOpsConfigSourceRecord Metadata about the DevOps (https://docs.cloud.oracle.com/iaas/Content/devops/using/home.htm) configuration source.
type DevOpsConfigSourceRecord struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Repository. RepositoryId *string `mandatory:"true" json:"repositoryId"` // The name of the branch that contains the Terraform configuration. BranchName *string `mandatory:"true" json:"branchName"` // The unique identifier (SHA-1 hash) of the individual change to the DevOps repository. CommitId *string `mandatory:"false" json:"commitId"` }
func (m DevOpsConfigSourceRecord) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DevOpsConfigSourceRecord) String() string
func (m DevOpsConfigSourceRecord) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m FailureDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" FailureDetailsCodeTerraformObjectStorageConfigSourceEmptyBucket FailureDetailsCodeEnum = "TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_EMPTY_BUCKET" FailureDetailsCodeTerraformObjectStorageConfigSourceNoTfFilePresent FailureDetailsCodeEnum = "TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_NO_TF_FILE_PRESENT" FailureDetailsCodeTerraformObjectStorageConfigSourceUnsupportedObjectSize FailureDetailsCodeEnum = "TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_UNSUPPORTED_OBJECT_SIZE" FailureDetailsCodeCustomTerraformProviderBucketNotFound FailureDetailsCodeEnum = "CUSTOM_TERRAFORM_PROVIDER_BUCKET_NOT_FOUND" FailureDetailsCodeCustomTerraformProviderUnsupportedObjectSize FailureDetailsCodeEnum = "CUSTOM_TERRAFORM_PROVIDER_UNSUPPORTED_OBJECT_SIZE" )
func GetFailureDetailsCodeEnumValues() []FailureDetailsCodeEnum
GetFailureDetailsCodeEnumValues Enumerates the set of values for FailureDetailsCodeEnum
func GetMappingFailureDetailsCodeEnum(val string) (FailureDetailsCodeEnum, bool)
GetMappingFailureDetailsCodeEnum performs case Insensitive comparison on enum value and return the desired enum
GetConfigurationSourceProviderRequest wrapper for the GetConfigurationSourceProvider operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetConfigurationSourceProviderRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetConfigurationSourceProviderRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
GetJobDetailedLogContentRequest wrapper for the GetJobDetailedLogContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/resourcemanager/GetJobDetailedLogContent.go.html to see an example of how to use GetJobDetailedLogContentRequest.
type GetJobDetailedLogContentRequest 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 GetJobDetailedLogContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobDetailedLogContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobDetailedLogContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobDetailedLogContentRequest) String() string
func (request GetJobDetailedLogContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetJobDetailedLogContentResponse wrapper for the GetJobDetailedLogContent operation
type GetJobDetailedLogContentResponse 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 GetJobDetailedLogContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobDetailedLogContentResponse) String() string
GetJobLogsContentRequest wrapper for the GetJobLogsContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobLogsContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetJobLogsContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetJobLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingGetJobLogsSortOrderEnum(val string) (GetJobLogsSortOrderEnum, bool)
GetMappingGetJobLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
GetJobRequest wrapper for the GetJob operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobTfConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetJobTfConfigRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
GetJobTfPlanRequest wrapper for the GetJobTfPlan operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/resourcemanager/GetJobTfPlan.go.html to see an example of how to use GetJobTfPlanRequest.
type GetJobTfPlanRequest 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"` // The output format of the Terraform plan. TfPlanFormat GetJobTfPlanTfPlanFormatEnum `mandatory:"false" contributesTo:"query" name:"tfPlanFormat" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetJobTfPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobTfPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobTfPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobTfPlanRequest) String() string
func (request GetJobTfPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetJobTfPlanResponse wrapper for the GetJobTfPlan operation
type GetJobTfPlanResponse 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 GetJobTfPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobTfPlanResponse) String() string
GetJobTfPlanTfPlanFormatEnum Enum with underlying type: string
type GetJobTfPlanTfPlanFormatEnum string
Set of constants representing the allowable values for GetJobTfPlanTfPlanFormatEnum
const ( GetJobTfPlanTfPlanFormatBinary GetJobTfPlanTfPlanFormatEnum = "BINARY" GetJobTfPlanTfPlanFormatJson GetJobTfPlanTfPlanFormatEnum = "JSON" )
func GetGetJobTfPlanTfPlanFormatEnumValues() []GetJobTfPlanTfPlanFormatEnum
GetGetJobTfPlanTfPlanFormatEnumValues Enumerates the set of values for GetJobTfPlanTfPlanFormatEnum
func GetMappingGetJobTfPlanTfPlanFormatEnum(val string) (GetJobTfPlanTfPlanFormatEnum, bool)
GetMappingGetJobTfPlanTfPlanFormatEnum performs case Insensitive comparison on enum value and return the desired enum
GetJobTfStateRequest wrapper for the GetJobTfState operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobTfStateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetJobTfStateRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
GetPrivateEndpointRequest wrapper for the GetPrivateEndpoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/resourcemanager/GetPrivateEndpoint.go.html to see an example of how to use GetPrivateEndpointRequest.
type GetPrivateEndpointRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` // 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 GetPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPrivateEndpointRequest) String() string
func (request GetPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetPrivateEndpointResponse wrapper for the GetPrivateEndpoint operation
type GetPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The PrivateEndpoint instance PrivateEndpoint `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 GetPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPrivateEndpointResponse) String() string
GetReachableIpRequest wrapper for the GetReachableIp operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/resourcemanager/GetReachableIp.go.html to see an example of how to use GetReachableIpRequest.
type GetReachableIpRequest struct { // The IP address of the resource in the private subnet. PrivateIp *string `mandatory:"true" contributesTo:"query" name:"privateIp"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` // 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 GetReachableIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetReachableIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetReachableIpRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetReachableIpRequest) String() string
func (request GetReachableIpRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetReachableIpResponse wrapper for the GetReachableIp operation
type GetReachableIpResponse struct { // The underlying http response RawResponse *http.Response // The ReachableIp instance ReachableIp `presentIn:"body"` // Unique identifier for the request. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetReachableIpResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetReachableIpResponse) String() string
GetStackRequest wrapper for the GetStack operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetStackRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetStackRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetStackTfConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetStackTfConfigRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetStackTfStateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetStackTfStateRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTemplateLogoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetTemplateLogoRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTemplateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetTemplateRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTemplateTfConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetTemplateTfConfigRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). 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
func (m GitConfigSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m GitConfigSourceRecord) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // Username which is used to authorize the user. Username *string `mandatory:"false" json:"username"` // Secret ocid which is used to authorize the user. SecretId *string `mandatory:"false" json:"secretId"` // 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#concepts__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) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m GithubAccessTokenConfigurationSourceProvider) GetSecretId() *string
GetSecretId returns SecretId
func (m GithubAccessTokenConfigurationSourceProvider) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GithubAccessTokenConfigurationSourceProvider) GetUsername() *string
GetUsername returns Username
func (m GithubAccessTokenConfigurationSourceProvider) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubAccessTokenConfigurationSourceProvider) String() string
func (m GithubAccessTokenConfigurationSourceProvider) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // 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#concepts__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) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
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
func (m GithubAccessTokenConfigurationSourceProviderSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // Username which is used to authorize the user. Username *string `mandatory:"false" json:"username"` // Secret ocid which is used to authorize the user. SecretId *string `mandatory:"false" json:"secretId"` // 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#concepts__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) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m GitlabAccessTokenConfigurationSourceProvider) GetSecretId() *string
GetSecretId returns SecretId
func (m GitlabAccessTokenConfigurationSourceProvider) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabAccessTokenConfigurationSourceProvider) GetUsername() *string
GetUsername returns Username
func (m GitlabAccessTokenConfigurationSourceProvider) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabAccessTokenConfigurationSourceProvider) String() string
func (m GitlabAccessTokenConfigurationSourceProvider) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` PrivateServerConfigDetails *PrivateServerConfigDetails `mandatory:"false" json:"privateServerConfigDetails"` // 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#concepts__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) GetPrivateServerConfigDetails() *PrivateServerConfigDetails
GetPrivateServerConfigDetails returns PrivateServerConfigDetails
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
func (m GitlabAccessTokenConfigurationSourceProviderSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ImportTfStateJobOperationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ImportTfStateJobOperationDetailsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Job The properties of a job. A job performs the actions that are defined in your Terraform configuration. For instructions on managing jobs, see Managing Jobs (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/jobs.htm). For more information about jobs, see Key Concepts (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__jobdefinition).
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"` // When `true`, the stack sources third-party Terraform providers from // Terraform Registry (https://registry.terraform.io/browse/providers) and allows // CustomTerraformProvider. // For more information about stack sourcing of third-party Terraform providers, see // Third-party Provider Configuration (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#third-party-providers). IsThirdPartyProviderExperienceEnabled *bool `mandatory:"false" json:"isThirdPartyProviderExperienceEnabled"` // Specifies whether or not to upgrade provider versions. // Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. // For more information about this option, see Dependency Lock File (terraform.io) (https://www.terraform.io/language/files/dependency-lock). IsProviderUpgradeRequired *bool `mandatory:"false" json:"isProviderUpgradeRequired"` 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#concepts__JobStates). LifecycleState JobLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` FailureDetails *FailureDetails `mandatory:"false" json:"failureDetails"` CancellationDetails *CancellationDetails `mandatory:"false" json:"cancellationDetails"` // File path to the directory to use for running Terraform. // If not specified, the root directory is used. // Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. // Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. // For more information about required and recommended file structure, see // File Structure (Terraform Configurations for Resource Manager) (https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure). 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 8192 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
func (m Job) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingJobLifecycleStateEnum(val string) (JobLifecycleStateEnum, bool)
GetMappingJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
JobOperationDetails Job details that are specific to the operation type.
type JobOperationDetails interface { }
JobOperationDetailsSummary A summary of job details that is 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" JobOperationPlanRollback JobOperationEnum = "PLAN_ROLLBACK" JobOperationApplyRollback JobOperationEnum = "APPLY_ROLLBACK" )
func GetJobOperationEnumValues() []JobOperationEnum
GetJobOperationEnumValues Enumerates the set of values for JobOperationEnum
func GetMappingJobOperationEnum(val string) (JobOperationEnum, bool)
GetMappingJobOperationEnum performs case Insensitive comparison on enum value and return the desired enum
JobOutputSummary Terraform output associated with a job.
type JobOutputSummary struct { // Name of the output. OutputName *string `mandatory:"false" json:"outputName"` // Output resource type. OutputType *string `mandatory:"false" json:"outputType"` // Value of the Terraform output. OutputValue *string `mandatory:"false" json:"outputValue"` // When `true`, output is sensitive. IsSensitive *bool `mandatory:"false" json:"isSensitive"` // Description of the output. Description *string `mandatory:"false" json:"description"` }
func (m JobOutputSummary) String() string
func (m JobOutputSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobOutputsCollection The list of outputs associated with a job.
type JobOutputsCollection struct { // A list of output summaries. Items []JobOutputSummary `mandatory:"true" json:"items"` }
func (m JobOutputsCollection) String() string
func (m JobOutputsCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobSummary Summary information for a job.
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#concepts__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
func (m JobSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported