Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Functions.getFusionEnvironmentServiceAttachment
Explore with Pulumi AI
This data source provides details about a specific Fusion Environment Service Attachment resource in Oracle Cloud Infrastructure Fusion Apps service.
Gets a Service Attachment by identifier
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFusionEnvironmentServiceAttachment = oci.Functions.getFusionEnvironmentServiceAttachment({
    fusionEnvironmentId: testFusionEnvironment.id,
    serviceAttachmentId: testServiceAttachment.id,
});
import pulumi
import pulumi_oci as oci
test_fusion_environment_service_attachment = oci.Functions.get_fusion_environment_service_attachment(fusion_environment_id=test_fusion_environment["id"],
    service_attachment_id=test_service_attachment["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/functions"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := functions.GetFusionEnvironmentServiceAttachment(ctx, &functions.GetFusionEnvironmentServiceAttachmentArgs{
			FusionEnvironmentId: testFusionEnvironment.Id,
			ServiceAttachmentId: testServiceAttachment.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testFusionEnvironmentServiceAttachment = Oci.Functions.GetFusionEnvironmentServiceAttachment.Invoke(new()
    {
        FusionEnvironmentId = testFusionEnvironment.Id,
        ServiceAttachmentId = testServiceAttachment.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Functions.FunctionsFunctions;
import com.pulumi.oci.Functions.inputs.GetFusionEnvironmentServiceAttachmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testFusionEnvironmentServiceAttachment = FunctionsFunctions.getFusionEnvironmentServiceAttachment(GetFusionEnvironmentServiceAttachmentArgs.builder()
            .fusionEnvironmentId(testFusionEnvironment.id())
            .serviceAttachmentId(testServiceAttachment.id())
            .build());
    }
}
variables:
  testFusionEnvironmentServiceAttachment:
    fn::invoke:
      function: oci:Functions:getFusionEnvironmentServiceAttachment
      arguments:
        fusionEnvironmentId: ${testFusionEnvironment.id}
        serviceAttachmentId: ${testServiceAttachment.id}
Using getFusionEnvironmentServiceAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFusionEnvironmentServiceAttachment(args: GetFusionEnvironmentServiceAttachmentArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentServiceAttachmentResult>
function getFusionEnvironmentServiceAttachmentOutput(args: GetFusionEnvironmentServiceAttachmentOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentServiceAttachmentResult>def get_fusion_environment_service_attachment(fusion_environment_id: Optional[str] = None,
                                              service_attachment_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentServiceAttachmentResult
def get_fusion_environment_service_attachment_output(fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                              service_attachment_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentServiceAttachmentResult]func GetFusionEnvironmentServiceAttachment(ctx *Context, args *GetFusionEnvironmentServiceAttachmentArgs, opts ...InvokeOption) (*GetFusionEnvironmentServiceAttachmentResult, error)
func GetFusionEnvironmentServiceAttachmentOutput(ctx *Context, args *GetFusionEnvironmentServiceAttachmentOutputArgs, opts ...InvokeOption) GetFusionEnvironmentServiceAttachmentResultOutput> Note: This function is named GetFusionEnvironmentServiceAttachment in the Go SDK.
public static class GetFusionEnvironmentServiceAttachment 
{
    public static Task<GetFusionEnvironmentServiceAttachmentResult> InvokeAsync(GetFusionEnvironmentServiceAttachmentArgs args, InvokeOptions? opts = null)
    public static Output<GetFusionEnvironmentServiceAttachmentResult> Invoke(GetFusionEnvironmentServiceAttachmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFusionEnvironmentServiceAttachmentResult> getFusionEnvironmentServiceAttachment(GetFusionEnvironmentServiceAttachmentArgs args, InvokeOptions options)
public static Output<GetFusionEnvironmentServiceAttachmentResult> getFusionEnvironmentServiceAttachment(GetFusionEnvironmentServiceAttachmentArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Functions/getFusionEnvironmentServiceAttachment:getFusionEnvironmentServiceAttachment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Fusion
Environment stringId  - unique FusionEnvironment identifier
 - Service
Attachment stringId  - OCID of the Service Attachment
 
- Fusion
Environment stringId  - unique FusionEnvironment identifier
 - Service
Attachment stringId  - OCID of the Service Attachment
 
- fusion
Environment StringId  - unique FusionEnvironment identifier
 - service
Attachment StringId  - OCID of the Service Attachment
 
- fusion
Environment stringId  - unique FusionEnvironment identifier
 - service
Attachment stringId  - OCID of the Service Attachment
 
- fusion_
environment_ strid  - unique FusionEnvironment identifier
 - service_
attachment_ strid  - OCID of the Service Attachment
 
- fusion
Environment StringId  - unique FusionEnvironment identifier
 - service
Attachment StringId  - OCID of the Service Attachment
 
getFusionEnvironmentServiceAttachment Result
The following output properties are available:
- Compartment
Id string - Compartment Identifier
 - Dictionary<string, string>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Display
Name string - Service Attachment Display name, can be renamed
 - Dictionary<string, string>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - Fusion
Environment stringId  - Id string
 - Unique identifier that is immutable on creation
 - Is
Sku boolBased  - Whether this service is provisioned due to the customer being subscribed to a specific SKU
 - Service
Attachment stringId  - Service
Instance stringId  - The ID of the service instance created that can be used to identify this on the service control plane
 - Service
Instance stringType  - Type of the serviceInstance.
 - Service
Url string - Public URL
 - State string
 - The current state of the ServiceInstance.
 - Time
Created string - The time the the ServiceInstance was created. An RFC3339 formatted datetime string
 - Time
Updated string - The time the ServiceInstance was updated. An RFC3339 formatted datetime string
 
- Compartment
Id string - Compartment Identifier
 - map[string]string
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Display
Name string - Service Attachment Display name, can be renamed
 - map[string]string
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - Fusion
Environment stringId  - Id string
 - Unique identifier that is immutable on creation
 - Is
Sku boolBased  - Whether this service is provisioned due to the customer being subscribed to a specific SKU
 - Service
Attachment stringId  - Service
Instance stringId  - The ID of the service instance created that can be used to identify this on the service control plane
 - Service
Instance stringType  - Type of the serviceInstance.
 - Service
Url string - Public URL
 - State string
 - The current state of the ServiceInstance.
 - Time
Created string - The time the the ServiceInstance was created. An RFC3339 formatted datetime string
 - Time
Updated string - The time the ServiceInstance was updated. An RFC3339 formatted datetime string
 
- compartment
Id String - Compartment Identifier
 - Map<String,String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name String - Service Attachment Display name, can be renamed
 - Map<String,String>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - fusion
Environment StringId  - id String
 - Unique identifier that is immutable on creation
 - is
Sku BooleanBased  - Whether this service is provisioned due to the customer being subscribed to a specific SKU
 - service
Attachment StringId  - service
Instance StringId  - The ID of the service instance created that can be used to identify this on the service control plane
 - service
Instance StringType  - Type of the serviceInstance.
 - service
Url String - Public URL
 - state String
 - The current state of the ServiceInstance.
 - time
Created String - The time the the ServiceInstance was created. An RFC3339 formatted datetime string
 - time
Updated String - The time the ServiceInstance was updated. An RFC3339 formatted datetime string
 
- compartment
Id string - Compartment Identifier
 - {[key: string]: string}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name string - Service Attachment Display name, can be renamed
 - {[key: string]: string}
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - fusion
Environment stringId  - id string
 - Unique identifier that is immutable on creation
 - is
Sku booleanBased  - Whether this service is provisioned due to the customer being subscribed to a specific SKU
 - service
Attachment stringId  - service
Instance stringId  - The ID of the service instance created that can be used to identify this on the service control plane
 - service
Instance stringType  - Type of the serviceInstance.
 - service
Url string - Public URL
 - state string
 - The current state of the ServiceInstance.
 - time
Created string - The time the the ServiceInstance was created. An RFC3339 formatted datetime string
 - time
Updated string - The time the ServiceInstance was updated. An RFC3339 formatted datetime string
 
- compartment_
id str - Compartment Identifier
 - Mapping[str, str]
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display_
name str - Service Attachment Display name, can be renamed
 - Mapping[str, str]
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - fusion_
environment_ strid  - id str
 - Unique identifier that is immutable on creation
 - is_
sku_ boolbased  - Whether this service is provisioned due to the customer being subscribed to a specific SKU
 - service_
attachment_ strid  - service_
instance_ strid  - The ID of the service instance created that can be used to identify this on the service control plane
 - service_
instance_ strtype  - Type of the serviceInstance.
 - service_
url str - Public URL
 - state str
 - The current state of the ServiceInstance.
 - time_
created str - The time the the ServiceInstance was created. An RFC3339 formatted datetime string
 - time_
updated str - The time the ServiceInstance was updated. An RFC3339 formatted datetime string
 
- compartment
Id String - Compartment Identifier
 - Map<String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - display
Name String - Service Attachment Display name, can be renamed
 - Map<String>
 - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - fusion
Environment StringId  - id String
 - Unique identifier that is immutable on creation
 - is
Sku BooleanBased  - Whether this service is provisioned due to the customer being subscribed to a specific SKU
 - service
Attachment StringId  - service
Instance StringId  - The ID of the service instance created that can be used to identify this on the service control plane
 - service
Instance StringType  - Type of the serviceInstance.
 - service
Url String - Public URL
 - state String
 - The current state of the ServiceInstance.
 - time
Created String - The time the the ServiceInstance was created. An RFC3339 formatted datetime string
 - time
Updated String - The time the ServiceInstance was updated. An RFC3339 formatted datetime string
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.