oci.oci.getWlmsWlsDomainServerBackups
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 dictionaryThe following arguments are supported:
- Server
Id string The unique identifier of a server.
Note: Not an OCID.
- Wls
Domain stringId - The OCID of the WebLogic domain.
- Filters
List<Get
Wlms Wls Domain Server Backups Filter>
- Server
Id string The unique identifier of a server.
Note: Not an OCID.
- Wls
Domain stringId - The OCID of the WebLogic domain.
- Filters
[]Get
Wlms Wls Domain Server Backups Filter
- server
Id String The unique identifier of a server.
Note: Not an OCID.
- wls
Domain StringId - The OCID of the WebLogic domain.
- filters
List<Get
Wlms Wls Domain Server Backups Filter>
- server
Id string The unique identifier of a server.
Note: Not an OCID.
- wls
Domain stringId - The OCID of the WebLogic domain.
- filters
Get
Wlms Wls Domain Server Backups Filter[]
- server_
id str The unique identifier of a server.
Note: Not an OCID.
- wls_
domain_ strid - The OCID of the WebLogic domain.
- filters
Sequence[Get
Wlms Wls Domain Server Backups Filter]
- server
Id String The unique identifier of a server.
Note: Not an OCID.
- wls
Domain StringId - The OCID of the WebLogic domain.
- filters List<Property Map>
getWlmsWlsDomainServerBackups Result
The following output properties are available:
- Backup
Collections List<GetWlms Wls Domain Server Backups Backup Collection> - The list of backup_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Id string - Wls
Domain stringId - Filters
List<Get
Wlms Wls Domain Server Backups Filter>
- Backup
Collections []GetWlms Wls Domain Server Backups Backup Collection - The list of backup_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Id string - Wls
Domain stringId - Filters
[]Get
Wlms Wls Domain Server Backups Filter
- backup
Collections List<GetWlms Wls Domain Server Backups Backup Collection> - The list of backup_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- server
Id String - wls
Domain StringId - filters
List<Get
Wlms Wls Domain Server Backups Filter>
- backup
Collections GetWlms Wls Domain Server Backups Backup Collection[] - The list of backup_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- server
Id string - wls
Domain stringId - filters
Get
Wlms Wls Domain Server Backups Filter[]
- backup_
collections Sequence[GetWlms Wls Domain Server Backups Backup Collection] - The list of backup_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- server_
id str - wls_
domain_ strid - filters
Sequence[Get
Wlms Wls Domain Server Backups Filter]
- backup
Collections List<Property Map> - The list of backup_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- server
Id String - wls
Domain StringId - filters List<Property Map>
Supporting Types
GetWlmsWlsDomainServerBackupsBackupCollection
GetWlmsWlsDomainServerBackupsBackupCollectionItem
- Backup
Location string - The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
- Content
Type string - The type of content of the backup.
- Id string
- The unique identifier of the backup.
- Managed
Instance stringId - The managed instance ID of the server for which the backup was created.
- Time
Created 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 string - The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
- Content
Type string - The type of content of the backup.
- Id string
- The unique identifier of the backup.
- Managed
Instance stringId - The managed instance ID of the server for which the backup was created.
- Time
Created 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 String - The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
- content
Type String - The type of content of the backup.
- id String
- The unique identifier of the backup.
- managed
Instance StringId - The managed instance ID of the server for which the backup was created.
- time
Created 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 string - The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
- content
Type string - The type of content of the backup.
- id string
- The unique identifier of the backup.
- managed
Instance stringId - The managed instance ID of the server for which the backup was created.
- time
Created 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_ strid - 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.
- backup
Location String - The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file.
- content
Type String - The type of content of the backup.
- id String
- The unique identifier of the backup.
- managed
Instance StringId - The managed instance ID of the server for which the backup was created.
- time
Created 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
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
