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

oci.oci.getWlmsWlsDomainServerBackup

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

    This data source provides details about a specific Wls Domain Server Backup resource in Oracle Cloud Infrastructure Wlms service.

    Get details of specific backup for the WebLogic Domain.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testWlsDomainServerBackup = oci.oci.getWlmsWlsDomainServerBackup({
        backupId: testBackup.id,
        serverId: testServer.id,
        wlsDomainId: testWlsDomain.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_wls_domain_server_backup = oci.oci.get_wlms_wls_domain_server_backup(backup_id=test_backup["id"],
        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.GetWlmsWlsDomainServerBackup(ctx, &oci.GetWlmsWlsDomainServerBackupArgs{
    			BackupId:    testBackup.Id,
    			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 testWlsDomainServerBackup = Oci.Oci.GetWlmsWlsDomainServerBackup.Invoke(new()
        {
            BackupId = testBackup.Id,
            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.GetWlmsWlsDomainServerBackupArgs;
    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 testWlsDomainServerBackup = OciFunctions.getWlmsWlsDomainServerBackup(GetWlmsWlsDomainServerBackupArgs.builder()
                .backupId(testBackup.id())
                .serverId(testServer.id())
                .wlsDomainId(testWlsDomain.id())
                .build());
    
        }
    }
    
    variables:
      testWlsDomainServerBackup:
        fn::invoke:
          function: oci:oci:getWlmsWlsDomainServerBackup
          arguments:
            backupId: ${testBackup.id}
            serverId: ${testServer.id}
            wlsDomainId: ${testWlsDomain.id}
    

    Using getWlmsWlsDomainServerBackup

    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 getWlmsWlsDomainServerBackup(args: GetWlmsWlsDomainServerBackupArgs, opts?: InvokeOptions): Promise<GetWlmsWlsDomainServerBackupResult>
    function getWlmsWlsDomainServerBackupOutput(args: GetWlmsWlsDomainServerBackupOutputArgs, opts?: InvokeOptions): Output<GetWlmsWlsDomainServerBackupResult>
    def get_wlms_wls_domain_server_backup(backup_id: Optional[str] = None,
                                          server_id: Optional[str] = None,
                                          wls_domain_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetWlmsWlsDomainServerBackupResult
    def get_wlms_wls_domain_server_backup_output(backup_id: Optional[pulumi.Input[str]] = None,
                                          server_id: Optional[pulumi.Input[str]] = None,
                                          wls_domain_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetWlmsWlsDomainServerBackupResult]
    func GetWlmsWlsDomainServerBackup(ctx *Context, args *GetWlmsWlsDomainServerBackupArgs, opts ...InvokeOption) (*GetWlmsWlsDomainServerBackupResult, error)
    func GetWlmsWlsDomainServerBackupOutput(ctx *Context, args *GetWlmsWlsDomainServerBackupOutputArgs, opts ...InvokeOption) GetWlmsWlsDomainServerBackupResultOutput

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

    public static class GetWlmsWlsDomainServerBackup 
    {
        public static Task<GetWlmsWlsDomainServerBackupResult> InvokeAsync(GetWlmsWlsDomainServerBackupArgs args, InvokeOptions? opts = null)
        public static Output<GetWlmsWlsDomainServerBackupResult> Invoke(GetWlmsWlsDomainServerBackupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlmsWlsDomainServerBackupResult> getWlmsWlsDomainServerBackup(GetWlmsWlsDomainServerBackupArgs args, InvokeOptions options)
    public static Output<GetWlmsWlsDomainServerBackupResult> getWlmsWlsDomainServerBackup(GetWlmsWlsDomainServerBackupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getWlmsWlsDomainServerBackup:getWlmsWlsDomainServerBackup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BackupId string

    The unique identifier of the backup.

    Note: Not an OCID.

    ServerId string

    The unique identifier of a server.

    Note: Not an OCID.

    WlsDomainId string
    The OCID of the WebLogic domain.
    BackupId string

    The unique identifier of the backup.

    Note: Not an OCID.

    ServerId string

    The unique identifier of a server.

    Note: Not an OCID.

    WlsDomainId string
    The OCID of the WebLogic domain.
    backupId String

    The unique identifier of the backup.

    Note: Not an OCID.

    serverId String

    The unique identifier of a server.

    Note: Not an OCID.

    wlsDomainId String
    The OCID of the WebLogic domain.
    backupId string

    The unique identifier of the backup.

    Note: Not an OCID.

    serverId string

    The unique identifier of a server.

    Note: Not an OCID.

    wlsDomainId string
    The OCID of the WebLogic domain.
    backup_id str

    The unique identifier of the backup.

    Note: Not an OCID.

    server_id str

    The unique identifier of a server.

    Note: Not an OCID.

    wls_domain_id str
    The OCID of the WebLogic domain.
    backupId String

    The unique identifier of the backup.

    Note: Not an OCID.

    serverId String

    The unique identifier of a server.

    Note: Not an OCID.

    wlsDomainId String
    The OCID of the WebLogic domain.

    getWlmsWlsDomainServerBackup Result

    The following output properties are available:

    BackupId string
    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 provider-assigned unique ID for this managed resource.
    ManagedInstanceId string
    The managed instance ID of the server for which the backup was created.
    ServerId string
    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.
    WlsDomainId string
    BackupId string
    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 provider-assigned unique ID for this managed resource.
    ManagedInstanceId string
    The managed instance ID of the server for which the backup was created.
    ServerId string
    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.
    WlsDomainId string
    backupId String
    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 provider-assigned unique ID for this managed resource.
    managedInstanceId String
    The managed instance ID of the server for which the backup was created.
    serverId String
    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.
    wlsDomainId String
    backupId string
    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 provider-assigned unique ID for this managed resource.
    managedInstanceId string
    The managed instance ID of the server for which the backup was created.
    serverId string
    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.
    wlsDomainId string
    backup_id str
    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 provider-assigned unique ID for this managed resource.
    managed_instance_id str
    The managed instance ID of the server for which the backup was created.
    server_id str
    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.
    wls_domain_id str
    backupId String
    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 provider-assigned unique ID for this managed resource.
    managedInstanceId String
    The managed instance ID of the server for which the backup was created.
    serverId String
    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.
    wlsDomainId String

    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