1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentServiceAttachments
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

oci.Functions.getFusionEnvironmentServiceAttachments

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

    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: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
        displayName: _var.fusion_environment_service_attachment_display_name,
        serviceInstanceType: _var.fusion_environment_service_attachment_service_instance_type,
        state: _var.fusion_environment_service_attachment_state,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_service_attachments = oci.Functions.get_fusion_environment_service_attachments(fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"],
        display_name=var["fusion_environment_service_attachment_display_name"],
        service_instance_type=var["fusion_environment_service_attachment_service_instance_type"],
        state=var["fusion_environment_service_attachment_state"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
    			DisplayName:         pulumi.StringRef(_var.Fusion_environment_service_attachment_display_name),
    			ServiceInstanceType: pulumi.StringRef(_var.Fusion_environment_service_attachment_service_instance_type),
    			State:               pulumi.StringRef(_var.Fusion_environment_service_attachment_state),
    		}, 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 = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
            DisplayName = @var.Fusion_environment_service_attachment_display_name,
            ServiceInstanceType = @var.Fusion_environment_service_attachment_service_instance_type,
            State = @var.Fusion_environment_service_attachment_state,
        });
    
    });
    
    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(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
                .displayName(var_.fusion_environment_service_attachment_display_name())
                .serviceInstanceType(var_.fusion_environment_service_attachment_service_instance_type())
                .state(var_.fusion_environment_service_attachment_state())
                .build());
    
        }
    }
    
    variables:
      testFusionEnvironmentServiceAttachments:
        fn::invoke:
          Function: oci:Functions:getFusionEnvironmentServiceAttachments
          Arguments:
            fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
            displayName: ${var.fusion_environment_service_attachment_display_name}
            serviceInstanceType: ${var.fusion_environment_service_attachment_service_instance_type}
            state: ${var.fusion_environment_service_attachment_state}
    

    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[_functions.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[_functions.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Functions/getFusionEnvironmentServiceAttachments:getFusionEnvironmentServiceAttachments
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FusionEnvironmentId string
    unique FusionEnvironment identifier
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetFusionEnvironmentServiceAttachmentsFilter>
    ServiceInstanceType string
    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.
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetFusionEnvironmentServiceAttachmentsFilter
    ServiceInstanceType string
    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.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetFusionEnvironmentServiceAttachmentsFilter>
    serviceInstanceType String
    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.
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetFusionEnvironmentServiceAttachmentsFilter[]
    serviceInstanceType string
    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_id str
    unique FusionEnvironment identifier
    display_name str
    A filter to return only resources that match the entire display name given.
    filters GetFusionEnvironmentServiceAttachmentsFilter]
    service_instance_type str
    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.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    serviceInstanceType String
    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:

    FusionEnvironmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceAttachmentCollections List<GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection>
    The list of service_attachment_collection.
    DisplayName string
    Service Attachment Display name, can be renamed
    Filters List<GetFusionEnvironmentServiceAttachmentsFilter>
    ServiceInstanceType string
    Type of the serviceInstance.
    State string
    The current state of the ServiceInstance.
    FusionEnvironmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceAttachmentCollections []GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection
    The list of service_attachment_collection.
    DisplayName string
    Service Attachment Display name, can be renamed
    Filters []GetFusionEnvironmentServiceAttachmentsFilter
    ServiceInstanceType string
    Type of the serviceInstance.
    State string
    The current state of the ServiceInstance.
    fusionEnvironmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceAttachmentCollections List<GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection>
    The list of service_attachment_collection.
    displayName String
    Service Attachment Display name, can be renamed
    filters List<GetFusionEnvironmentServiceAttachmentsFilter>
    serviceInstanceType String
    Type of the serviceInstance.
    state String
    The current state of the ServiceInstance.
    fusionEnvironmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    serviceAttachmentCollections GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection[]
    The list of service_attachment_collection.
    displayName string
    Service Attachment Display name, can be renamed
    filters GetFusionEnvironmentServiceAttachmentsFilter[]
    serviceInstanceType string
    Type of the serviceInstance.
    state string
    The current state of the ServiceInstance.
    fusion_environment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    service_attachment_collections GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection]
    The list of service_attachment_collection.
    display_name str
    Service Attachment Display name, can be renamed
    filters GetFusionEnvironmentServiceAttachmentsFilter]
    service_instance_type str
    Type of the serviceInstance.
    state str
    The current state of the ServiceInstance.
    fusionEnvironmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceAttachmentCollections List<Property Map>
    The list of service_attachment_collection.
    displayName String
    Service Attachment Display name, can be renamed
    filters List<Property Map>
    serviceInstanceType String
    Type of the serviceInstance.
    state String
    The current state of the ServiceInstance.

    Supporting Types

    GetFusionEnvironmentServiceAttachmentsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection

    GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollectionItem

    CompartmentId string
    Compartment Identifier
    DefinedTags Dictionary<string, object>
    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.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    Id string
    Unique identifier that is immutable on creation
    IsSkuBased bool
    Whether this service is provisioned due to the customer being subscribed to a specific SKU
    ServiceInstanceId string
    The ID of the service instance created that can be used to identify this on the service control plane
    ServiceInstanceType string
    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
    DefinedTags map[string]interface{}
    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.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    Id string
    Unique identifier that is immutable on creation
    IsSkuBased bool
    Whether this service is provisioned due to the customer being subscribed to a specific SKU
    ServiceInstanceId string
    The ID of the service instance created that can be used to identify this on the service control plane
    ServiceInstanceType string
    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
    definedTags Map<String,Object>
    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.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    id String
    Unique identifier that is immutable on creation
    isSkuBased Boolean
    Whether this service is provisioned due to the customer being subscribed to a specific SKU
    serviceInstanceId String
    The ID of the service instance created that can be used to identify this on the service control plane
    serviceInstanceType String
    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
    definedTags {[key: string]: any}
    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.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    id string
    Unique identifier that is immutable on creation
    isSkuBased boolean
    Whether this service is provisioned due to the customer being subscribed to a specific SKU
    serviceInstanceId string
    The ID of the service instance created that can be used to identify this on the service control plane
    serviceInstanceType string
    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
    defined_tags Mapping[str, Any]
    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.
    freeform_tags Mapping[str, Any]
    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_id str
    unique FusionEnvironment identifier
    id str
    Unique identifier that is immutable on creation
    is_sku_based bool
    Whether this service is provisioned due to the customer being subscribed to a specific SKU
    service_instance_id str
    The ID of the service instance created that can be used to identify this on the service control plane
    service_instance_type str
    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
    definedTags Map<Any>
    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.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    id String
    Unique identifier that is immutable on creation
    isSkuBased Boolean
    Whether this service is provisioned due to the customer being subscribed to a specific SKU
    serviceInstanceId String
    The ID of the service instance created that can be used to identify this on the service control plane
    serviceInstanceType String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi