@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public class ResourceManagerClient extends BaseSyncClient implements ResourceManager
Modifier and Type | Class and Description |
---|---|
static class |
ResourceManagerClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for ResourceManager.
|
Constructor and Description |
---|
ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
ResourceManagerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
ResourceManagerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
ResourceManagerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
Modifier and Type | Method and Description |
---|---|
static ResourceManagerClient.Builder |
builder()
Create a builder for this client.
|
CancelJobResponse |
cancelJob(CancelJobRequest request)
Indicates the intention to cancel the specified job.
|
ChangeConfigurationSourceProviderCompartmentResponse |
changeConfigurationSourceProviderCompartment(ChangeConfigurationSourceProviderCompartmentRequest request)
Moves a configuration source provider into a different compartment within the same tenancy.
|
ChangePrivateEndpointCompartmentResponse |
changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)
Moves a private endpoint to a different compartment within the same tenancy.
|
ChangeStackCompartmentResponse |
changeStackCompartment(ChangeStackCompartmentRequest request)
Moves a stack (and its associated jobs) into a different compartment within the same tenancy.
|
ChangeTemplateCompartmentResponse |
changeTemplateCompartment(ChangeTemplateCompartmentRequest request)
Moves a template into a different compartment within the same tenancy.
|
void |
close() |
CreateConfigurationSourceProviderResponse |
createConfigurationSourceProvider(CreateConfigurationSourceProviderRequest request)
Creates a configuration source provider in the specified compartment.
|
CreateJobResponse |
createJob(CreateJobRequest request)
Creates a job.
|
CreatePrivateEndpointResponse |
createPrivateEndpoint(CreatePrivateEndpointRequest request)
Creates a private endpoint in the specified compartment.
|
CreateStackResponse |
createStack(CreateStackRequest request)
Creates a stack in the specified compartment.
|
CreateTemplateResponse |
createTemplate(CreateTemplateRequest request)
Creates a private template in the specified compartment.
|
DeleteConfigurationSourceProviderResponse |
deleteConfigurationSourceProvider(DeleteConfigurationSourceProviderRequest request)
Deletes the specified configuration source provider.
|
DeletePrivateEndpointResponse |
deletePrivateEndpoint(DeletePrivateEndpointRequest request)
Deletes the specified private endpoint.
|
DeleteStackResponse |
deleteStack(DeleteStackRequest request)
Deletes the specified stack.
|
DeleteTemplateResponse |
deleteTemplate(DeleteTemplateRequest request)
Deletes the specified template.
|
DetectStackDriftResponse |
detectStackDrift(DetectStackDriftRequest request)
Checks drift status for the specified stack.
|
String |
getClientCommonLibraryVersion() |
GetConfigurationSourceProviderResponse |
getConfigurationSourceProvider(GetConfigurationSourceProviderRequest request)
Gets the properties of the specified configuration source provider.
|
protected ClientConfigurator |
getDefaultConfigurator() |
String |
getEndpoint() |
GetJobResponse |
getJob(GetJobRequest request)
Gets the properties of the specified job.
|
GetJobDetailedLogContentResponse |
getJobDetailedLogContent(GetJobDetailedLogContentRequest request)
Returns the Terraform detailed log content for the specified job in plain text.
|
GetJobLogsResponse |
getJobLogs(GetJobLogsRequest request)
Returns console log entries for the specified job in JSON format.
|
GetJobLogsContentResponse |
getJobLogsContent(GetJobLogsContentRequest request)
Returns the raw log file for the specified job in text format.
|
GetJobTfConfigResponse |
getJobTfConfig(GetJobTfConfigRequest request)
Returns the Terraform configuration for the specified job in zip format.
|
GetJobTfPlanResponse |
getJobTfPlan(GetJobTfPlanRequest request)
Returns the output of the specified Terraform plan job in binary or JSON format.
|
GetJobTfStateResponse |
getJobTfState(GetJobTfStateRequest request)
Returns the Terraform state for the specified job.
|
Optional<String> |
getMinimumClientCommonLibraryVersionFromClient() |
ResourceManagerPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetPrivateEndpointResponse |
getPrivateEndpoint(GetPrivateEndpointRequest request)
Gets the specified private endpoint.
|
GetReachableIpResponse |
getReachableIp(GetReachableIpRequest request)
Gets the reachable, or alternative, IP address for a nonpublic IP address that is associated
with the private endpoint.
|
GetStackResponse |
getStack(GetStackRequest request)
Gets the specified stack.
|
GetStackTfConfigResponse |
getStackTfConfig(GetStackTfConfigRequest request)
Returns the Terraform configuration file for the specified stack in zip format.
|
GetStackTfStateResponse |
getStackTfState(GetStackTfStateRequest request)
Returns the Terraform state for the specified stack.
|
GetTemplateResponse |
getTemplate(GetTemplateRequest request)
Gets the specified template.
|
GetTemplateLogoResponse |
getTemplateLogo(GetTemplateLogoRequest request)
Returns the Terraform logo file in .logo format for the specified template.
|
GetTemplateTfConfigResponse |
getTemplateTfConfig(GetTemplateTfConfigRequest request)
Returns the Terraform configuration file in zip format for the specified template.
|
ResourceManagerWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Returns the specified work request.
|
ListConfigurationSourceProvidersResponse |
listConfigurationSourceProviders(ListConfigurationSourceProvidersRequest request)
Lists configuration source providers according to the specified filter.
|
ListJobAssociatedResourcesResponse |
listJobAssociatedResources(ListJobAssociatedResourcesRequest request)
Gets the list of resources associated with the specified job.
|
ListJobOutputsResponse |
listJobOutputs(ListJobOutputsRequest request)
Gets the list of outputs associated with the specified job.
|
ListJobsResponse |
listJobs(ListJobsRequest request)
Lists jobs according to the specified filter.
|
ListPrivateEndpointsResponse |
listPrivateEndpoints(ListPrivateEndpointsRequest request)
Lists private endpoints according to the specified filter.
|
ListResourceDiscoveryServicesResponse |
listResourceDiscoveryServices(ListResourceDiscoveryServicesRequest request)
Returns a list of supported services for Resource
Discovery.
|
ListStackAssociatedResourcesResponse |
listStackAssociatedResources(ListStackAssociatedResourcesRequest request)
Gets the list of resources associated with the specified stack.
|
ListStackResourceDriftDetailsResponse |
listStackResourceDriftDetails(ListStackResourceDriftDetailsRequest request)
Lists drift status details for each resource defined in the specified stack.
|
ListStacksResponse |
listStacks(ListStacksRequest request)
Lists stacks according to the specified filter.
|
ListTemplateCategoriesResponse |
listTemplateCategories(ListTemplateCategoriesRequest request)
Lists template categories.
|
ListTemplatesResponse |
listTemplates(ListTemplatesRequest request)
Lists templates according to the specified filter.
|
ListTerraformVersionsResponse |
listTerraformVersions(ListTerraformVersionsRequest request)
Returns a list of supported Terraform versions for use with stacks.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Returns a paginated list of errors for the specified work request.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Returns a paginated list of logs for the specified work request.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in the specified compartment or for the specified resource.
|
void |
populateServiceParametersInEndpoint(String endpoint,
Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base
endpoint.
|
void |
refreshClient()
Rebuild the backing
HttpClient . |
void |
setEndpoint(String endpoint) |
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
void |
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.
|
UpdateConfigurationSourceProviderResponse |
updateConfigurationSourceProvider(UpdateConfigurationSourceProviderRequest request)
Updates the properties of the specified configuration source provider.
|
UpdateJobResponse |
updateJob(UpdateJobRequest request)
Updates the specified job.
|
UpdatePrivateEndpointResponse |
updatePrivateEndpoint(UpdatePrivateEndpointRequest request)
Updates the specified private endpoint.
|
UpdateStackResponse |
updateStack(UpdateStackRequest request)
Updates the specified stack.
|
UpdateTemplateResponse |
updateTemplate(UpdateTemplateRequest request)
Updates the specified template.
|
void |
useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.
|
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for ResourceManager.
public final String clientCommonLibraryVersion
@Deprecated public ResourceManagerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ResourceManagerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public ResourceManagerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ResourceManagerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public ResourceManagerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ResourceManagerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ResourceManagerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ResourceManagerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ResourceManagerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ResourceManagerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
@Deprecated public ResourceManagerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ResourceManagerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- ResourceManagerClient.Builder.executorService
public static ResourceManagerClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
ResourceManager
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this Region, however, an
IllegalArgumentException will be raised.
setRegion
in interface ResourceManager
region
- The region of the service.public void setRegion(String regionId)
ResourceManager
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default
endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
setRegion
in interface ResourceManager
regionId
- The public region ID.public CancelJobResponse cancelJob(CancelJobRequest request)
ResourceManager
Indicates the intention to cancel the specified job. Cancellation of the job is not
immediate, and may be delayed, or may not happen at all. You can optionally choose forced
cancellation by setting isForced
to true. 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.
cancelJob
in interface ResourceManager
request
- The request object containing the details to sendpublic ChangeConfigurationSourceProviderCompartmentResponse changeConfigurationSourceProviderCompartment(ChangeConfigurationSourceProviderCompartmentRequest request)
ResourceManager
Moves a configuration source provider into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeConfigurationSourceProviderCompartment
in interface ResourceManager
request
- The request object containing the details to sendpublic ChangePrivateEndpointCompartmentResponse changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)
ResourceManager
Moves a private endpoint to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changePrivateEndpointCompartment
in interface ResourceManager
request
- The request object containing the details to sendpublic ChangeStackCompartmentResponse changeStackCompartment(ChangeStackCompartmentRequest request)
ResourceManager
Moves a stack (and its associated jobs) into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeStackCompartment
in interface ResourceManager
request
- The request object containing the details to sendpublic ChangeTemplateCompartmentResponse changeTemplateCompartment(ChangeTemplateCompartmentRequest request)
ResourceManager
Moves a template into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeTemplateCompartment
in interface ResourceManager
request
- The request object containing the details to sendpublic CreateConfigurationSourceProviderResponse createConfigurationSourceProvider(CreateConfigurationSourceProviderRequest request)
ResourceManager
Creates a configuration source provider in the specified compartment. For more information, see To create a configuration source provider.
createConfigurationSourceProvider
in interface ResourceManager
request
- The request object containing the details to sendpublic CreateJobResponse createJob(CreateJobRequest request)
ResourceManager
Creates a job.
createJob
in interface ResourceManager
request
- The request object containing the details to sendpublic CreatePrivateEndpointResponse createPrivateEndpoint(CreatePrivateEndpointRequest request)
ResourceManager
Creates a private endpoint in the specified compartment.
createPrivateEndpoint
in interface ResourceManager
request
- The request object containing the details to sendpublic CreateStackResponse createStack(CreateStackRequest request)
ResourceManager
Creates a stack in the specified compartment. You can create a stack from a Terraform configuration. The Terraform configuration can be directly uploaded or referenced from a source code control system. You can also create a stack from an existing compartment, which generates a Terraform configuration. You can also upload the Terraform configuration from an Object Storage bucket. For more information, see Creating Stacks.
createStack
in interface ResourceManager
request
- The request object containing the details to sendpublic CreateTemplateResponse createTemplate(CreateTemplateRequest request)
ResourceManager
Creates a private template in the specified compartment.
createTemplate
in interface ResourceManager
request
- The request object containing the details to sendpublic DeleteConfigurationSourceProviderResponse deleteConfigurationSourceProvider(DeleteConfigurationSourceProviderRequest request)
ResourceManager
Deletes the specified configuration source provider.
deleteConfigurationSourceProvider
in interface ResourceManager
request
- The request object containing the details to sendpublic DeletePrivateEndpointResponse deletePrivateEndpoint(DeletePrivateEndpointRequest request)
ResourceManager
Deletes the specified private endpoint.
deletePrivateEndpoint
in interface ResourceManager
request
- The request object containing the details to sendpublic DeleteStackResponse deleteStack(DeleteStackRequest request)
ResourceManager
Deletes the specified stack.
deleteStack
in interface ResourceManager
request
- The request object containing the details to sendpublic DeleteTemplateResponse deleteTemplate(DeleteTemplateRequest request)
ResourceManager
Deletes the specified template.
deleteTemplate
in interface ResourceManager
request
- The request object containing the details to sendpublic DetectStackDriftResponse detectStackDrift(DetectStackDriftRequest request)
ResourceManager
Checks drift status for the specified stack.
detectStackDrift
in interface ResourceManager
request
- The request object containing the details to sendpublic GetConfigurationSourceProviderResponse getConfigurationSourceProvider(GetConfigurationSourceProviderRequest request)
ResourceManager
Gets the properties of the specified configuration source provider.
getConfigurationSourceProvider
in interface ResourceManager
request
- The request object containing the details to sendpublic GetJobResponse getJob(GetJobRequest request)
ResourceManager
Gets the properties of the specified job.
getJob
in interface ResourceManager
request
- The request object containing the details to sendpublic GetJobDetailedLogContentResponse getJobDetailedLogContent(GetJobDetailedLogContentRequest request)
ResourceManager
Returns the Terraform detailed log content for the specified job in plain text. Learn about Terraform detailed log.
getJobDetailedLogContent
in interface ResourceManager
request
- The request object containing the details to sendpublic GetJobLogsResponse getJobLogs(GetJobLogsRequest request)
ResourceManager
Returns console log entries for the specified job in JSON format.
getJobLogs
in interface ResourceManager
request
- The request object containing the details to sendpublic GetJobLogsContentResponse getJobLogsContent(GetJobLogsContentRequest request)
ResourceManager
Returns the raw log file for the specified job in text format. The file includes a maximum of 100,000 log entries.
getJobLogsContent
in interface ResourceManager
request
- The request object containing the details to sendpublic GetJobTfConfigResponse getJobTfConfig(GetJobTfConfigRequest request)
ResourceManager
Returns the Terraform configuration for the specified job in zip format. If no zip file is found, returns an error.
getJobTfConfig
in interface ResourceManager
request
- The request object containing the details to sendpublic GetJobTfPlanResponse getJobTfPlan(GetJobTfPlanRequest request)
ResourceManager
Returns the output of the specified Terraform plan job in binary or JSON format. For information about running Terraform plan jobs, see Creating Plan Jobs.
getJobTfPlan
in interface ResourceManager
request
- The request object containing the details to sendpublic GetJobTfStateResponse getJobTfState(GetJobTfStateRequest request)
ResourceManager
Returns the Terraform state for the specified job.
getJobTfState
in interface ResourceManager
request
- The request object containing the details to sendpublic GetPrivateEndpointResponse getPrivateEndpoint(GetPrivateEndpointRequest request)
ResourceManager
Gets the specified private endpoint.
getPrivateEndpoint
in interface ResourceManager
request
- The request object containing the details to sendpublic GetReachableIpResponse getReachableIp(GetReachableIpRequest request)
ResourceManager
Gets the reachable, or alternative, IP address for a nonpublic IP address that is associated with the private endpoint. Resource Manager uses this IP address to connect to nonpublic resources through the associated private endpoint.
getReachableIp
in interface ResourceManager
request
- The request object containing the details to sendpublic GetStackResponse getStack(GetStackRequest request)
ResourceManager
Gets the specified stack.
getStack
in interface ResourceManager
request
- The request object containing the details to sendpublic GetStackTfConfigResponse getStackTfConfig(GetStackTfConfigRequest request)
ResourceManager
Returns the Terraform configuration file for the specified stack in zip format. Returns an error if no zip file is found.
getStackTfConfig
in interface ResourceManager
request
- The request object containing the details to sendpublic GetStackTfStateResponse getStackTfState(GetStackTfStateRequest request)
ResourceManager
Returns the Terraform state for the specified stack.
getStackTfState
in interface ResourceManager
request
- The request object containing the details to sendpublic GetTemplateResponse getTemplate(GetTemplateRequest request)
ResourceManager
Gets the specified template.
getTemplate
in interface ResourceManager
request
- The request object containing the details to sendpublic GetTemplateLogoResponse getTemplateLogo(GetTemplateLogoRequest request)
ResourceManager
Returns the Terraform logo file in .logo format for the specified template. Returns an error if no logo file is found.
getTemplateLogo
in interface ResourceManager
request
- The request object containing the details to sendpublic GetTemplateTfConfigResponse getTemplateTfConfig(GetTemplateTfConfigRequest request)
ResourceManager
Returns the Terraform configuration file in zip format for the specified template. Returns an error if no zip file is found.
getTemplateTfConfig
in interface ResourceManager
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
ResourceManager
Returns the specified work request.
getWorkRequest
in interface ResourceManager
request
- The request object containing the details to sendpublic ListConfigurationSourceProvidersResponse listConfigurationSourceProviders(ListConfigurationSourceProvidersRequest request)
ResourceManager
Lists configuration source providers according to the specified filter. - For
compartmentId
, lists all configuration source providers in the matching compartment. - For
configurationSourceProviderId
, lists the matching configuration source provider.
listConfigurationSourceProviders
in interface ResourceManager
request
- The request object containing the details to sendpublic ListJobAssociatedResourcesResponse listJobAssociatedResources(ListJobAssociatedResourcesRequest request)
ResourceManager
Gets the list of resources associated with the specified job.
listJobAssociatedResources
in interface ResourceManager
request
- The request object containing the details to sendpublic ListJobOutputsResponse listJobOutputs(ListJobOutputsRequest request)
ResourceManager
Gets the list of outputs associated with the specified job.
listJobOutputs
in interface ResourceManager
request
- The request object containing the details to sendpublic ListJobsResponse listJobs(ListJobsRequest request)
ResourceManager
Lists jobs according to the specified filter. By default, the list is ordered by time created.
- To list all jobs in a stack, provide the stack
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - To
list all jobs in a compartment, provide the compartment
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - To
return a specific job, provide the job
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
(Equivalent to getStack
.)
listJobs
in interface ResourceManager
request
- The request object containing the details to sendpublic ListPrivateEndpointsResponse listPrivateEndpoints(ListPrivateEndpointsRequest request)
ResourceManager
Lists private endpoints according to the specified filter. - For compartmentId
, lists all
private endpoints in the matching compartment. - For privateEndpointId
, lists the matching
private endpoint.
listPrivateEndpoints
in interface ResourceManager
request
- The request object containing the details to sendpublic ListResourceDiscoveryServicesResponse listResourceDiscoveryServices(ListResourceDiscoveryServicesRequest request)
ResourceManager
Returns a list of supported services for Resource Discovery. For reference on service names, see the Terraform provider documentation.
listResourceDiscoveryServices
in interface ResourceManager
request
- The request object containing the details to sendpublic ListStackAssociatedResourcesResponse listStackAssociatedResources(ListStackAssociatedResourcesRequest request)
ResourceManager
Gets the list of resources associated with the specified stack.
listStackAssociatedResources
in interface ResourceManager
request
- The request object containing the details to sendpublic ListStackResourceDriftDetailsResponse listStackResourceDriftDetails(ListStackResourceDriftDetailsRequest request)
ResourceManager
Lists drift status details for each resource defined in the specified stack. The drift status
details for a given resource indicate differences, if any, between the actual state and the
expected (defined) state for that resource. The drift status details correspond to the
specified work request (workRequestId
). If no work request is specified, then the drift
status details correspond to the latest completed work request for the stack.
listStackResourceDriftDetails
in interface ResourceManager
request
- The request object containing the details to sendpublic ListStacksResponse listStacks(ListStacksRequest request)
ResourceManager
Lists stacks according to the specified filter. - If called using the compartment ID, returns
all stacks in the specified compartment. - If called using the stack ID, returns the
specified stack. (See also getStack
.)
listStacks
in interface ResourceManager
request
- The request object containing the details to sendpublic ListTemplateCategoriesResponse listTemplateCategories(ListTemplateCategoriesRequest request)
ResourceManager
Lists template categories.
listTemplateCategories
in interface ResourceManager
request
- The request object containing the details to sendpublic ListTemplatesResponse listTemplates(ListTemplatesRequest request)
ResourceManager
Lists templates according to the specified filter. The attributes compartmentId
and
templateCategoryId
are required unless templateId
is specified.
listTemplates
in interface ResourceManager
request
- The request object containing the details to sendpublic ListTerraformVersionsResponse listTerraformVersions(ListTerraformVersionsRequest request)
ResourceManager
Returns a list of supported Terraform versions for use with stacks.
listTerraformVersions
in interface ResourceManager
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
ResourceManager
Returns a paginated list of errors for the specified work request.
listWorkRequestErrors
in interface ResourceManager
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
ResourceManager
Returns a paginated list of logs for the specified work request.
listWorkRequestLogs
in interface ResourceManager
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
ResourceManager
Lists the work requests in the specified compartment or for the specified resource.
listWorkRequests
in interface ResourceManager
request
- The request object containing the details to sendpublic UpdateConfigurationSourceProviderResponse updateConfigurationSourceProvider(UpdateConfigurationSourceProviderRequest request)
ResourceManager
Updates the properties of the specified configuration source provider. For more information, see To edit a configuration source provider.
updateConfigurationSourceProvider
in interface ResourceManager
request
- The request object containing the details to sendpublic UpdateJobResponse updateJob(UpdateJobRequest request)
ResourceManager
Updates the specified job.
updateJob
in interface ResourceManager
request
- The request object containing the details to sendpublic UpdatePrivateEndpointResponse updatePrivateEndpoint(UpdatePrivateEndpointRequest request)
ResourceManager
Updates the specified private endpoint.
updatePrivateEndpoint
in interface ResourceManager
request
- The request object containing the details to sendpublic UpdateStackResponse updateStack(UpdateStackRequest request)
ResourceManager
Updates the specified stack. Use UpdateStack
when you update your Terraform configuration
and want your changes to be reflected in the execution plan. For more information, see
Updating
Stacks.
updateStack
in interface ResourceManager
request
- The request object containing the details to sendpublic UpdateTemplateResponse updateTemplate(UpdateTemplateRequest request)
ResourceManager
Updates the specified template.
updateTemplate
in interface ResourceManager
request
- The request object containing the details to sendpublic ResourceManagerWaiters getWaiters()
ResourceManager
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface ResourceManager
public ResourceManagerPaginators getPaginators()
ResourceManager
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface ResourceManager
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.