Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Functions.getFusionEnvironmentServiceAttachments
Explore with Pulumi AI
This data source provides the list of Fusion Environment Service Attachments in Oracle Cloud Infrastructure Fusion Apps service.
Returns a list of service attachments.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFusionEnvironmentServiceAttachments = oci.Functions.getFusionEnvironmentServiceAttachments({
    fusionEnvironmentId: testFusionEnvironment.id,
    displayName: fusionEnvironmentServiceAttachmentDisplayName,
    serviceInstanceType: fusionEnvironmentServiceAttachmentServiceInstanceType,
    state: fusionEnvironmentServiceAttachmentState,
});
import pulumi
import pulumi_oci as oci
test_fusion_environment_service_attachments = oci.Functions.get_fusion_environment_service_attachments(fusion_environment_id=test_fusion_environment["id"],
    display_name=fusion_environment_service_attachment_display_name,
    service_instance_type=fusion_environment_service_attachment_service_instance_type,
    state=fusion_environment_service_attachment_state)
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.GetFusionEnvironmentServiceAttachments(ctx, &functions.GetFusionEnvironmentServiceAttachmentsArgs{
			FusionEnvironmentId: testFusionEnvironment.Id,
			DisplayName:         pulumi.StringRef(fusionEnvironmentServiceAttachmentDisplayName),
			ServiceInstanceType: pulumi.StringRef(fusionEnvironmentServiceAttachmentServiceInstanceType),
			State:               pulumi.StringRef(fusionEnvironmentServiceAttachmentState),
		}, 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 testFusionEnvironmentServiceAttachments = Oci.Functions.GetFusionEnvironmentServiceAttachments.Invoke(new()
    {
        FusionEnvironmentId = testFusionEnvironment.Id,
        DisplayName = fusionEnvironmentServiceAttachmentDisplayName,
        ServiceInstanceType = fusionEnvironmentServiceAttachmentServiceInstanceType,
        State = fusionEnvironmentServiceAttachmentState,
    });
});
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.GetFusionEnvironmentServiceAttachmentsArgs;
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 testFusionEnvironmentServiceAttachments = FunctionsFunctions.getFusionEnvironmentServiceAttachments(GetFusionEnvironmentServiceAttachmentsArgs.builder()
            .fusionEnvironmentId(testFusionEnvironment.id())
            .displayName(fusionEnvironmentServiceAttachmentDisplayName)
            .serviceInstanceType(fusionEnvironmentServiceAttachmentServiceInstanceType)
            .state(fusionEnvironmentServiceAttachmentState)
            .build());
    }
}
variables:
  testFusionEnvironmentServiceAttachments:
    fn::invoke:
      function: oci:Functions:getFusionEnvironmentServiceAttachments
      arguments:
        fusionEnvironmentId: ${testFusionEnvironment.id}
        displayName: ${fusionEnvironmentServiceAttachmentDisplayName}
        serviceInstanceType: ${fusionEnvironmentServiceAttachmentServiceInstanceType}
        state: ${fusionEnvironmentServiceAttachmentState}
Using getFusionEnvironmentServiceAttachments
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 getFusionEnvironmentServiceAttachments(args: GetFusionEnvironmentServiceAttachmentsArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentServiceAttachmentsResult>
function getFusionEnvironmentServiceAttachmentsOutput(args: GetFusionEnvironmentServiceAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentServiceAttachmentsResult>def get_fusion_environment_service_attachments(display_name: Optional[str] = None,
                                               filters: Optional[Sequence[GetFusionEnvironmentServiceAttachmentsFilter]] = None,
                                               fusion_environment_id: Optional[str] = None,
                                               service_instance_type: Optional[str] = None,
                                               state: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentServiceAttachmentsResult
def get_fusion_environment_service_attachments_output(display_name: Optional[pulumi.Input[str]] = None,
                                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFusionEnvironmentServiceAttachmentsFilterArgs]]]] = None,
                                               fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                               service_instance_type: Optional[pulumi.Input[str]] = None,
                                               state: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentServiceAttachmentsResult]func GetFusionEnvironmentServiceAttachments(ctx *Context, args *GetFusionEnvironmentServiceAttachmentsArgs, opts ...InvokeOption) (*GetFusionEnvironmentServiceAttachmentsResult, error)
func GetFusionEnvironmentServiceAttachmentsOutput(ctx *Context, args *GetFusionEnvironmentServiceAttachmentsOutputArgs, opts ...InvokeOption) GetFusionEnvironmentServiceAttachmentsResultOutput> Note: This function is named GetFusionEnvironmentServiceAttachments in the Go SDK.
public static class GetFusionEnvironmentServiceAttachments 
{
    public static Task<GetFusionEnvironmentServiceAttachmentsResult> InvokeAsync(GetFusionEnvironmentServiceAttachmentsArgs args, InvokeOptions? opts = null)
    public static Output<GetFusionEnvironmentServiceAttachmentsResult> Invoke(GetFusionEnvironmentServiceAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFusionEnvironmentServiceAttachmentsResult> getFusionEnvironmentServiceAttachments(GetFusionEnvironmentServiceAttachmentsArgs args, InvokeOptions options)
public static Output<GetFusionEnvironmentServiceAttachmentsResult> getFusionEnvironmentServiceAttachments(GetFusionEnvironmentServiceAttachmentsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Functions/getFusionEnvironmentServiceAttachments:getFusionEnvironmentServiceAttachments
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FusionEnvironment stringId 
- unique FusionEnvironment identifier
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetFusion Environment Service Attachments Filter> 
- ServiceInstance stringType 
- A filter that returns all resources that match the specified lifecycle state.
- State string
- A filter that returns all resources that match the specified lifecycle state.
- FusionEnvironment stringId 
- unique FusionEnvironment identifier
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetFusion Environment Service Attachments Filter 
- ServiceInstance stringType 
- A filter that returns all resources that match the specified lifecycle state.
- State string
- A filter that returns all resources that match the specified lifecycle state.
- fusionEnvironment StringId 
- unique FusionEnvironment identifier
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetFusion Environment Service Attachments Filter> 
- serviceInstance StringType 
- A filter that returns all resources that match the specified lifecycle state.
- state String
- A filter that returns all resources that match the specified lifecycle state.
- fusionEnvironment stringId 
- unique FusionEnvironment identifier
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetFusion Environment Service Attachments Filter[] 
- serviceInstance stringType 
- A filter that returns all resources that match the specified lifecycle state.
- state string
- A filter that returns all resources that match the specified lifecycle state.
- fusion_environment_ strid 
- unique FusionEnvironment identifier
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetFusion Environment Service Attachments Filter] 
- service_instance_ strtype 
- A filter that returns all resources that match the specified lifecycle state.
- state str
- A filter that returns all resources that match the specified lifecycle state.
- fusionEnvironment StringId 
- unique FusionEnvironment identifier
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- serviceInstance StringType 
- A filter that returns all resources that match the specified lifecycle state.
- state String
- A filter that returns all resources that match the specified lifecycle state.
getFusionEnvironmentServiceAttachments Result
The following output properties are available:
- FusionEnvironment stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- ServiceAttachment List<GetCollections Fusion Environment Service Attachments Service Attachment Collection> 
- The list of service_attachment_collection.
- DisplayName string
- Service Attachment Display name, can be renamed
- Filters
List<GetFusion Environment Service Attachments Filter> 
- ServiceInstance stringType 
- Type of the serviceInstance.
- State string
- The current state of the ServiceInstance.
- FusionEnvironment stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- ServiceAttachment []GetCollections Fusion Environment Service Attachments Service Attachment Collection 
- The list of service_attachment_collection.
- DisplayName string
- Service Attachment Display name, can be renamed
- Filters
[]GetFusion Environment Service Attachments Filter 
- ServiceInstance stringType 
- Type of the serviceInstance.
- State string
- The current state of the ServiceInstance.
- fusionEnvironment StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- serviceAttachment List<GetCollections Fusion Environment Service Attachments Service Attachment Collection> 
- The list of service_attachment_collection.
- displayName String
- Service Attachment Display name, can be renamed
- filters
List<GetFusion Environment Service Attachments Filter> 
- serviceInstance StringType 
- Type of the serviceInstance.
- state String
- The current state of the ServiceInstance.
- fusionEnvironment stringId 
- id string
- The provider-assigned unique ID for this managed resource.
- serviceAttachment GetCollections Fusion Environment Service Attachments Service Attachment Collection[] 
- The list of service_attachment_collection.
- displayName string
- Service Attachment Display name, can be renamed
- filters
GetFusion Environment Service Attachments Filter[] 
- serviceInstance stringType 
- Type of the serviceInstance.
- state string
- The current state of the ServiceInstance.
- fusion_environment_ strid 
- id str
- The provider-assigned unique ID for this managed resource.
- service_attachment_ Sequence[Getcollections Fusion Environment Service Attachments Service Attachment Collection] 
- The list of service_attachment_collection.
- display_name str
- Service Attachment Display name, can be renamed
- filters
Sequence[GetFusion Environment Service Attachments Filter] 
- service_instance_ strtype 
- Type of the serviceInstance.
- state str
- The current state of the ServiceInstance.
- fusionEnvironment StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- serviceAttachment List<Property Map>Collections 
- The list of service_attachment_collection.
- displayName String
- Service Attachment Display name, can be renamed
- filters List<Property Map>
- serviceInstance StringType 
- Type of the serviceInstance.
- state String
- The current state of the ServiceInstance.
Supporting Types
GetFusionEnvironmentServiceAttachmentsFilter     
GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection       
GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollectionItem        
- 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
- A filter to return only resources that match the entire display name given.
- 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 
- unique FusionEnvironment identifier
- 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
- ServiceInstance stringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- ServiceInstance stringType 
- A filter that returns all resources that match the specified lifecycle state.
- ServiceUrl string
- Public URL
- State string
- A filter that returns all resources that match the specified lifecycle state.
- 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
- A filter to return only resources that match the entire display name given.
- 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 
- unique FusionEnvironment identifier
- 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
- ServiceInstance stringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- ServiceInstance stringType 
- A filter that returns all resources that match the specified lifecycle state.
- ServiceUrl string
- Public URL
- State string
- A filter that returns all resources that match the specified lifecycle state.
- 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
- A filter to return only resources that match the entire display name given.
- 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 
- unique FusionEnvironment identifier
- 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
- serviceInstance StringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- serviceInstance StringType 
- A filter that returns all resources that match the specified lifecycle state.
- serviceUrl String
- Public URL
- state String
- A filter that returns all resources that match the specified lifecycle state.
- 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
- A filter to return only resources that match the entire display name given.
- {[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 
- unique FusionEnvironment identifier
- 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
- serviceInstance stringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- serviceInstance stringType 
- A filter that returns all resources that match the specified lifecycle state.
- serviceUrl string
- Public URL
- state string
- A filter that returns all resources that match the specified lifecycle state.
- 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
- A filter to return only resources that match the entire display name given.
- 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 
- unique FusionEnvironment identifier
- 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_instance_ strid 
- The ID of the service instance created that can be used to identify this on the service control plane
- service_instance_ strtype 
- A filter that returns all resources that match the specified lifecycle state.
- service_url str
- Public URL
- state str
- A filter that returns all resources that match the specified lifecycle state.
- 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
- A filter to return only resources that match the entire display name given.
- 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 
- unique FusionEnvironment identifier
- 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
- serviceInstance StringId 
- The ID of the service instance created that can be used to identify this on the service control plane
- serviceInstance StringType 
- A filter that returns all resources that match the specified lifecycle state.
- serviceUrl String
- Public URL
- state String
- A filter that returns all resources that match the specified lifecycle state.
- 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.