ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getBackupRecoveryAgentUpgradeTasks
Explore with Pulumi AI
Provides a read-only data source to retrieve information about an Agent upgrade task list. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const backupRecoveryAgentUpgradeTasks = ibm.getBackupRecoveryAgentUpgradeTasks({
xIbmTenantId: ibm_backup_recovery_agent_upgrade_task.backup_recovery_agent_upgrade_task_instance.x_ibm_tenant_id,
});
import pulumi
import pulumi_ibm as ibm
backup_recovery_agent_upgrade_tasks = ibm.get_backup_recovery_agent_upgrade_tasks(x_ibm_tenant_id=ibm_backup_recovery_agent_upgrade_task["backup_recovery_agent_upgrade_task_instance"]["x_ibm_tenant_id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetBackupRecoveryAgentUpgradeTasks(ctx, &ibm.GetBackupRecoveryAgentUpgradeTasksArgs{
XIbmTenantId: ibm_backup_recovery_agent_upgrade_task.Backup_recovery_agent_upgrade_task_instance.X_ibm_tenant_id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var backupRecoveryAgentUpgradeTasks = Ibm.GetBackupRecoveryAgentUpgradeTasks.Invoke(new()
{
XIbmTenantId = ibm_backup_recovery_agent_upgrade_task.Backup_recovery_agent_upgrade_task_instance.X_ibm_tenant_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetBackupRecoveryAgentUpgradeTasksArgs;
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 backupRecoveryAgentUpgradeTasks = IbmFunctions.getBackupRecoveryAgentUpgradeTasks(GetBackupRecoveryAgentUpgradeTasksArgs.builder()
.xIbmTenantId(ibm_backup_recovery_agent_upgrade_task.backup_recovery_agent_upgrade_task_instance().x_ibm_tenant_id())
.build());
}
}
variables:
backupRecoveryAgentUpgradeTasks:
fn::invoke:
function: ibm:getBackupRecoveryAgentUpgradeTasks
arguments:
xIbmTenantId: ${ibm_backup_recovery_agent_upgrade_task.backup_recovery_agent_upgrade_task_instance.x_ibm_tenant_id}
Using getBackupRecoveryAgentUpgradeTasks
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 getBackupRecoveryAgentUpgradeTasks(args: GetBackupRecoveryAgentUpgradeTasksArgs, opts?: InvokeOptions): Promise<GetBackupRecoveryAgentUpgradeTasksResult>
function getBackupRecoveryAgentUpgradeTasksOutput(args: GetBackupRecoveryAgentUpgradeTasksOutputArgs, opts?: InvokeOptions): Output<GetBackupRecoveryAgentUpgradeTasksResult>
def get_backup_recovery_agent_upgrade_tasks(id: Optional[str] = None,
ids: Optional[Sequence[float]] = None,
x_ibm_tenant_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupRecoveryAgentUpgradeTasksResult
def get_backup_recovery_agent_upgrade_tasks_output(id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
x_ibm_tenant_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupRecoveryAgentUpgradeTasksResult]
func GetBackupRecoveryAgentUpgradeTasks(ctx *Context, args *GetBackupRecoveryAgentUpgradeTasksArgs, opts ...InvokeOption) (*GetBackupRecoveryAgentUpgradeTasksResult, error)
func GetBackupRecoveryAgentUpgradeTasksOutput(ctx *Context, args *GetBackupRecoveryAgentUpgradeTasksOutputArgs, opts ...InvokeOption) GetBackupRecoveryAgentUpgradeTasksResultOutput
> Note: This function is named GetBackupRecoveryAgentUpgradeTasks
in the Go SDK.
public static class GetBackupRecoveryAgentUpgradeTasks
{
public static Task<GetBackupRecoveryAgentUpgradeTasksResult> InvokeAsync(GetBackupRecoveryAgentUpgradeTasksArgs args, InvokeOptions? opts = null)
public static Output<GetBackupRecoveryAgentUpgradeTasksResult> Invoke(GetBackupRecoveryAgentUpgradeTasksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBackupRecoveryAgentUpgradeTasksResult> getBackupRecoveryAgentUpgradeTasks(GetBackupRecoveryAgentUpgradeTasksArgs args, InvokeOptions options)
public static Output<GetBackupRecoveryAgentUpgradeTasksResult> getBackupRecoveryAgentUpgradeTasks(GetBackupRecoveryAgentUpgradeTasksArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getBackupRecoveryAgentUpgradeTasks:getBackupRecoveryAgentUpgradeTasks
arguments:
# arguments dictionary
The following arguments are supported:
- XIbm
Tenant Id This property is required. string - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- Id string
- (Integer) Specifies the ID of the task.
- Ids List<double>
- Specifies IDs of tasks to be fetched.
- XIbm
Tenant Id This property is required. string - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- Id string
- (Integer) Specifies the ID of the task.
- Ids []float64
- Specifies IDs of tasks to be fetched.
- x
Ibm Tenant Id This property is required. String - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- id String
- (Integer) Specifies the ID of the task.
- ids List<Double>
- Specifies IDs of tasks to be fetched.
- x
Ibm Tenant Id This property is required. string - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- id string
- (Integer) Specifies the ID of the task.
- ids number[]
- Specifies IDs of tasks to be fetched.
- x_
ibm_ tenant_ id This property is required. str - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- id str
- (Integer) Specifies the ID of the task.
- ids Sequence[float]
- Specifies IDs of tasks to be fetched.
- x
Ibm Tenant Id This property is required. String - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- id String
- (Integer) Specifies the ID of the task.
- ids List<Number>
- Specifies IDs of tasks to be fetched.
getBackupRecoveryAgentUpgradeTasks Result
The following output properties are available:
- Id string
- (Integer) Specifies the ID of the task.
- Tasks
List<Get
Backup Recovery Agent Upgrade Tasks Task> - (List) Specifies the list of agent upgrade tasks. Nested schema for tasks:
- XIbm
Tenant stringId - Ids List<double>
- Id string
- (Integer) Specifies the ID of the task.
- Tasks
[]Get
Backup Recovery Agent Upgrade Tasks Task - (List) Specifies the list of agent upgrade tasks. Nested schema for tasks:
- XIbm
Tenant stringId - Ids []float64
- id String
- (Integer) Specifies the ID of the task.
- tasks
List<Get
Backup Recovery Agent Upgrade Tasks Task> - (List) Specifies the list of agent upgrade tasks. Nested schema for tasks:
- x
Ibm StringTenant Id - ids List<Double>
- id string
- (Integer) Specifies the ID of the task.
- tasks
Get
Backup Recovery Agent Upgrade Tasks Task[] - (List) Specifies the list of agent upgrade tasks. Nested schema for tasks:
- x
Ibm stringTenant Id - ids number[]
- id str
- (Integer) Specifies the ID of the task.
- tasks
Sequence[Get
Backup Recovery Agent Upgrade Tasks Task] - (List) Specifies the list of agent upgrade tasks. Nested schema for tasks:
- x_
ibm_ strtenant_ id - ids Sequence[float]
- id String
- (Integer) Specifies the ID of the task.
- tasks List<Property Map>
- (List) Specifies the list of agent upgrade tasks. Nested schema for tasks:
- x
Ibm StringTenant Id - ids List<Number>
Supporting Types
GetBackupRecoveryAgentUpgradeTasksTask
- Agent
IDs This property is required. List<double> - Agents
This property is required. List<GetBackup Recovery Agent Upgrade Tasks Task Agent> - (List) Specifies the upgrade information for each agent. Nested schema for agents:
- Cluster
Version This property is required. string - (String) Specifies the version to which agents are upgraded.
- Description
This property is required. string - (String) Specifies the description of the task.
- End
Time Usecs This property is required. double - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- Errors
This property is required. List<GetBackup Recovery Agent Upgrade Tasks Task Error> - (List) Object that holds the error object. Nested schema for error:
- Id
This property is required. double - (Integer) Specifies the ID of the task.
- Is
Retryable This property is required. bool - (Boolean) Specifies if a task can be retried.
- Name
This property is required. string - (String) Specifies the name of the task.
- Retried
Task Id This property is required. double - (Integer) Specifies ID of a task which was retried if type is 'Retry'.
- Schedule
End Time Usecs This property is required. double - (Integer) Specifies the time before which the upgrade task should start execution as a Unix epoch Timestamp (in microseconds). If this is not specified the task will start anytime after scheduleTimeUsecs.
- Schedule
Time Usecs This property is required. double - (Integer) Specifies the time when the task should start execution as a Unix epoch Timestamp (in microseconds). If no schedule is specified, the task will start immediately.
- Start
Time Usecs This property is required. double - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- Status
This property is required. string - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- Type
This property is required. string - (String) Specifes the type of task. 'Auto' indicates an auto agent upgrade task which is started after a cluster upgrade. 'Manual' indicates a schedule based agent upgrade task. 'Retry' indicates an agent upgrade task which was retried.
- Constraints: Allowable values are:
Auto
,Manual
,Retry
.
- Constraints: Allowable values are:
- Agent
IDs This property is required. []float64 - Agents
This property is required. []GetBackup Recovery Agent Upgrade Tasks Task Agent - (List) Specifies the upgrade information for each agent. Nested schema for agents:
- Cluster
Version This property is required. string - (String) Specifies the version to which agents are upgraded.
- Description
This property is required. string - (String) Specifies the description of the task.
- End
Time Usecs This property is required. float64 - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- Errors
This property is required. []GetBackup Recovery Agent Upgrade Tasks Task Error - (List) Object that holds the error object. Nested schema for error:
- Id
This property is required. float64 - (Integer) Specifies the ID of the task.
- Is
Retryable This property is required. bool - (Boolean) Specifies if a task can be retried.
- Name
This property is required. string - (String) Specifies the name of the task.
- Retried
Task Id This property is required. float64 - (Integer) Specifies ID of a task which was retried if type is 'Retry'.
- Schedule
End Time Usecs This property is required. float64 - (Integer) Specifies the time before which the upgrade task should start execution as a Unix epoch Timestamp (in microseconds). If this is not specified the task will start anytime after scheduleTimeUsecs.
- Schedule
Time Usecs This property is required. float64 - (Integer) Specifies the time when the task should start execution as a Unix epoch Timestamp (in microseconds). If no schedule is specified, the task will start immediately.
- Start
Time Usecs This property is required. float64 - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- Status
This property is required. string - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- Type
This property is required. string - (String) Specifes the type of task. 'Auto' indicates an auto agent upgrade task which is started after a cluster upgrade. 'Manual' indicates a schedule based agent upgrade task. 'Retry' indicates an agent upgrade task which was retried.
- Constraints: Allowable values are:
Auto
,Manual
,Retry
.
- Constraints: Allowable values are:
- agent
IDs This property is required. List<Double> - agents
This property is required. List<GetBackup Recovery Agent Upgrade Tasks Task Agent> - (List) Specifies the upgrade information for each agent. Nested schema for agents:
- cluster
Version This property is required. String - (String) Specifies the version to which agents are upgraded.
- description
This property is required. String - (String) Specifies the description of the task.
- end
Time Usecs This property is required. Double - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- errors
This property is required. List<GetBackup Recovery Agent Upgrade Tasks Task Error> - (List) Object that holds the error object. Nested schema for error:
- id
This property is required. Double - (Integer) Specifies the ID of the task.
- is
Retryable This property is required. Boolean - (Boolean) Specifies if a task can be retried.
- name
This property is required. String - (String) Specifies the name of the task.
- retried
Task Id This property is required. Double - (Integer) Specifies ID of a task which was retried if type is 'Retry'.
- schedule
End Time Usecs This property is required. Double - (Integer) Specifies the time before which the upgrade task should start execution as a Unix epoch Timestamp (in microseconds). If this is not specified the task will start anytime after scheduleTimeUsecs.
- schedule
Time Usecs This property is required. Double - (Integer) Specifies the time when the task should start execution as a Unix epoch Timestamp (in microseconds). If no schedule is specified, the task will start immediately.
- start
Time Usecs This property is required. Double - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- status
This property is required. String - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- type
This property is required. String - (String) Specifes the type of task. 'Auto' indicates an auto agent upgrade task which is started after a cluster upgrade. 'Manual' indicates a schedule based agent upgrade task. 'Retry' indicates an agent upgrade task which was retried.
- Constraints: Allowable values are:
Auto
,Manual
,Retry
.
- Constraints: Allowable values are:
- agent
IDs This property is required. number[] - agents
This property is required. GetBackup Recovery Agent Upgrade Tasks Task Agent[] - (List) Specifies the upgrade information for each agent. Nested schema for agents:
- cluster
Version This property is required. string - (String) Specifies the version to which agents are upgraded.
- description
This property is required. string - (String) Specifies the description of the task.
- end
Time Usecs This property is required. number - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- errors
This property is required. GetBackup Recovery Agent Upgrade Tasks Task Error[] - (List) Object that holds the error object. Nested schema for error:
- id
This property is required. number - (Integer) Specifies the ID of the task.
- is
Retryable This property is required. boolean - (Boolean) Specifies if a task can be retried.
- name
This property is required. string - (String) Specifies the name of the task.
- retried
Task Id This property is required. number - (Integer) Specifies ID of a task which was retried if type is 'Retry'.
- schedule
End Time Usecs This property is required. number - (Integer) Specifies the time before which the upgrade task should start execution as a Unix epoch Timestamp (in microseconds). If this is not specified the task will start anytime after scheduleTimeUsecs.
- schedule
Time Usecs This property is required. number - (Integer) Specifies the time when the task should start execution as a Unix epoch Timestamp (in microseconds). If no schedule is specified, the task will start immediately.
- start
Time Usecs This property is required. number - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- status
This property is required. string - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- type
This property is required. string - (String) Specifes the type of task. 'Auto' indicates an auto agent upgrade task which is started after a cluster upgrade. 'Manual' indicates a schedule based agent upgrade task. 'Retry' indicates an agent upgrade task which was retried.
- Constraints: Allowable values are:
Auto
,Manual
,Retry
.
- Constraints: Allowable values are:
- agent_
ids This property is required. Sequence[float] - agents
This property is required. Sequence[GetBackup Recovery Agent Upgrade Tasks Task Agent] - (List) Specifies the upgrade information for each agent. Nested schema for agents:
- cluster_
version This property is required. str - (String) Specifies the version to which agents are upgraded.
- description
This property is required. str - (String) Specifies the description of the task.
- end_
time_ usecs This property is required. float - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- errors
This property is required. Sequence[GetBackup Recovery Agent Upgrade Tasks Task Error] - (List) Object that holds the error object. Nested schema for error:
- id
This property is required. float - (Integer) Specifies the ID of the task.
- is_
retryable This property is required. bool - (Boolean) Specifies if a task can be retried.
- name
This property is required. str - (String) Specifies the name of the task.
- retried_
task_ id This property is required. float - (Integer) Specifies ID of a task which was retried if type is 'Retry'.
- schedule_
end_ time_ usecs This property is required. float - (Integer) Specifies the time before which the upgrade task should start execution as a Unix epoch Timestamp (in microseconds). If this is not specified the task will start anytime after scheduleTimeUsecs.
- schedule_
time_ usecs This property is required. float - (Integer) Specifies the time when the task should start execution as a Unix epoch Timestamp (in microseconds). If no schedule is specified, the task will start immediately.
- start_
time_ usecs This property is required. float - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- status
This property is required. str - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- type
This property is required. str - (String) Specifes the type of task. 'Auto' indicates an auto agent upgrade task which is started after a cluster upgrade. 'Manual' indicates a schedule based agent upgrade task. 'Retry' indicates an agent upgrade task which was retried.
- Constraints: Allowable values are:
Auto
,Manual
,Retry
.
- Constraints: Allowable values are:
- agent
IDs This property is required. List<Number> - agents
This property is required. List<Property Map> - (List) Specifies the upgrade information for each agent. Nested schema for agents:
- cluster
Version This property is required. String - (String) Specifies the version to which agents are upgraded.
- description
This property is required. String - (String) Specifies the description of the task.
- end
Time Usecs This property is required. Number - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- errors
This property is required. List<Property Map> - (List) Object that holds the error object. Nested schema for error:
- id
This property is required. Number - (Integer) Specifies the ID of the task.
- is
Retryable This property is required. Boolean - (Boolean) Specifies if a task can be retried.
- name
This property is required. String - (String) Specifies the name of the task.
- retried
Task Id This property is required. Number - (Integer) Specifies ID of a task which was retried if type is 'Retry'.
- schedule
End Time Usecs This property is required. Number - (Integer) Specifies the time before which the upgrade task should start execution as a Unix epoch Timestamp (in microseconds). If this is not specified the task will start anytime after scheduleTimeUsecs.
- schedule
Time Usecs This property is required. Number - (Integer) Specifies the time when the task should start execution as a Unix epoch Timestamp (in microseconds). If no schedule is specified, the task will start immediately.
- start
Time Usecs This property is required. Number - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- status
This property is required. String - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- type
This property is required. String - (String) Specifes the type of task. 'Auto' indicates an auto agent upgrade task which is started after a cluster upgrade. 'Manual' indicates a schedule based agent upgrade task. 'Retry' indicates an agent upgrade task which was retried.
- Constraints: Allowable values are:
Auto
,Manual
,Retry
.
- Constraints: Allowable values are:
GetBackupRecoveryAgentUpgradeTasksTaskAgent
- Id
This property is required. double - (Integer) Specifies the ID of the task.
- Infos
This property is required. List<GetBackup Recovery Agent Upgrade Tasks Task Agent Info> - (List) Specifies the upgrade state of the agent. Nested schema for info:
- Id
This property is required. float64 - (Integer) Specifies the ID of the task.
- Infos
This property is required. []GetBackup Recovery Agent Upgrade Tasks Task Agent Info - (List) Specifies the upgrade state of the agent. Nested schema for info:
- id
This property is required. Double - (Integer) Specifies the ID of the task.
- infos
This property is required. List<GetBackup Recovery Agent Upgrade Tasks Task Agent Info> - (List) Specifies the upgrade state of the agent. Nested schema for info:
- id
This property is required. number - (Integer) Specifies the ID of the task.
- infos
This property is required. GetBackup Recovery Agent Upgrade Tasks Task Agent Info[] - (List) Specifies the upgrade state of the agent. Nested schema for info:
- id
This property is required. float - (Integer) Specifies the ID of the task.
- infos
This property is required. Sequence[GetBackup Recovery Agent Upgrade Tasks Task Agent Info] - (List) Specifies the upgrade state of the agent. Nested schema for info:
- id
This property is required. Number - (Integer) Specifies the ID of the task.
- infos
This property is required. List<Property Map> - (List) Specifies the upgrade state of the agent. Nested schema for info:
GetBackupRecoveryAgentUpgradeTasksTaskAgentInfo
- End
Time Usecs This property is required. double - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- Errors
This property is required. List<GetBackup Recovery Agent Upgrade Tasks Task Agent Info Error> - (List) Object that holds the error object. Nested schema for error:
- Name
This property is required. string - (String) Specifies the name of the task.
- Previous
Software Version This property is required. string - (String) Specifies the software version of the agent before upgrade.
- Start
Time Usecs This property is required. double - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- Status
This property is required. string - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- End
Time Usecs This property is required. float64 - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- Errors
This property is required. []GetBackup Recovery Agent Upgrade Tasks Task Agent Info Error - (List) Object that holds the error object. Nested schema for error:
- Name
This property is required. string - (String) Specifies the name of the task.
- Previous
Software Version This property is required. string - (String) Specifies the software version of the agent before upgrade.
- Start
Time Usecs This property is required. float64 - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- Status
This property is required. string - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- end
Time Usecs This property is required. Double - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- errors
This property is required. List<GetBackup Recovery Agent Upgrade Tasks Task Agent Info Error> - (List) Object that holds the error object. Nested schema for error:
- name
This property is required. String - (String) Specifies the name of the task.
- previous
Software Version This property is required. String - (String) Specifies the software version of the agent before upgrade.
- start
Time Usecs This property is required. Double - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- status
This property is required. String - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- end
Time Usecs This property is required. number - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- errors
This property is required. GetBackup Recovery Agent Upgrade Tasks Task Agent Info Error[] - (List) Object that holds the error object. Nested schema for error:
- name
This property is required. string - (String) Specifies the name of the task.
- previous
Software Version This property is required. string - (String) Specifies the software version of the agent before upgrade.
- start
Time Usecs This property is required. number - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- status
This property is required. string - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- end_
time_ usecs This property is required. float - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- errors
This property is required. Sequence[GetBackup Recovery Agent Upgrade Tasks Task Agent Info Error] - (List) Object that holds the error object. Nested schema for error:
- name
This property is required. str - (String) Specifies the name of the task.
- previous_
software_ version This property is required. str - (String) Specifies the software version of the agent before upgrade.
- start_
time_ usecs This property is required. float - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- status
This property is required. str - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
- end
Time Usecs This property is required. Number - (Integer) Specifies the time when the upgrade task completed execution as a Unix epoch Timestamp (in microseconds).
- errors
This property is required. List<Property Map> - (List) Object that holds the error object. Nested schema for error:
- name
This property is required. String - (String) Specifies the name of the task.
- previous
Software Version This property is required. String - (String) Specifies the software version of the agent before upgrade.
- start
Time Usecs This property is required. Number - (Integer) Specifies the time, as a Unix epoch timestamp in microseconds, when the task started execution.
- status
This property is required. String - (String) Specifies the status of the task. 'Scheduled' indicates that the upgrade task is yet to start. 'Running' indicates that the upgrade task has started execution. 'Succeeded' indicates that the upgrade task completed without an error. 'Failed' indicates that upgrade has failed for all agents. 'PartiallyFailed' indicates that upgrade has failed for some agents.
- Constraints: Allowable values are:
Scheduled
,Running
,Succeeded
,Failed
,PartiallyFailed
,Canceled
.
- Constraints: Allowable values are:
GetBackupRecoveryAgentUpgradeTasksTaskAgentInfoError
- error_
code This property is required. str - (String) Specifies the error code.
- message
This property is required. str - (String) Specifies the error message.
- task_
log_ id This property is required. str - (String) Specifies the TaskLogId of the failed task.
GetBackupRecoveryAgentUpgradeTasksTaskError
- error_
code This property is required. str - (String) Specifies the error code.
- message
This property is required. str - (String) Specifies the error message.
- task_
log_ id This property is required. str - (String) Specifies the TaskLogId of the failed task.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.