1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentServiceAttachment
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Functions.getFusionEnvironmentServiceAttachment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    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: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
        serviceAttachmentId: oci_fusion_apps_service_attachment.test_service_attachment.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_service_attachment = oci.Functions.get_fusion_environment_service_attachment(fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"],
        service_attachment_id=oci_fusion_apps_service_attachment["test_service_attachment"]["id"])
    
    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.GetFusionEnvironmentServiceAttachment(ctx, &functions.GetFusionEnvironmentServiceAttachmentArgs{
    			FusionEnvironmentId: oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
    			ServiceAttachmentId: oci_fusion_apps_service_attachment.Test_service_attachment.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 = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
            ServiceAttachmentId = oci_fusion_apps_service_attachment.Test_service_attachment.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(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
                .serviceAttachmentId(oci_fusion_apps_service_attachment.test_service_attachment().id())
                .build());
    
        }
    }
    
    variables:
      testFusionEnvironmentServiceAttachment:
        fn::invoke:
          Function: oci:Functions:getFusionEnvironmentServiceAttachment
          Arguments:
            fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
            serviceAttachmentId: ${oci_fusion_apps_service_attachment.test_service_attachment.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Functions/getFusionEnvironmentServiceAttachment:getFusionEnvironmentServiceAttachment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FusionEnvironmentId string
    unique FusionEnvironment identifier
    ServiceAttachmentId string
    OCID of the Service Attachment
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    ServiceAttachmentId string
    OCID of the Service Attachment
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    serviceAttachmentId String
    OCID of the Service Attachment
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    serviceAttachmentId string
    OCID of the Service Attachment
    fusion_environment_id str
    unique FusionEnvironment identifier
    service_attachment_id str
    OCID of the Service Attachment
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    serviceAttachmentId String
    OCID of the Service Attachment

    getFusionEnvironmentServiceAttachment Result

    The following output properties are available:

    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
    Service Attachment Display name, can be renamed
    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
    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
    ServiceAttachmentId string
    ServiceInstanceId string
    The ID of the service instance created that can be used to identify this on the service control plane
    ServiceInstanceType string
    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
    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
    Service Attachment Display name, can be renamed
    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
    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
    ServiceAttachmentId string
    ServiceInstanceId string
    The ID of the service instance created that can be used to identify this on the service control plane
    ServiceInstanceType string
    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
    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
    Service Attachment Display name, can be renamed
    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
    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
    serviceAttachmentId String
    serviceInstanceId String
    The ID of the service instance created that can be used to identify this on the service control plane
    serviceInstanceType String
    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
    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
    Service Attachment Display name, can be renamed
    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
    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
    serviceAttachmentId string
    serviceInstanceId string
    The ID of the service instance created that can be used to identify this on the service control plane
    serviceInstanceType string
    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
    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
    Service Attachment Display name, can be renamed
    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
    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_attachment_id str
    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
    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
    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
    Service Attachment Display name, can be renamed
    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
    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
    serviceAttachmentId String
    serviceInstanceId String
    The ID of the service instance created that can be used to identify this on the service control plane
    serviceInstanceType String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi