1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getWlmsWlsDomainServerBackups
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

oci.oci.getWlmsWlsDomainServerBackups

Get Started
oci logo
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

    This data source provides the list of Wls Domain Server Backups in Oracle Cloud Infrastructure Wlms service.

    Gets a list of backups for the server of a specific WebLogic Domain.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testWlsDomainServerBackups = oci.oci.getWlmsWlsDomainServerBackups({
        serverId: testServer.id,
        wlsDomainId: testWlsDomain.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_wls_domain_server_backups = oci.oci.get_wlms_wls_domain_server_backups(server_id=test_server["id"],
        wls_domain_id=test_wls_domain["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetWlmsWlsDomainServerBackups(ctx, &oci.GetWlmsWlsDomainServerBackupsArgs{
    			ServerId:    testServer.Id,
    			WlsDomainId: testWlsDomain.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 testWlsDomainServerBackups = Oci.Oci.GetWlmsWlsDomainServerBackups.Invoke(new()
        {
            ServerId = testServer.Id,
            WlsDomainId = testWlsDomain.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetWlmsWlsDomainServerBackupsArgs;
    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 testWlsDomainServerBackups = OciFunctions.getWlmsWlsDomainServerBackups(GetWlmsWlsDomainServerBackupsArgs.builder()
                .serverId(testServer.id())
                .wlsDomainId(testWlsDomain.id())
                .build());
    
        }
    }
    
    variables:
      testWlsDomainServerBackups:
        fn::invoke:
          function: oci:oci:getWlmsWlsDomainServerBackups
          arguments:
            serverId: ${testServer.id}
            wlsDomainId: ${testWlsDomain.id}
    

    Using getWlmsWlsDomainServerBackups

    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 getWlmsWlsDomainServerBackups(args: GetWlmsWlsDomainServerBackupsArgs, opts?: InvokeOptions): Promise<GetWlmsWlsDomainServerBackupsResult>
    function getWlmsWlsDomainServerBackupsOutput(args: GetWlmsWlsDomainServerBackupsOutputArgs, opts?: InvokeOptions): Output<GetWlmsWlsDomainServerBackupsResult>
    def get_wlms_wls_domain_server_backups(filters: Optional[Sequence[GetWlmsWlsDomainServerBackupsFilter]] = None,
                                           server_id: Optional[str] = None,
                                           wls_domain_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetWlmsWlsDomainServerBackupsResult
    def get_wlms_wls_domain_server_backups_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsWlsDomainServerBackupsFilterArgs]]]] = None,
                                           server_id: Optional[pulumi.Input[str]] = None,
                                           wls_domain_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetWlmsWlsDomainServerBackupsResult]
    func GetWlmsWlsDomainServerBackups(ctx *Context, args *GetWlmsWlsDomainServerBackupsArgs, opts ...InvokeOption) (*GetWlmsWlsDomainServerBackupsResult, error)
    func GetWlmsWlsDomainServerBackupsOutput(ctx *Context, args *GetWlmsWlsDomainServerBackupsOutputArgs, opts ...InvokeOption) GetWlmsWlsDomainServerBackupsResultOutput

    > Note: This function is named GetWlmsWlsDomainServerBackups in the Go SDK.

    public static class GetWlmsWlsDomainServerBackups 
    {
        public static Task<GetWlmsWlsDomainServerBackupsResult> InvokeAsync(GetWlmsWlsDomainServerBackupsArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsWlsDomainServerBackupsResult> Invoke(GetWlmsWlsDomainServerBackupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsWlsDomainServerBackupsResult> getWlmsWlsDomainServerBackups(GetWlmsWlsDomainServerBackupsArgs args, InvokeOptions options)
    public static Output<GetWlmsWlsDomainServerBackupsResult> getWlmsWlsDomainServerBackups(GetWlmsWlsDomainServerBackupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsWlsDomainServerBackups:getWlmsWlsDomainServerBackups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServerId string

    The unique identifier of a server.

    Note: Not an OCID.

    WlsDomainId string
    The OCID of the WebLogic domain.
    Filters List<GetWlmsWlsDomainServerBackupsFilter>
    ServerId string

    The unique identifier of a server.

    Note: Not an OCID.

    WlsDomainId string
    The OCID of the WebLogic domain.
    Filters []GetWlmsWlsDomainServerBackupsFilter
    serverId String

    The unique identifier of a server.

    Note: Not an OCID.

    wlsDomainId String
    The OCID of the WebLogic domain.
    filters List<GetWlmsWlsDomainServerBackupsFilter>
    serverId string

    The unique identifier of a server.

    Note: Not an OCID.

    wlsDomainId string
    The OCID of the WebLogic domain.
    filters GetWlmsWlsDomainServerBackupsFilter[]
    server_id str

    The unique identifier of a server.

    Note: Not an OCID.

    wls_domain_id str
    The OCID of the WebLogic domain.
    filters Sequence[GetWlmsWlsDomainServerBackupsFilter]
    serverId String

    The unique identifier of a server.

    Note: Not an OCID.

    wlsDomainId String
    The OCID of the WebLogic domain.
    filters List<Property Map>

    getWlmsWlsDomainServerBackups Result

    The following output properties are available:

    BackupCollections List<GetWlmsWlsDomainServerBackupsBackupCollection>
    The list of backup_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServerId string
    WlsDomainId string
    Filters List<GetWlmsWlsDomainServerBackupsFilter>
    BackupCollections []GetWlmsWlsDomainServerBackupsBackupCollection
    The list of backup_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServerId string
    WlsDomainId string
    Filters []GetWlmsWlsDomainServerBackupsFilter
    backupCollections List<GetWlmsWlsDomainServerBackupsBackupCollection>
    The list of backup_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    serverId String
    wlsDomainId String
    filters List<GetWlmsWlsDomainServerBackupsFilter>
    backupCollections GetWlmsWlsDomainServerBackupsBackupCollection[]
    The list of backup_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    serverId string
    wlsDomainId string
    filters GetWlmsWlsDomainServerBackupsFilter[]
    backup_collections Sequence[GetWlmsWlsDomainServerBackupsBackupCollection]
    The list of backup_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    server_id str
    wls_domain_id str
    filters Sequence[GetWlmsWlsDomainServerBackupsFilter]
    backupCollections List<Property Map>
    The list of backup_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    serverId String
    wlsDomainId String
    filters List<Property Map>

    Supporting Types

    GetWlmsWlsDomainServerBackupsBackupCollection

    GetWlmsWlsDomainServerBackupsBackupCollectionItem

    BackupLocation string
    The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
    ContentType string
    The type of content of the backup.
    Id string
    The unique identifier of the backup.
    ManagedInstanceId string
    The managed instance ID of the server for which the backup was created.
    TimeCreated string
    The date and time when the backup was created (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    Type string
    The type of the backup.
    BackupLocation string
    The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
    ContentType string
    The type of content of the backup.
    Id string
    The unique identifier of the backup.
    ManagedInstanceId string
    The managed instance ID of the server for which the backup was created.
    TimeCreated string
    The date and time when the backup was created (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    Type string
    The type of the backup.
    backupLocation String
    The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
    contentType String
    The type of content of the backup.
    id String
    The unique identifier of the backup.
    managedInstanceId String
    The managed instance ID of the server for which the backup was created.
    timeCreated String
    The date and time when the backup was created (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    type String
    The type of the backup.
    backupLocation string
    The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
    contentType string
    The type of content of the backup.
    id string
    The unique identifier of the backup.
    managedInstanceId string
    The managed instance ID of the server for which the backup was created.
    timeCreated string
    The date and time when the backup was created (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    type string
    The type of the backup.
    backup_location str
    The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
    content_type str
    The type of content of the backup.
    id str
    The unique identifier of the backup.
    managed_instance_id str
    The managed instance ID of the server for which the backup was created.
    time_created str
    The date and time when the backup was created (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    type str
    The type of the backup.
    backupLocation String
    The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
    contentType String
    The type of content of the backup.
    id String
    The unique identifier of the backup.
    managedInstanceId String
    The managed instance ID of the server for which the backup was created.
    timeCreated String
    The date and time when the backup was created (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    type String
    The type of the backup.

    GetWlmsWlsDomainServerBackupsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate