Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 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:
- FusionEnvironment stringId 
- unique FusionEnvironment identifier
- ServiceAttachment stringId 
- OCID of the Service Attachment
- FusionEnvironment stringId 
- unique FusionEnvironment identifier
- ServiceAttachment stringId 
- OCID of the Service Attachment
- fusionEnvironment StringId 
- unique FusionEnvironment identifier
- serviceAttachment StringId 
- OCID of the Service Attachment
- fusionEnvironment stringId 
- unique FusionEnvironment identifier
- serviceAttachment stringId 
- OCID of the Service Attachment
- fusion_environment_ strid 
- unique FusionEnvironment identifier
- service_attachment_ strid 
- OCID of the Service Attachment
- fusionEnvironment StringId 
- unique FusionEnvironment identifier
- serviceAttachment StringId 
- OCID of the Service Attachment
getFusionEnvironmentServiceAttachment Result
The following output properties are available:
- CompartmentId 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"}
- DisplayName 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"}
- FusionEnvironment stringId 
- Id string
- Unique identifier that is immutable on creation
- IsSku boolBased 
- Whether this service is provisioned due to the customer being subscribed to a specific SKU
- ServiceAttachment stringId 
- ServiceInstance stringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- ServiceInstance stringType 
- Type of the serviceInstance.
- ServiceUrl string
- Public URL
- State string
- The current state of the ServiceInstance.
- TimeCreated string
- The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the ServiceInstance was updated. An RFC3339 formatted datetime string
- CompartmentId 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"}
- DisplayName 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"}
- FusionEnvironment stringId 
- Id string
- Unique identifier that is immutable on creation
- IsSku boolBased 
- Whether this service is provisioned due to the customer being subscribed to a specific SKU
- ServiceAttachment stringId 
- ServiceInstance stringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- ServiceInstance stringType 
- Type of the serviceInstance.
- ServiceUrl string
- Public URL
- State string
- The current state of the ServiceInstance.
- TimeCreated string
- The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the ServiceInstance was updated. An RFC3339 formatted datetime string
- compartmentId 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"}
- displayName 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"}
- fusionEnvironment StringId 
- id String
- Unique identifier that is immutable on creation
- isSku BooleanBased 
- Whether this service is provisioned due to the customer being subscribed to a specific SKU
- serviceAttachment StringId 
- serviceInstance StringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- serviceInstance StringType 
- Type of the serviceInstance.
- serviceUrl String
- Public URL
- state String
- The current state of the ServiceInstance.
- timeCreated String
- The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- timeUpdated String
- The time the ServiceInstance was updated. An RFC3339 formatted datetime string
- compartmentId 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"}
- displayName 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"}
- fusionEnvironment stringId 
- id string
- Unique identifier that is immutable on creation
- isSku booleanBased 
- Whether this service is provisioned due to the customer being subscribed to a specific SKU
- serviceAttachment stringId 
- serviceInstance stringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- serviceInstance stringType 
- Type of the serviceInstance.
- serviceUrl string
- Public URL
- state string
- The current state of the ServiceInstance.
- timeCreated string
- The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- timeUpdated 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
- compartmentId 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"}
- displayName 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"}
- fusionEnvironment StringId 
- id String
- Unique identifier that is immutable on creation
- isSku BooleanBased 
- Whether this service is provisioned due to the customer being subscribed to a specific SKU
- serviceAttachment StringId 
- serviceInstance StringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- serviceInstance StringType 
- Type of the serviceInstance.
- serviceUrl String
- Public URL
- state String
- The current state of the ServiceInstance.
- timeCreated String
- The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- timeUpdated 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.