Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.FleetSoftwareUpdate.getFsuCollection
Explore with Pulumi AI
This data source provides details about a specific Fsu Collection resource in Oracle Cloud Infrastructure Fleet Software Update service.
Gets a Exadata Fleet Update Collection by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFsuCollection = oci.FleetSoftwareUpdate.getFsuCollection({
fsuCollectionId: testFsuCollectionOciFleetSoftwareUpdateFsuCollection.id,
});
import pulumi
import pulumi_oci as oci
test_fsu_collection = oci.FleetSoftwareUpdate.get_fsu_collection(fsu_collection_id=test_fsu_collection_oci_fleet_software_update_fsu_collection["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FleetSoftwareUpdate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := FleetSoftwareUpdate.GetFsuCollection(ctx, &fleetsoftwareupdate.GetFsuCollectionArgs{
FsuCollectionId: testFsuCollectionOciFleetSoftwareUpdateFsuCollection.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 testFsuCollection = Oci.FleetSoftwareUpdate.GetFsuCollection.Invoke(new()
{
FsuCollectionId = testFsuCollectionOciFleetSoftwareUpdateFsuCollection.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetSoftwareUpdate.FleetSoftwareUpdateFunctions;
import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCollectionArgs;
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 testFsuCollection = FleetSoftwareUpdateFunctions.getFsuCollection(GetFsuCollectionArgs.builder()
.fsuCollectionId(testFsuCollectionOciFleetSoftwareUpdateFsuCollection.id())
.build());
}
}
variables:
testFsuCollection:
fn::invoke:
Function: oci:FleetSoftwareUpdate:getFsuCollection
Arguments:
fsuCollectionId: ${testFsuCollectionOciFleetSoftwareUpdateFsuCollection.id}
Using getFsuCollection
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 getFsuCollection(args: GetFsuCollectionArgs, opts?: InvokeOptions): Promise<GetFsuCollectionResult>
function getFsuCollectionOutput(args: GetFsuCollectionOutputArgs, opts?: InvokeOptions): Output<GetFsuCollectionResult>
def get_fsu_collection(fsu_collection_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFsuCollectionResult
def get_fsu_collection_output(fsu_collection_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFsuCollectionResult]
func GetFsuCollection(ctx *Context, args *GetFsuCollectionArgs, opts ...InvokeOption) (*GetFsuCollectionResult, error)
func GetFsuCollectionOutput(ctx *Context, args *GetFsuCollectionOutputArgs, opts ...InvokeOption) GetFsuCollectionResultOutput
> Note: This function is named GetFsuCollection
in the Go SDK.
public static class GetFsuCollection
{
public static Task<GetFsuCollectionResult> InvokeAsync(GetFsuCollectionArgs args, InvokeOptions? opts = null)
public static Output<GetFsuCollectionResult> Invoke(GetFsuCollectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFsuCollectionResult> getFsuCollection(GetFsuCollectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection
arguments:
# arguments dictionary
The following arguments are supported:
- Fsu
Collection stringId - Unique Exadata Fleet Update Collection identifier.
- Fsu
Collection stringId - Unique Exadata Fleet Update Collection identifier.
- fsu
Collection StringId - Unique Exadata Fleet Update Collection identifier.
- fsu
Collection stringId - Unique Exadata Fleet Update Collection identifier.
- fsu_
collection_ strid - Unique Exadata Fleet Update Collection identifier.
- fsu
Collection StringId - Unique Exadata Fleet Update Collection identifier.
getFsuCollection Result
The following output properties are available:
- Active
Fsu List<GetCycles Fsu Collection Active Fsu Cycle> - Active Exadata Fleet Update Cycle resource for this Collection. Object would be null if there is no active Cycle.
- 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 - Exadata Fleet Update Collection resource display name.
- Fleet
Discoveries List<GetFsu Collection Fleet Discovery> - Supported fleet discovery strategies for DB Collections. If specified on an Update Collection request, this will re-discover the targets of the Collection.
- 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"}
- Fsu
Collection stringId - Id string
- OCID identifier for the Exadata Fleet Update Collection.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Service
Type string - Exadata service type for the target resource members.
- Source
Major stringVersion - Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.
- State string
- The current state of the Exadata Fleet Update Collection.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Count int - Number of targets that are members of this Collection.
- Time
Created string - The time the Exadata Fleet Update Collection was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the Exadata Fleet Update Collection was updated. An RFC3339 formatted datetime string.
- Type string
- Exadata Fleet Update Collection type.
- Active
Fsu []GetCycles Fsu Collection Active Fsu Cycle - Active Exadata Fleet Update Cycle resource for this Collection. Object would be null if there is no active Cycle.
- 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 - Exadata Fleet Update Collection resource display name.
- Fleet
Discoveries []GetFsu Collection Fleet Discovery - Supported fleet discovery strategies for DB Collections. If specified on an Update Collection request, this will re-discover the targets of the Collection.
- 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"}
- Fsu
Collection stringId - Id string
- OCID identifier for the Exadata Fleet Update Collection.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Service
Type string - Exadata service type for the target resource members.
- Source
Major stringVersion - Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.
- State string
- The current state of the Exadata Fleet Update Collection.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Count int - Number of targets that are members of this Collection.
- Time
Created string - The time the Exadata Fleet Update Collection was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the Exadata Fleet Update Collection was updated. An RFC3339 formatted datetime string.
- Type string
- Exadata Fleet Update Collection type.
- active
Fsu List<GetCycles Fsu Collection Active Fsu Cycle> - Active Exadata Fleet Update Cycle resource for this Collection. Object would be null if there is no active Cycle.
- 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 - Exadata Fleet Update Collection resource display name.
- fleet
Discoveries List<GetFsu Collection Fleet Discovery> - Supported fleet discovery strategies for DB Collections. If specified on an Update Collection request, this will re-discover the targets of the Collection.
- 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"}
- fsu
Collection StringId - id String
- OCID identifier for the Exadata Fleet Update Collection.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- service
Type String - Exadata service type for the target resource members.
- source
Major StringVersion - Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.
- state String
- The current state of the Exadata Fleet Update Collection.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Count Integer - Number of targets that are members of this Collection.
- time
Created String - The time the Exadata Fleet Update Collection was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the Exadata Fleet Update Collection was updated. An RFC3339 formatted datetime string.
- type String
- Exadata Fleet Update Collection type.
- active
Fsu GetCycles Fsu Collection Active Fsu Cycle[] - Active Exadata Fleet Update Cycle resource for this Collection. Object would be null if there is no active Cycle.
- 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 - Exadata Fleet Update Collection resource display name.
- fleet
Discoveries GetFsu Collection Fleet Discovery[] - Supported fleet discovery strategies for DB Collections. If specified on an Update Collection request, this will re-discover the targets of the Collection.
- {[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"}
- fsu
Collection stringId - id string
- OCID identifier for the Exadata Fleet Update Collection.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- service
Type string - Exadata service type for the target resource members.
- source
Major stringVersion - Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.
- state string
- The current state of the Exadata Fleet Update Collection.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Count number - Number of targets that are members of this Collection.
- time
Created string - The time the Exadata Fleet Update Collection was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the Exadata Fleet Update Collection was updated. An RFC3339 formatted datetime string.
- type string
- Exadata Fleet Update Collection type.
- active_
fsu_ Sequence[fleetsoftwareupdate.cycles Get Fsu Collection Active Fsu Cycle] - Active Exadata Fleet Update Cycle resource for this Collection. Object would be null if there is no active Cycle.
- 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 - Exadata Fleet Update Collection resource display name.
- fleet_
discoveries Sequence[fleetsoftwareupdate.Get Fsu Collection Fleet Discovery] - Supported fleet discovery strategies for DB Collections. If specified on an Update Collection request, this will re-discover the targets of the Collection.
- 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"}
- fsu_
collection_ strid - id str
- OCID identifier for the Exadata Fleet Update Collection.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- service_
type str - Exadata service type for the target resource members.
- source_
major_ strversion - Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.
- state str
- The current state of the Exadata Fleet Update Collection.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target_
count int - Number of targets that are members of this Collection.
- time_
created str - The time the Exadata Fleet Update Collection was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the Exadata Fleet Update Collection was updated. An RFC3339 formatted datetime string.
- type str
- Exadata Fleet Update Collection type.
- active
Fsu List<Property Map>Cycles - Active Exadata Fleet Update Cycle resource for this Collection. Object would be null if there is no active Cycle.
- 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 - Exadata Fleet Update Collection resource display name.
- fleet
Discoveries List<Property Map> - Supported fleet discovery strategies for DB Collections. If specified on an Update Collection request, this will re-discover the targets of the Collection.
- 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"}
- fsu
Collection StringId - id String
- OCID identifier for the Exadata Fleet Update Collection.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- service
Type String - Exadata service type for the target resource members.
- source
Major StringVersion - Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.
- state String
- The current state of the Exadata Fleet Update Collection.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Count Number - Number of targets that are members of this Collection.
- time
Created String - The time the Exadata Fleet Update Collection was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the Exadata Fleet Update Collection was updated. An RFC3339 formatted datetime string.
- type String
- Exadata Fleet Update Collection type.
Supporting Types
GetFsuCollectionActiveFsuCycle
- Display
Name string - Exadata Fleet Update Collection resource display name.
- Id string
- OCID identifier for the Exadata Fleet Update Collection.
- Display
Name string - Exadata Fleet Update Collection resource display name.
- Id string
- OCID identifier for the Exadata Fleet Update Collection.
- display
Name String - Exadata Fleet Update Collection resource display name.
- id String
- OCID identifier for the Exadata Fleet Update Collection.
- display
Name string - Exadata Fleet Update Collection resource display name.
- id string
- OCID identifier for the Exadata Fleet Update Collection.
- display_
name str - Exadata Fleet Update Collection resource display name.
- id str
- OCID identifier for the Exadata Fleet Update Collection.
- display
Name String - Exadata Fleet Update Collection resource display name.
- id String
- OCID identifier for the Exadata Fleet Update Collection.
GetFsuCollectionFleetDiscovery
- Filters
List<Get
Fsu Collection Fleet Discovery Filter> - Filters to perform the target discovery.
- Fsu
Discovery stringId - OCIDs of Fleet Software Update Discovery.
- Query string
- Oracle Cloud Infrastructure Search Service query string.
- Strategy string
- Possible fleet discovery strategies.
- Targets List<string>
- OCIDs of target resources to include. For EXACC service type Collections only VMClusters are allowed. For EXACS service type Collections only CloudVMClusters are allowed.
- Filters
[]Get
Fsu Collection Fleet Discovery Filter - Filters to perform the target discovery.
- Fsu
Discovery stringId - OCIDs of Fleet Software Update Discovery.
- Query string
- Oracle Cloud Infrastructure Search Service query string.
- Strategy string
- Possible fleet discovery strategies.
- Targets []string
- OCIDs of target resources to include. For EXACC service type Collections only VMClusters are allowed. For EXACS service type Collections only CloudVMClusters are allowed.
- filters
List<Get
Fsu Collection Fleet Discovery Filter> - Filters to perform the target discovery.
- fsu
Discovery StringId - OCIDs of Fleet Software Update Discovery.
- query String
- Oracle Cloud Infrastructure Search Service query string.
- strategy String
- Possible fleet discovery strategies.
- targets List<String>
- OCIDs of target resources to include. For EXACC service type Collections only VMClusters are allowed. For EXACS service type Collections only CloudVMClusters are allowed.
- filters
Get
Fsu Collection Fleet Discovery Filter[] - Filters to perform the target discovery.
- fsu
Discovery stringId - OCIDs of Fleet Software Update Discovery.
- query string
- Oracle Cloud Infrastructure Search Service query string.
- strategy string
- Possible fleet discovery strategies.
- targets string[]
- OCIDs of target resources to include. For EXACC service type Collections only VMClusters are allowed. For EXACS service type Collections only CloudVMClusters are allowed.
- filters
Sequence[fleetsoftwareupdate.
Get Fsu Collection Fleet Discovery Filter] - Filters to perform the target discovery.
- fsu_
discovery_ strid - OCIDs of Fleet Software Update Discovery.
- query str
- Oracle Cloud Infrastructure Search Service query string.
- strategy str
- Possible fleet discovery strategies.
- targets Sequence[str]
- OCIDs of target resources to include. For EXACC service type Collections only VMClusters are allowed. For EXACS service type Collections only CloudVMClusters are allowed.
- filters List<Property Map>
- Filters to perform the target discovery.
- fsu
Discovery StringId - OCIDs of Fleet Software Update Discovery.
- query String
- Oracle Cloud Infrastructure Search Service query string.
- strategy String
- Possible fleet discovery strategies.
- targets List<String>
- OCIDs of target resources to include. For EXACC service type Collections only VMClusters are allowed. For EXACS service type Collections only CloudVMClusters are allowed.
GetFsuCollectionFleetDiscoveryFilter
- Entity
Type string - Type of resource to match in the discovery.
- Identifiers List<string>
- Related resource Ids to include in the discovery. All must match the specified entityType.
- Mode string
- INCLUDE or EXCLUDE the filter results in the discovery for DB targets. Supported for 'FSUCOLLECTION' RESOURCE_ID filter only.
- Names List<string>
- List of Database unique names to include in the discovery.
- Operator string
- Type of join for each element in this filter.
- List<Get
Fsu Collection Fleet Discovery Filter Tag> - Freeform tags to include in the discovery.
- Type string
- Exadata Fleet Update Collection type.
- Versions List<string>
- List of Versions strings to include in the discovery.
- Entity
Type string - Type of resource to match in the discovery.
- Identifiers []string
- Related resource Ids to include in the discovery. All must match the specified entityType.
- Mode string
- INCLUDE or EXCLUDE the filter results in the discovery for DB targets. Supported for 'FSUCOLLECTION' RESOURCE_ID filter only.
- Names []string
- List of Database unique names to include in the discovery.
- Operator string
- Type of join for each element in this filter.
- []Get
Fsu Collection Fleet Discovery Filter Tag - Freeform tags to include in the discovery.
- Type string
- Exadata Fleet Update Collection type.
- Versions []string
- List of Versions strings to include in the discovery.
- entity
Type String - Type of resource to match in the discovery.
- identifiers List<String>
- Related resource Ids to include in the discovery. All must match the specified entityType.
- mode String
- INCLUDE or EXCLUDE the filter results in the discovery for DB targets. Supported for 'FSUCOLLECTION' RESOURCE_ID filter only.
- names List<String>
- List of Database unique names to include in the discovery.
- operator String
- Type of join for each element in this filter.
- List<Get
Fsu Collection Fleet Discovery Filter Tag> - Freeform tags to include in the discovery.
- type String
- Exadata Fleet Update Collection type.
- versions List<String>
- List of Versions strings to include in the discovery.
- entity
Type string - Type of resource to match in the discovery.
- identifiers string[]
- Related resource Ids to include in the discovery. All must match the specified entityType.
- mode string
- INCLUDE or EXCLUDE the filter results in the discovery for DB targets. Supported for 'FSUCOLLECTION' RESOURCE_ID filter only.
- names string[]
- List of Database unique names to include in the discovery.
- operator string
- Type of join for each element in this filter.
- Get
Fsu Collection Fleet Discovery Filter Tag[] - Freeform tags to include in the discovery.
- type string
- Exadata Fleet Update Collection type.
- versions string[]
- List of Versions strings to include in the discovery.
- entity_
type str - Type of resource to match in the discovery.
- identifiers Sequence[str]
- Related resource Ids to include in the discovery. All must match the specified entityType.
- mode str
- INCLUDE or EXCLUDE the filter results in the discovery for DB targets. Supported for 'FSUCOLLECTION' RESOURCE_ID filter only.
- names Sequence[str]
- List of Database unique names to include in the discovery.
- operator str
- Type of join for each element in this filter.
- Sequence[fleetsoftwareupdate.
Get Fsu Collection Fleet Discovery Filter Tag] - Freeform tags to include in the discovery.
- type str
- Exadata Fleet Update Collection type.
- versions Sequence[str]
- List of Versions strings to include in the discovery.
- entity
Type String - Type of resource to match in the discovery.
- identifiers List<String>
- Related resource Ids to include in the discovery. All must match the specified entityType.
- mode String
- INCLUDE or EXCLUDE the filter results in the discovery for DB targets. Supported for 'FSUCOLLECTION' RESOURCE_ID filter only.
- names List<String>
- List of Database unique names to include in the discovery.
- operator String
- Type of join for each element in this filter.
- List<Property Map>
- Freeform tags to include in the discovery.
- type String
- Exadata Fleet Update Collection type.
- versions List<String>
- List of Versions strings to include in the discovery.
GetFsuCollectionFleetDiscoveryFilterTag
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.