Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.FileStorage.getExportSets
Explore with Pulumi AI
This data source provides the list of Export Sets in Oracle Cloud Infrastructure File Storage service.
Lists the export set resources in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExportSets = oci.FileStorage.getExportSets({
availabilityDomain: exportSetAvailabilityDomain,
compartmentId: compartmentId,
displayName: exportSetDisplayName,
id: exportSetId,
state: exportSetState,
});
import pulumi
import pulumi_oci as oci
test_export_sets = oci.FileStorage.get_export_sets(availability_domain=export_set_availability_domain,
compartment_id=compartment_id,
display_name=export_set_display_name,
id=export_set_id,
state=export_set_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FileStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := FileStorage.GetExportSets(ctx, &filestorage.GetExportSetsArgs{
AvailabilityDomain: exportSetAvailabilityDomain,
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(exportSetDisplayName),
Id: pulumi.StringRef(exportSetId),
State: pulumi.StringRef(exportSetState),
}, 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 testExportSets = Oci.FileStorage.GetExportSets.Invoke(new()
{
AvailabilityDomain = exportSetAvailabilityDomain,
CompartmentId = compartmentId,
DisplayName = exportSetDisplayName,
Id = exportSetId,
State = exportSetState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.FileStorageFunctions;
import com.pulumi.oci.FileStorage.inputs.GetExportSetsArgs;
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 testExportSets = FileStorageFunctions.getExportSets(GetExportSetsArgs.builder()
.availabilityDomain(exportSetAvailabilityDomain)
.compartmentId(compartmentId)
.displayName(exportSetDisplayName)
.id(exportSetId)
.state(exportSetState)
.build());
}
}
variables:
testExportSets:
fn::invoke:
Function: oci:FileStorage:getExportSets
Arguments:
availabilityDomain: ${exportSetAvailabilityDomain}
compartmentId: ${compartmentId}
displayName: ${exportSetDisplayName}
id: ${exportSetId}
state: ${exportSetState}
Using getExportSets
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 getExportSets(args: GetExportSetsArgs, opts?: InvokeOptions): Promise<GetExportSetsResult>
function getExportSetsOutput(args: GetExportSetsOutputArgs, opts?: InvokeOptions): Output<GetExportSetsResult>
def get_export_sets(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_filestorage.GetExportSetsFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExportSetsResult
def get_export_sets_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_filestorage.GetExportSetsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExportSetsResult]
func GetExportSets(ctx *Context, args *GetExportSetsArgs, opts ...InvokeOption) (*GetExportSetsResult, error)
func GetExportSetsOutput(ctx *Context, args *GetExportSetsOutputArgs, opts ...InvokeOption) GetExportSetsResultOutput
> Note: This function is named GetExportSets
in the Go SDK.
public static class GetExportSets
{
public static Task<GetExportSetsResult> InvokeAsync(GetExportSetsArgs args, InvokeOptions? opts = null)
public static Output<GetExportSetsResult> Invoke(GetExportSetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExportSetsResult> getExportSets(GetExportSetsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:FileStorage/getExportSets:getExportSets
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filters
List<Get
Export Sets Filter> - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filters
[]Get
Export Sets Filter - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
List<Get
Export Sets Filter> - id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
Get
Export Sets Filter[] - id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
Sequence[filestorage.
Get Export Sets Filter] - id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters List<Property Map>
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
getExportSets Result
The following output properties are available:
- Availability
Domain string - The availability domain the export set is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment that contains the export set.
- Export
Sets List<GetExport Sets Export Set> - The list of export_sets.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My export set
- Filters
List<Get
Export Sets Filter> - Id string
- The OCID of the export set.
- State string
- The current state of the export set.
- Availability
Domain string - The availability domain the export set is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment that contains the export set.
- Export
Sets []GetExport Sets Export Set - The list of export_sets.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My export set
- Filters
[]Get
Export Sets Filter - Id string
- The OCID of the export set.
- State string
- The current state of the export set.
- availability
Domain String - The availability domain the export set is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment that contains the export set.
- export
Sets List<GetExport Sets Export Set> - The list of export_sets.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My export set
- filters
List<Get
Export Sets Filter> - id String
- The OCID of the export set.
- state String
- The current state of the export set.
- availability
Domain string - The availability domain the export set is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment that contains the export set.
- export
Sets GetExport Sets Export Set[] - The list of export_sets.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My export set
- filters
Get
Export Sets Filter[] - id string
- The OCID of the export set.
- state string
- The current state of the export set.
- availability_
domain str - The availability domain the export set is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment that contains the export set.
- export_
sets Sequence[filestorage.Get Export Sets Export Set] - The list of export_sets.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My export set
- filters
Sequence[filestorage.
Get Export Sets Filter] - id str
- The OCID of the export set.
- state str
- The current state of the export set.
- availability
Domain String - The availability domain the export set is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment that contains the export set.
- export
Sets List<Property Map> - The list of export_sets.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My export set
- filters List<Property Map>
- id String
- The OCID of the export set.
- state String
- The current state of the export set.
Supporting Types
GetExportSetsExportSet
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Max
Fs stringStat Bytes - Controls the maximum
tbytes
,fbytes
, andabytes
, values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetbytes
value reported byFSSTAT
will bemaxFsStatBytes
. The value offbytes
andabytes
will bemaxFsStatBytes
minus the metered size of the file system. If the metered size is larger thanmaxFsStatBytes
, thenfbytes
andabytes
will both be '0'. - Max
Fs stringStat Files - Controls the maximum
tfiles
,ffiles
, andafiles
values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetfiles
value reported byFSSTAT
will bemaxFsStatFiles
. The value offfiles
andafiles
will bemaxFsStatFiles
minus the metered size of the file system. If the metered size is larger thanmaxFsStatFiles
, thenffiles
andafiles
will both be '0'. - Mount
Target stringId - State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Time
Created string - The date and time the export set was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Vcn
Id string - The OCID of the virtual cloud network (VCN) the export set is in.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Max
Fs stringStat Bytes - Controls the maximum
tbytes
,fbytes
, andabytes
, values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetbytes
value reported byFSSTAT
will bemaxFsStatBytes
. The value offbytes
andabytes
will bemaxFsStatBytes
minus the metered size of the file system. If the metered size is larger thanmaxFsStatBytes
, thenfbytes
andabytes
will both be '0'. - Max
Fs stringStat Files - Controls the maximum
tfiles
,ffiles
, andafiles
values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetfiles
value reported byFSSTAT
will bemaxFsStatFiles
. The value offfiles
andafiles
will bemaxFsStatFiles
minus the metered size of the file system. If the metered size is larger thanmaxFsStatFiles
, thenffiles
andafiles
will both be '0'. - Mount
Target stringId - State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Time
Created string - The date and time the export set was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Vcn
Id string - The OCID of the virtual cloud network (VCN) the export set is in.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- max
Fs StringStat Bytes - Controls the maximum
tbytes
,fbytes
, andabytes
, values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetbytes
value reported byFSSTAT
will bemaxFsStatBytes
. The value offbytes
andabytes
will bemaxFsStatBytes
minus the metered size of the file system. If the metered size is larger thanmaxFsStatBytes
, thenfbytes
andabytes
will both be '0'. - max
Fs StringStat Files - Controls the maximum
tfiles
,ffiles
, andafiles
values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetfiles
value reported byFSSTAT
will bemaxFsStatFiles
. The value offfiles
andafiles
will bemaxFsStatFiles
minus the metered size of the file system. If the metered size is larger thanmaxFsStatFiles
, thenffiles
andafiles
will both be '0'. - mount
Target StringId - state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created String - The date and time the export set was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- vcn
Id String - The OCID of the virtual cloud network (VCN) the export set is in.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- max
Fs stringStat Bytes - Controls the maximum
tbytes
,fbytes
, andabytes
, values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetbytes
value reported byFSSTAT
will bemaxFsStatBytes
. The value offbytes
andabytes
will bemaxFsStatBytes
minus the metered size of the file system. If the metered size is larger thanmaxFsStatBytes
, thenfbytes
andabytes
will both be '0'. - max
Fs stringStat Files - Controls the maximum
tfiles
,ffiles
, andafiles
values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetfiles
value reported byFSSTAT
will bemaxFsStatFiles
. The value offfiles
andafiles
will bemaxFsStatFiles
minus the metered size of the file system. If the metered size is larger thanmaxFsStatFiles
, thenffiles
andafiles
will both be '0'. - mount
Target stringId - state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created string - The date and time the export set was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- vcn
Id string - The OCID of the virtual cloud network (VCN) the export set is in.
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- max_
fs_ strstat_ bytes - Controls the maximum
tbytes
,fbytes
, andabytes
, values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetbytes
value reported byFSSTAT
will bemaxFsStatBytes
. The value offbytes
andabytes
will bemaxFsStatBytes
minus the metered size of the file system. If the metered size is larger thanmaxFsStatBytes
, thenfbytes
andabytes
will both be '0'. - max_
fs_ strstat_ files - Controls the maximum
tfiles
,ffiles
, andafiles
values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetfiles
value reported byFSSTAT
will bemaxFsStatFiles
. The value offfiles
andafiles
will bemaxFsStatFiles
minus the metered size of the file system. If the metered size is larger thanmaxFsStatFiles
, thenffiles
andafiles
will both be '0'. - mount_
target_ strid - state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time_
created str - The date and time the export set was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- vcn_
id str - The OCID of the virtual cloud network (VCN) the export set is in.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- max
Fs StringStat Bytes - Controls the maximum
tbytes
,fbytes
, andabytes
, values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetbytes
value reported byFSSTAT
will bemaxFsStatBytes
. The value offbytes
andabytes
will bemaxFsStatBytes
minus the metered size of the file system. If the metered size is larger thanmaxFsStatBytes
, thenfbytes
andabytes
will both be '0'. - max
Fs StringStat Files - Controls the maximum
tfiles
,ffiles
, andafiles
values reported byNFS FSSTAT
calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. Thetfiles
value reported byFSSTAT
will bemaxFsStatFiles
. The value offfiles
andafiles
will bemaxFsStatFiles
minus the metered size of the file system. If the metered size is larger thanmaxFsStatFiles
, thenffiles
andafiles
will both be '0'. - mount
Target StringId - state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created String - The date and time the export set was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- vcn
Id String - The OCID of the virtual cloud network (VCN) the export set is in.
GetExportSetsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.