1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentServiceAttachments
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Functions.getFusionEnvironmentServiceAttachments

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 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: 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[_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 Sequence[functions.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 Sequence[functions.GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection]
    The list of service_attachment_collection.
    display_name str
    Service Attachment Display name, can be renamed
    filters Sequence[functions.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, 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.
    FreeformTags 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"}
    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]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.
    FreeformTags 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"}
    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,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.
    freeformTags 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"}
    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]: 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.
    freeformTags {[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"}
    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, 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.
    freeform_tags 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_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<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.
    freeformTags 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"}
    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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi