Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
Retrieves the power virtual server workspaces for primary and standby orchestrator based on location id.
This data source is deprecated and will be removed in the next major version. Use `ibm_pdr_powervs_workspace instead.
Using getPdrGetPowervsWorkspace
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 getPdrGetPowervsWorkspace(args: GetPdrGetPowervsWorkspaceArgs, opts?: InvokeOptions): Promise<GetPdrGetPowervsWorkspaceResult>
function getPdrGetPowervsWorkspaceOutput(args: GetPdrGetPowervsWorkspaceOutputArgs, opts?: InvokeOptions): Output<GetPdrGetPowervsWorkspaceResult>def get_pdr_get_powervs_workspace(accept_language: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
location_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPdrGetPowervsWorkspaceResult
def get_pdr_get_powervs_workspace_output(accept_language: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
instance_id: pulumi.Input[Optional[str]] = None,
location_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPdrGetPowervsWorkspaceResult]func GetPdrGetPowervsWorkspace(ctx *Context, args *GetPdrGetPowervsWorkspaceArgs, opts ...InvokeOption) (*GetPdrGetPowervsWorkspaceResult, error)
func GetPdrGetPowervsWorkspaceOutput(ctx *Context, args *GetPdrGetPowervsWorkspaceOutputArgs, opts ...InvokeOption) GetPdrGetPowervsWorkspaceResultOutput> Note: This function is named GetPdrGetPowervsWorkspace in the Go SDK.
public static class GetPdrGetPowervsWorkspace
{
public static Task<GetPdrGetPowervsWorkspaceResult> InvokeAsync(GetPdrGetPowervsWorkspaceArgs args, InvokeOptions? opts = null)
public static Output<GetPdrGetPowervsWorkspaceResult> Invoke(GetPdrGetPowervsWorkspaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPdrGetPowervsWorkspaceResult> getPdrGetPowervsWorkspace(GetPdrGetPowervsWorkspaceArgs args, InvokeOptions options)
public static Output<GetPdrGetPowervsWorkspaceResult> getPdrGetPowervsWorkspace(GetPdrGetPowervsWorkspaceArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getPdrGetPowervsWorkspace:getPdrGetPowervsWorkspace
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - ID of the service instance.
- Location
Id string - Location ID value. You can use datsource ibm.getPdrGetDrLocations to fetch location id.
- Accept
Language string - Id string
- (String) The unique identifier of the DR workspace.
- Instance
Id string - ID of the service instance.
- Location
Id string - Location ID value. You can use datsource ibm.getPdrGetDrLocations to fetch location id.
- Accept
Language string - Id string
- (String) The unique identifier of the DR workspace.
- instance
Id String - ID of the service instance.
- location
Id String - Location ID value. You can use datsource ibm.getPdrGetDrLocations to fetch location id.
- accept
Language String - id String
- (String) The unique identifier of the DR workspace.
- instance
Id string - ID of the service instance.
- location
Id string - Location ID value. You can use datsource ibm.getPdrGetDrLocations to fetch location id.
- accept
Language string - id string
- (String) The unique identifier of the DR workspace.
- instance_
id str - ID of the service instance.
- location_
id str - Location ID value. You can use datsource ibm.getPdrGetDrLocations to fetch location id.
- accept_
language str - id str
- (String) The unique identifier of the DR workspace.
- instance
Id String - ID of the service instance.
- location
Id String - Location ID value. You can use datsource ibm.getPdrGetDrLocations to fetch location id.
- accept
Language String - id String
- (String) The unique identifier of the DR workspace.
getPdrGetPowervsWorkspace Result
The following output properties are available:
- Dr
Standby stringWorkspace Description - (String) Description of Standby Workspace.
- Dr
Standby List<GetWorkspaces Pdr Get Powervs Workspace Dr Standby Workspace> - (List) The list of standby disaster recovery workspaces. Nested schema for dr_standby_workspaces:
- Dr
Workspace stringDescription - (String) Description of Workspace.
- Dr
Workspaces List<GetPdr Get Powervs Workspace Dr Workspace> - (List) The list of primary disaster recovery workspaces. Nested schema for dr_workspaces:
- Id string
- (String) The unique identifier of the DR workspace.
- Instance
Id string - Location
Id string - Accept
Language string
- Dr
Standby stringWorkspace Description - (String) Description of Standby Workspace.
- Dr
Standby []GetWorkspaces Pdr Get Powervs Workspace Dr Standby Workspace - (List) The list of standby disaster recovery workspaces. Nested schema for dr_standby_workspaces:
- Dr
Workspace stringDescription - (String) Description of Workspace.
- Dr
Workspaces []GetPdr Get Powervs Workspace Dr Workspace - (List) The list of primary disaster recovery workspaces. Nested schema for dr_workspaces:
- Id string
- (String) The unique identifier of the DR workspace.
- Instance
Id string - Location
Id string - Accept
Language string
- dr
Standby StringWorkspace Description - (String) Description of Standby Workspace.
- dr
Standby List<GetWorkspaces Pdr Get Powervs Workspace Dr Standby Workspace> - (List) The list of standby disaster recovery workspaces. Nested schema for dr_standby_workspaces:
- dr
Workspace StringDescription - (String) Description of Workspace.
- dr
Workspaces List<GetPdr Get Powervs Workspace Dr Workspace> - (List) The list of primary disaster recovery workspaces. Nested schema for dr_workspaces:
- id String
- (String) The unique identifier of the DR workspace.
- instance
Id String - location
Id String - accept
Language String
- dr
Standby stringWorkspace Description - (String) Description of Standby Workspace.
- dr
Standby GetWorkspaces Pdr Get Powervs Workspace Dr Standby Workspace[] - (List) The list of standby disaster recovery workspaces. Nested schema for dr_standby_workspaces:
- dr
Workspace stringDescription - (String) Description of Workspace.
- dr
Workspaces GetPdr Get Powervs Workspace Dr Workspace[] - (List) The list of primary disaster recovery workspaces. Nested schema for dr_workspaces:
- id string
- (String) The unique identifier of the DR workspace.
- instance
Id string - location
Id string - accept
Language string
- dr_
standby_ strworkspace_ description - (String) Description of Standby Workspace.
- dr_
standby_ Sequence[Getworkspaces Pdr Get Powervs Workspace Dr Standby Workspace] - (List) The list of standby disaster recovery workspaces. Nested schema for dr_standby_workspaces:
- dr_
workspace_ strdescription - (String) Description of Workspace.
- dr_
workspaces Sequence[GetPdr Get Powervs Workspace Dr Workspace] - (List) The list of primary disaster recovery workspaces. Nested schema for dr_workspaces:
- id str
- (String) The unique identifier of the DR workspace.
- instance_
id str - location_
id str - accept_
language str
- dr
Standby StringWorkspace Description - (String) Description of Standby Workspace.
- dr
Standby List<Property Map>Workspaces - (List) The list of standby disaster recovery workspaces. Nested schema for dr_standby_workspaces:
- dr
Workspace StringDescription - (String) Description of Workspace.
- dr
Workspaces List<Property Map> - (List) The list of primary disaster recovery workspaces. Nested schema for dr_workspaces:
- id String
- (String) The unique identifier of the DR workspace.
- instance
Id String - location
Id String - accept
Language String
Supporting Types
GetPdrGetPowervsWorkspaceDrStandbyWorkspace
- Details
List<Get
Pdr Get Powervs Workspace Dr Standby Workspace Detail> - (List) The detailed information about the DR workspace. Nested schema for details:
- Id string
- (String) The unique identifier of the DR workspace.
- Locations
List<Get
Pdr Get Powervs Workspace Dr Standby Workspace Location> - (List) The location information of the DR workspace. Nested schema for location:
- Name string
- (String) The name of the DR workspace.
- Status string
- (String) The status of the DR workspace.
- Details
[]Get
Pdr Get Powervs Workspace Dr Standby Workspace Detail - (List) The detailed information about the DR workspace. Nested schema for details:
- Id string
- (String) The unique identifier of the DR workspace.
- Locations
[]Get
Pdr Get Powervs Workspace Dr Standby Workspace Location - (List) The location information of the DR workspace. Nested schema for location:
- Name string
- (String) The name of the DR workspace.
- Status string
- (String) The status of the DR workspace.
- details
List<Get
Pdr Get Powervs Workspace Dr Standby Workspace Detail> - (List) The detailed information about the DR workspace. Nested schema for details:
- id String
- (String) The unique identifier of the DR workspace.
- locations
List<Get
Pdr Get Powervs Workspace Dr Standby Workspace Location> - (List) The location information of the DR workspace. Nested schema for location:
- name String
- (String) The name of the DR workspace.
- status String
- (String) The status of the DR workspace.
- details
Get
Pdr Get Powervs Workspace Dr Standby Workspace Detail[] - (List) The detailed information about the DR workspace. Nested schema for details:
- id string
- (String) The unique identifier of the DR workspace.
- locations
Get
Pdr Get Powervs Workspace Dr Standby Workspace Location[] - (List) The location information of the DR workspace. Nested schema for location:
- name string
- (String) The name of the DR workspace.
- status string
- (String) The status of the DR workspace.
- details
Sequence[Get
Pdr Get Powervs Workspace Dr Standby Workspace Detail] - (List) The detailed information about the DR workspace. Nested schema for details:
- id str
- (String) The unique identifier of the DR workspace.
- locations
Sequence[Get
Pdr Get Powervs Workspace Dr Standby Workspace Location] - (List) The location information of the DR workspace. Nested schema for location:
- name str
- (String) The name of the DR workspace.
- status str
- (String) The status of the DR workspace.
- details List<Property Map>
- (List) The detailed information about the DR workspace. Nested schema for details:
- id String
- (String) The unique identifier of the DR workspace.
- locations List<Property Map>
- (List) The location information of the DR workspace. Nested schema for location:
- name String
- (String) The name of the DR workspace.
- status String
- (String) The status of the DR workspace.
GetPdrGetPowervsWorkspaceDrStandbyWorkspaceDetail
- Crn string
- (String) Cloud Resource Name (CRN) of the DR workspace.
- Crn string
- (String) Cloud Resource Name (CRN) of the DR workspace.
- crn String
- (String) Cloud Resource Name (CRN) of the DR workspace.
- crn string
- (String) Cloud Resource Name (CRN) of the DR workspace.
- crn str
- (String) Cloud Resource Name (CRN) of the DR workspace.
- crn String
- (String) Cloud Resource Name (CRN) of the DR workspace.
GetPdrGetPowervsWorkspaceDrStandbyWorkspaceLocation
GetPdrGetPowervsWorkspaceDrWorkspace
- Default bool
- (Boolean) Indicates if this is the default DR workspace.
- Details
List<Get
Pdr Get Powervs Workspace Dr Workspace Detail> - (List) The detailed information about the DR workspace. Nested schema for details:
- Id string
- (String) The unique identifier of the DR workspace.
- Locations
List<Get
Pdr Get Powervs Workspace Dr Workspace Location> - (List) The location information of the DR workspace. Nested schema for location:
- Name string
- (String) The name of the DR workspace.
- Status string
- (String) The status of the DR workspace.
- Default bool
- (Boolean) Indicates if this is the default DR workspace.
- Details
[]Get
Pdr Get Powervs Workspace Dr Workspace Detail - (List) The detailed information about the DR workspace. Nested schema for details:
- Id string
- (String) The unique identifier of the DR workspace.
- Locations
[]Get
Pdr Get Powervs Workspace Dr Workspace Location - (List) The location information of the DR workspace. Nested schema for location:
- Name string
- (String) The name of the DR workspace.
- Status string
- (String) The status of the DR workspace.
- default_ Boolean
- (Boolean) Indicates if this is the default DR workspace.
- details
List<Get
Pdr Get Powervs Workspace Dr Workspace Detail> - (List) The detailed information about the DR workspace. Nested schema for details:
- id String
- (String) The unique identifier of the DR workspace.
- locations
List<Get
Pdr Get Powervs Workspace Dr Workspace Location> - (List) The location information of the DR workspace. Nested schema for location:
- name String
- (String) The name of the DR workspace.
- status String
- (String) The status of the DR workspace.
- default boolean
- (Boolean) Indicates if this is the default DR workspace.
- details
Get
Pdr Get Powervs Workspace Dr Workspace Detail[] - (List) The detailed information about the DR workspace. Nested schema for details:
- id string
- (String) The unique identifier of the DR workspace.
- locations
Get
Pdr Get Powervs Workspace Dr Workspace Location[] - (List) The location information of the DR workspace. Nested schema for location:
- name string
- (String) The name of the DR workspace.
- status string
- (String) The status of the DR workspace.
- default bool
- (Boolean) Indicates if this is the default DR workspace.
- details
Sequence[Get
Pdr Get Powervs Workspace Dr Workspace Detail] - (List) The detailed information about the DR workspace. Nested schema for details:
- id str
- (String) The unique identifier of the DR workspace.
- locations
Sequence[Get
Pdr Get Powervs Workspace Dr Workspace Location] - (List) The location information of the DR workspace. Nested schema for location:
- name str
- (String) The name of the DR workspace.
- status str
- (String) The status of the DR workspace.
- default Boolean
- (Boolean) Indicates if this is the default DR workspace.
- details List<Property Map>
- (List) The detailed information about the DR workspace. Nested schema for details:
- id String
- (String) The unique identifier of the DR workspace.
- locations List<Property Map>
- (List) The location information of the DR workspace. Nested schema for location:
- name String
- (String) The name of the DR workspace.
- status String
- (String) The status of the DR workspace.
GetPdrGetPowervsWorkspaceDrWorkspaceDetail
- Crn string
- (String) Cloud Resource Name (CRN) of the DR workspace.
- Crn string
- (String) Cloud Resource Name (CRN) of the DR workspace.
- crn String
- (String) Cloud Resource Name (CRN) of the DR workspace.
- crn string
- (String) Cloud Resource Name (CRN) of the DR workspace.
- crn str
- (String) Cloud Resource Name (CRN) of the DR workspace.
- crn String
- (String) Cloud Resource Name (CRN) of the DR workspace.
GetPdrGetPowervsWorkspaceDrWorkspaceLocation
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
