oci.Functions.getFusionEnvironmentServiceAttachment
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
using System.Collections.Generic;
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 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
})
}
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());
}
}
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"])
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,
});
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:
- Fusion
Environment stringId unique FusionEnvironment identifier
- Service
Attachment stringId OCID of the Service Attachment
- Fusion
Environment stringId unique FusionEnvironment identifier
- Service
Attachment stringId OCID of the Service Attachment
- fusion
Environment StringId unique FusionEnvironment identifier
- service
Attachment StringId OCID of the Service Attachment
- fusion
Environment stringId unique FusionEnvironment identifier
- service
Attachment stringId OCID of the Service Attachment
- fusion_
environment_ strid unique FusionEnvironment identifier
- service_
attachment_ strid OCID of the Service Attachment
- fusion
Environment StringId unique FusionEnvironment identifier
- service
Attachment StringId OCID of the Service Attachment
getFusionEnvironmentServiceAttachment Result
The following output properties are available:
- Action string
Action
- Compartment
Id string Compartment Identifier
- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Service Attachment Display name, can be renamed
- 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"}
- Fusion
Environment stringId - Id string
The provider-assigned unique ID for this managed resource.
- Is
Sku boolBased Whether this service is provisioned due to the customer being subscribed to a specific SKU
- Service
Attachment stringId - Service
Instance stringId The ID of the service instance created that can be used to identify this on the service control plane
- Service
Instance stringType Type of the serviceInstance.
- Service
Url string Public URL
- State string
The current state of the ServiceInstance.
- Time
Created string The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- Time
Updated string The time the ServiceInstance was updated. An RFC3339 formatted datetime string
- Action string
Action
- Compartment
Id string Compartment Identifier
- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Service Attachment Display name, can be renamed
- 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"}
- Fusion
Environment stringId - Id string
The provider-assigned unique ID for this managed resource.
- Is
Sku boolBased Whether this service is provisioned due to the customer being subscribed to a specific SKU
- Service
Attachment stringId - Service
Instance stringId The ID of the service instance created that can be used to identify this on the service control plane
- Service
Instance stringType Type of the serviceInstance.
- Service
Url string Public URL
- State string
The current state of the ServiceInstance.
- Time
Created string The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- Time
Updated string The time the ServiceInstance was updated. An RFC3339 formatted datetime string
- action String
Action
- compartment
Id String Compartment Identifier
- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Service Attachment Display name, can be renamed
- 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"}
- fusion
Environment StringId - id String
The provider-assigned unique ID for this managed resource.
- is
Sku BooleanBased Whether this service is provisioned due to the customer being subscribed to a specific SKU
- service
Attachment StringId - service
Instance StringId The ID of the service instance created that can be used to identify this on the service control plane
- service
Instance StringType Type of the serviceInstance.
- service
Url String Public URL
- state String
The current state of the ServiceInstance.
- time
Created String The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- time
Updated String The time the ServiceInstance was updated. An RFC3339 formatted datetime string
- action string
Action
- compartment
Id string Compartment Identifier
- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string Service Attachment Display name, can be renamed
- {[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"}
- fusion
Environment stringId - id string
The provider-assigned unique ID for this managed resource.
- is
Sku booleanBased Whether this service is provisioned due to the customer being subscribed to a specific SKU
- service
Attachment stringId - service
Instance stringId The ID of the service instance created that can be used to identify this on the service control plane
- service
Instance stringType Type of the serviceInstance.
- service
Url string Public URL
- state string
The current state of the ServiceInstance.
- time
Created string The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- time
Updated string The time the ServiceInstance was updated. An RFC3339 formatted datetime string
- action str
Action
- compartment_
id str Compartment Identifier
- 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
- 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_ strid - id str
The provider-assigned unique ID for this managed resource.
- 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
- action String
Action
- compartment
Id String Compartment Identifier
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Service Attachment Display name, can be renamed
- 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"}
- fusion
Environment StringId - id String
The provider-assigned unique ID for this managed resource.
- is
Sku BooleanBased Whether this service is provisioned due to the customer being subscribed to a specific SKU
- service
Attachment StringId - service
Instance StringId The ID of the service instance created that can be used to identify this on the service control plane
- service
Instance StringType Type of the serviceInstance.
- service
Url String Public URL
- state String
The current state of the ServiceInstance.
- time
Created String The time the the ServiceInstance was created. An RFC3339 formatted datetime string
- time
Updated 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.