Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Functions.getFusionEnvironmentServiceAttachments
Explore with Pulumi AI
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:
- 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
Sequence[functions.
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_ Sequence[functions.collections Get Fusion Environment Service Attachments Service Attachment Collection] - The list of service_attachment_collection.
- display_
name str - Service Attachment Display name, can be renamed
- filters
Sequence[functions.
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
- Compartment
Id string - Compartment Identifier
- Dictionary<string, string>
- 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, string>
- 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 - unique FusionEnvironment identifier
- 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
- Compartment
Id string - Compartment Identifier
- map[string]string
- 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]string
- 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 - unique FusionEnvironment identifier
- 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
- compartment
Id String - Compartment Identifier
- Map<String,String>
- 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,String>
- 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 - unique FusionEnvironment identifier
- 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
- compartment
Id string - Compartment Identifier
- {[key: string]: string}
- 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]: string}
- 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 - unique FusionEnvironment identifier
- 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
- compartment_
id str - Compartment Identifier
- 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.
- 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_ strid - unique FusionEnvironment identifier
- 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
- compartment
Id String - Compartment Identifier
- Map<String>
- 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>
- 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 - unique FusionEnvironment identifier
- 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.