oci.Functions.getFusionEnvironmentServiceAttachments
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
using System.Collections.Generic;
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 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
})
}
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());
}
}
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"])
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,
});
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:
- Fusion
Environment stringId unique FusionEnvironment identifier
- Display
Name string A filter to return only resources that match the entire display name given.
- Filters
List<Get
Fusion Environment Service Attachments Filter> - Service
Instance 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 stringId unique FusionEnvironment identifier
- Display
Name string A filter to return only resources that match the entire display name given.
- Filters
[]Get
Fusion Environment Service Attachments Filter - Service
Instance 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 StringId unique FusionEnvironment identifier
- display
Name String A filter to return only resources that match the entire display name given.
- filters
List<Get
Fusion Environment Service Attachments Filter> - service
Instance 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 stringId unique FusionEnvironment identifier
- display
Name string A filter to return only resources that match the entire display name given.
- filters
Get
Fusion Environment Service Attachments Filter[] - service
Instance 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
Get
Fusion 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.
- fusion
Environment StringId unique FusionEnvironment identifier
- display
Name String A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- service
Instance 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:
- Fusion
Environment stringId - Id string
The provider-assigned unique ID for this managed resource.
- Service
Attachment List<GetCollections Fusion Environment Service Attachments Service Attachment Collection> The list of service_attachment_collection.
- Display
Name string Service Attachment Display name, can be renamed
- Filters
List<Get
Fusion Environment Service Attachments Filter> - Service
Instance stringType Type of the serviceInstance.
- State string
The current state of the ServiceInstance.
- Fusion
Environment stringId - Id string
The provider-assigned unique ID for this managed resource.
- Service
Attachment []GetCollections Fusion Environment Service Attachments Service Attachment Collection The list of service_attachment_collection.
- Display
Name string Service Attachment Display name, can be renamed
- Filters
[]Get
Fusion Environment Service Attachments Filter - Service
Instance stringType Type of the serviceInstance.
- State string
The current state of the ServiceInstance.
- fusion
Environment StringId - id String
The provider-assigned unique ID for this managed resource.
- service
Attachment List<GetCollections Fusion Environment Service Attachments Service Attachment Collection> The list of service_attachment_collection.
- display
Name String Service Attachment Display name, can be renamed
- filters
List<Get
Fusion Environment Service Attachments Filter> - service
Instance StringType Type of the serviceInstance.
- state String
The current state of the ServiceInstance.
- fusion
Environment stringId - id string
The provider-assigned unique ID for this managed resource.
- service
Attachment GetCollections Fusion Environment Service Attachments Service Attachment Collection[] The list of service_attachment_collection.
- display
Name string Service Attachment Display name, can be renamed
- filters
Get
Fusion Environment Service Attachments Filter[] - service
Instance 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_ 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
Get
Fusion Environment Service Attachments Filter] - service_
instance_ strtype Type of the serviceInstance.
- state str
The current state of the ServiceInstance.
- fusion
Environment StringId - id String
The provider-assigned unique ID for this managed resource.
- service
Attachment List<Property Map>Collections The list of service_attachment_collection.
- display
Name String Service Attachment Display name, can be renamed
- filters List<Property Map>
- service
Instance StringType Type of the serviceInstance.
- state String
The current state of the ServiceInstance.
Supporting Types
GetFusionEnvironmentServiceAttachmentsFilter
GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollection
GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollectionItem
- 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 A filter to return only resources that match the entire display name given.
- 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"}
- Id string
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 stringId The ID of the service instance created that can be used to identify this on the service control plane
- Service
Instance stringType A filter that returns all resources that match the specified lifecycle state.
- Service
Url string Public URL
- State string
A filter that returns all resources that match the specified lifecycle state.
- 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 A filter to return only resources that match the entire display name given.
- 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"}
- Id string
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 stringId The ID of the service instance created that can be used to identify this on the service control plane
- Service
Instance stringType A filter that returns all resources that match the specified lifecycle state.
- Service
Url string Public URL
- State string
A filter that returns all resources that match the specified lifecycle state.
- 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 A filter to return only resources that match the entire display name given.
- 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"}
- id String
Unique identifier that is immutable on creation
- is
Sku BooleanBased Whether this service is provisioned due to the customer being subscribed to a specific SKU
- 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 A filter that returns all resources that match the specified lifecycle state.
- service
Url String Public URL
- state String
A filter that returns all resources that match the specified lifecycle state.
- 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 A filter to return only resources that match the entire display name given.
- {[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"}
- id string
Unique identifier that is immutable on creation
- is
Sku booleanBased Whether this service is provisioned due to the customer being subscribed to a specific SKU
- 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 A filter that returns all resources that match the specified lifecycle state.
- service
Url string Public URL
- state string
A filter that returns all resources that match the specified lifecycle state.
- 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 A filter to return only resources that match the entire display name given.
- 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"}
- 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
- 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 A filter to return only resources that match the entire display name given.
- 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"}
- id String
Unique identifier that is immutable on creation
- is
Sku BooleanBased Whether this service is provisioned due to the customer being subscribed to a specific SKU
- 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 A filter that returns all resources that match the specified lifecycle state.
- service
Url String Public URL
- state String
A filter that returns all resources that match the specified lifecycle state.
- 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.