Create, update, and delete backup_recovery_manager_create_cluster_upgradess with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const backupRecoveryManagerCreateClusterUpgradesInstance = new ibm.BackupRecoveryManagerCreateClusterUpgrades("backup_recovery_manager_create_cluster_upgrades_instance", {});
import pulumi
import pulumi_ibm as ibm
backup_recovery_manager_create_cluster_upgrades_instance = ibm.BackupRecoveryManagerCreateClusterUpgrades("backup_recovery_manager_create_cluster_upgrades_instance")
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.NewBackupRecoveryManagerCreateClusterUpgrades(ctx, "backup_recovery_manager_create_cluster_upgrades_instance", 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 backupRecoveryManagerCreateClusterUpgradesInstance = new Ibm.BackupRecoveryManagerCreateClusterUpgrades("backup_recovery_manager_create_cluster_upgrades_instance");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.BackupRecoveryManagerCreateClusterUpgrades;
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) {
var backupRecoveryManagerCreateClusterUpgradesInstance = new BackupRecoveryManagerCreateClusterUpgrades("backupRecoveryManagerCreateClusterUpgradesInstance");
}
}
resources:
backupRecoveryManagerCreateClusterUpgradesInstance:
type: ibm:BackupRecoveryManagerCreateClusterUpgrades
name: backup_recovery_manager_create_cluster_upgrades_instance
Create BackupRecoveryManagerCreateClusterUpgrades Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BackupRecoveryManagerCreateClusterUpgrades(name: string, args: BackupRecoveryManagerCreateClusterUpgradesArgs, opts?: CustomResourceOptions);@overload
def BackupRecoveryManagerCreateClusterUpgrades(resource_name: str,
args: BackupRecoveryManagerCreateClusterUpgradesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BackupRecoveryManagerCreateClusterUpgrades(resource_name: str,
opts: Optional[ResourceOptions] = None,
clusters: Optional[Sequence[BackupRecoveryManagerCreateClusterUpgradesClusterArgs]] = None,
auth_headers: Optional[Sequence[BackupRecoveryManagerCreateClusterUpgradesAuthHeaderArgs]] = None,
backup_recovery_manager_create_cluster_upgrades_id: Optional[str] = None,
endpoint_type: Optional[str] = None,
instance_id: Optional[str] = None,
interval_for_rolling_upgrade_in_hours: Optional[float] = None,
package_url: Optional[str] = None,
patch_upgrade_params: Optional[BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsArgs] = None,
region: Optional[str] = None,
target_version: Optional[str] = None,
time_stamp_to_upgrade_at_msecs: Optional[float] = None,
type: Optional[str] = None)func NewBackupRecoveryManagerCreateClusterUpgrades(ctx *Context, name string, args BackupRecoveryManagerCreateClusterUpgradesArgs, opts ...ResourceOption) (*BackupRecoveryManagerCreateClusterUpgrades, error)public BackupRecoveryManagerCreateClusterUpgrades(string name, BackupRecoveryManagerCreateClusterUpgradesArgs args, CustomResourceOptions? opts = null)
public BackupRecoveryManagerCreateClusterUpgrades(String name, BackupRecoveryManagerCreateClusterUpgradesArgs args)
public BackupRecoveryManagerCreateClusterUpgrades(String name, BackupRecoveryManagerCreateClusterUpgradesArgs args, CustomResourceOptions options)
type: ibm:BackupRecoveryManagerCreateClusterUpgrades
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BackupRecoveryManagerCreateClusterUpgradesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BackupRecoveryManagerCreateClusterUpgradesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BackupRecoveryManagerCreateClusterUpgradesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupRecoveryManagerCreateClusterUpgradesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupRecoveryManagerCreateClusterUpgradesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var backupRecoveryManagerCreateClusterUpgradesResource = new Ibm.BackupRecoveryManagerCreateClusterUpgrades("backupRecoveryManagerCreateClusterUpgradesResource", new()
{
Clusters = new[]
{
new Ibm.Inputs.BackupRecoveryManagerCreateClusterUpgradesClusterArgs
{
ClusterId = 0,
ClusterIncarnationId = 0,
CurrentVersion = "string",
},
},
AuthHeaders = new[]
{
new Ibm.Inputs.BackupRecoveryManagerCreateClusterUpgradesAuthHeaderArgs
{
Key = "string",
Value = "string",
},
},
BackupRecoveryManagerCreateClusterUpgradesId = "string",
EndpointType = "string",
InstanceId = "string",
IntervalForRollingUpgradeInHours = 0,
PackageUrl = "string",
PatchUpgradeParams = new Ibm.Inputs.BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsArgs
{
AuthHeaders = new[]
{
new Ibm.Inputs.BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsAuthHeaderArgs
{
Key = "string",
Value = "string",
},
},
IgnorePreChecksFailure = false,
PackageUrl = "string",
TargetVersion = "string",
},
Region = "string",
TargetVersion = "string",
TimeStampToUpgradeAtMsecs = 0,
Type = "string",
});
example, err := ibm.NewBackupRecoveryManagerCreateClusterUpgrades(ctx, "backupRecoveryManagerCreateClusterUpgradesResource", &ibm.BackupRecoveryManagerCreateClusterUpgradesArgs{
Clusters: ibm.BackupRecoveryManagerCreateClusterUpgradesClusterArray{
&ibm.BackupRecoveryManagerCreateClusterUpgradesClusterArgs{
ClusterId: pulumi.Float64(0),
ClusterIncarnationId: pulumi.Float64(0),
CurrentVersion: pulumi.String("string"),
},
},
AuthHeaders: ibm.BackupRecoveryManagerCreateClusterUpgradesAuthHeaderArray{
&ibm.BackupRecoveryManagerCreateClusterUpgradesAuthHeaderArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
BackupRecoveryManagerCreateClusterUpgradesId: pulumi.String("string"),
EndpointType: pulumi.String("string"),
InstanceId: pulumi.String("string"),
IntervalForRollingUpgradeInHours: pulumi.Float64(0),
PackageUrl: pulumi.String("string"),
PatchUpgradeParams: &ibm.BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsArgs{
AuthHeaders: ibm.BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsAuthHeaderArray{
&ibm.BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsAuthHeaderArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
IgnorePreChecksFailure: pulumi.Bool(false),
PackageUrl: pulumi.String("string"),
TargetVersion: pulumi.String("string"),
},
Region: pulumi.String("string"),
TargetVersion: pulumi.String("string"),
TimeStampToUpgradeAtMsecs: pulumi.Float64(0),
Type: pulumi.String("string"),
})
var backupRecoveryManagerCreateClusterUpgradesResource = new BackupRecoveryManagerCreateClusterUpgrades("backupRecoveryManagerCreateClusterUpgradesResource", BackupRecoveryManagerCreateClusterUpgradesArgs.builder()
.clusters(BackupRecoveryManagerCreateClusterUpgradesClusterArgs.builder()
.clusterId(0.0)
.clusterIncarnationId(0.0)
.currentVersion("string")
.build())
.authHeaders(BackupRecoveryManagerCreateClusterUpgradesAuthHeaderArgs.builder()
.key("string")
.value("string")
.build())
.backupRecoveryManagerCreateClusterUpgradesId("string")
.endpointType("string")
.instanceId("string")
.intervalForRollingUpgradeInHours(0.0)
.packageUrl("string")
.patchUpgradeParams(BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsArgs.builder()
.authHeaders(BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsAuthHeaderArgs.builder()
.key("string")
.value("string")
.build())
.ignorePreChecksFailure(false)
.packageUrl("string")
.targetVersion("string")
.build())
.region("string")
.targetVersion("string")
.timeStampToUpgradeAtMsecs(0.0)
.type("string")
.build());
backup_recovery_manager_create_cluster_upgrades_resource = ibm.BackupRecoveryManagerCreateClusterUpgrades("backupRecoveryManagerCreateClusterUpgradesResource",
clusters=[{
"cluster_id": 0,
"cluster_incarnation_id": 0,
"current_version": "string",
}],
auth_headers=[{
"key": "string",
"value": "string",
}],
backup_recovery_manager_create_cluster_upgrades_id="string",
endpoint_type="string",
instance_id="string",
interval_for_rolling_upgrade_in_hours=0,
package_url="string",
patch_upgrade_params={
"auth_headers": [{
"key": "string",
"value": "string",
}],
"ignore_pre_checks_failure": False,
"package_url": "string",
"target_version": "string",
},
region="string",
target_version="string",
time_stamp_to_upgrade_at_msecs=0,
type="string")
const backupRecoveryManagerCreateClusterUpgradesResource = new ibm.BackupRecoveryManagerCreateClusterUpgrades("backupRecoveryManagerCreateClusterUpgradesResource", {
clusters: [{
clusterId: 0,
clusterIncarnationId: 0,
currentVersion: "string",
}],
authHeaders: [{
key: "string",
value: "string",
}],
backupRecoveryManagerCreateClusterUpgradesId: "string",
endpointType: "string",
instanceId: "string",
intervalForRollingUpgradeInHours: 0,
packageUrl: "string",
patchUpgradeParams: {
authHeaders: [{
key: "string",
value: "string",
}],
ignorePreChecksFailure: false,
packageUrl: "string",
targetVersion: "string",
},
region: "string",
targetVersion: "string",
timeStampToUpgradeAtMsecs: 0,
type: "string",
});
type: ibm:BackupRecoveryManagerCreateClusterUpgrades
properties:
authHeaders:
- key: string
value: string
backupRecoveryManagerCreateClusterUpgradesId: string
clusters:
- clusterId: 0
clusterIncarnationId: 0
currentVersion: string
endpointType: string
instanceId: string
intervalForRollingUpgradeInHours: 0
packageUrl: string
patchUpgradeParams:
authHeaders:
- key: string
value: string
ignorePreChecksFailure: false
packageUrl: string
targetVersion: string
region: string
targetVersion: string
timeStampToUpgradeAtMsecs: 0
type: string
BackupRecoveryManagerCreateClusterUpgrades Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BackupRecoveryManagerCreateClusterUpgrades resource accepts the following input properties:
- Clusters
List<Backup
Recovery Manager Create Cluster Upgrades Cluster> - Array for clusters to be upgraded. Nested schema for clusters:
- Auth
Headers List<BackupRecovery Manager Create Cluster Upgrades Auth Header> - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- Backup
Recovery stringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Interval
For doubleRolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- Package
Url string - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- Patch
Upgrade BackupParams Recovery Manager Create Cluster Upgrades Patch Upgrade Params - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- Region string
- The region of the Backup Recovery instance.
- Target
Version string - Specifies target version to which clusters are to be upgraded.
- Time
Stamp doubleTo Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- Type string
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- Clusters
[]Backup
Recovery Manager Create Cluster Upgrades Cluster Args - Array for clusters to be upgraded. Nested schema for clusters:
- Auth
Headers []BackupRecovery Manager Create Cluster Upgrades Auth Header Args - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- Backup
Recovery stringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Interval
For float64Rolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- Package
Url string - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- Patch
Upgrade BackupParams Recovery Manager Create Cluster Upgrades Patch Upgrade Params Args - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- Region string
- The region of the Backup Recovery instance.
- Target
Version string - Specifies target version to which clusters are to be upgraded.
- Time
Stamp float64To Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- Type string
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- clusters
List<Backup
Recovery Manager Create Cluster Upgrades Cluster> - Array for clusters to be upgraded. Nested schema for clusters:
- auth
Headers List<BackupRecovery Manager Create Cluster Upgrades Auth Header> - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- backup
Recovery StringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- interval
For DoubleRolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- package
Url String - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- patch
Upgrade BackupParams Recovery Manager Create Cluster Upgrades Patch Upgrade Params - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- region String
- The region of the Backup Recovery instance.
- target
Version String - Specifies target version to which clusters are to be upgraded.
- time
Stamp DoubleTo Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- type String
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- clusters
Backup
Recovery Manager Create Cluster Upgrades Cluster[] - Array for clusters to be upgraded. Nested schema for clusters:
- auth
Headers BackupRecovery Manager Create Cluster Upgrades Auth Header[] - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- backup
Recovery stringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- endpoint
Type string - public or private.
- instance
Id string - The instnace ID of the Backup Recovery instance.
- interval
For numberRolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- package
Url string - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- patch
Upgrade BackupParams Recovery Manager Create Cluster Upgrades Patch Upgrade Params - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- region string
- The region of the Backup Recovery instance.
- target
Version string - Specifies target version to which clusters are to be upgraded.
- time
Stamp numberTo Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- type string
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- clusters
Sequence[Backup
Recovery Manager Create Cluster Upgrades Cluster Args] - Array for clusters to be upgraded. Nested schema for clusters:
- auth_
headers Sequence[BackupRecovery Manager Create Cluster Upgrades Auth Header Args] - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- backup_
recovery_ strmanager_ create_ cluster_ upgrades_ id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- endpoint_
type str - public or private.
- instance_
id str - The instnace ID of the Backup Recovery instance.
- interval_
for_ floatrolling_ upgrade_ in_ hours - Specifies the difference of time between two cluster's upgrade.
- package_
url str - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- patch_
upgrade_ Backupparams Recovery Manager Create Cluster Upgrades Patch Upgrade Params Args - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- region str
- The region of the Backup Recovery instance.
- target_
version str - Specifies target version to which clusters are to be upgraded.
- time_
stamp_ floatto_ upgrade_ at_ msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- type str
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- clusters List<Property Map>
- Array for clusters to be upgraded. Nested schema for clusters:
- auth
Headers List<Property Map> - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- backup
Recovery StringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- interval
For NumberRolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- package
Url String - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- patch
Upgrade Property MapParams - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- region String
- The region of the Backup Recovery instance.
- target
Version String - Specifies target version to which clusters are to be upgraded.
- time
Stamp NumberTo Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- type String
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupRecoveryManagerCreateClusterUpgrades resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Upgrade
Response List<BackupLists Recovery Manager Create Cluster Upgrades Upgrade Response List> - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- Id string
- The provider-assigned unique ID for this managed resource.
- Upgrade
Response []BackupLists Recovery Manager Create Cluster Upgrades Upgrade Response List - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- id String
- The provider-assigned unique ID for this managed resource.
- upgrade
Response List<BackupLists Recovery Manager Create Cluster Upgrades Upgrade Response List> - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- id string
- The provider-assigned unique ID for this managed resource.
- upgrade
Response BackupLists Recovery Manager Create Cluster Upgrades Upgrade Response List[] - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- id str
- The provider-assigned unique ID for this managed resource.
- upgrade_
response_ Sequence[Backuplists Recovery Manager Create Cluster Upgrades Upgrade Response List] - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- id String
- The provider-assigned unique ID for this managed resource.
- upgrade
Response List<Property Map>Lists - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
Look up Existing BackupRecoveryManagerCreateClusterUpgrades Resource
Get an existing BackupRecoveryManagerCreateClusterUpgrades resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BackupRecoveryManagerCreateClusterUpgradesState, opts?: CustomResourceOptions): BackupRecoveryManagerCreateClusterUpgrades@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth_headers: Optional[Sequence[BackupRecoveryManagerCreateClusterUpgradesAuthHeaderArgs]] = None,
backup_recovery_manager_create_cluster_upgrades_id: Optional[str] = None,
clusters: Optional[Sequence[BackupRecoveryManagerCreateClusterUpgradesClusterArgs]] = None,
endpoint_type: Optional[str] = None,
instance_id: Optional[str] = None,
interval_for_rolling_upgrade_in_hours: Optional[float] = None,
package_url: Optional[str] = None,
patch_upgrade_params: Optional[BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsArgs] = None,
region: Optional[str] = None,
target_version: Optional[str] = None,
time_stamp_to_upgrade_at_msecs: Optional[float] = None,
type: Optional[str] = None,
upgrade_response_lists: Optional[Sequence[BackupRecoveryManagerCreateClusterUpgradesUpgradeResponseListArgs]] = None) -> BackupRecoveryManagerCreateClusterUpgradesfunc GetBackupRecoveryManagerCreateClusterUpgrades(ctx *Context, name string, id IDInput, state *BackupRecoveryManagerCreateClusterUpgradesState, opts ...ResourceOption) (*BackupRecoveryManagerCreateClusterUpgrades, error)public static BackupRecoveryManagerCreateClusterUpgrades Get(string name, Input<string> id, BackupRecoveryManagerCreateClusterUpgradesState? state, CustomResourceOptions? opts = null)public static BackupRecoveryManagerCreateClusterUpgrades get(String name, Output<String> id, BackupRecoveryManagerCreateClusterUpgradesState state, CustomResourceOptions options)resources: _: type: ibm:BackupRecoveryManagerCreateClusterUpgrades get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auth
Headers List<BackupRecovery Manager Create Cluster Upgrades Auth Header> - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- Backup
Recovery stringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- Clusters
List<Backup
Recovery Manager Create Cluster Upgrades Cluster> - Array for clusters to be upgraded. Nested schema for clusters:
- Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Interval
For doubleRolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- Package
Url string - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- Patch
Upgrade BackupParams Recovery Manager Create Cluster Upgrades Patch Upgrade Params - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- Region string
- The region of the Backup Recovery instance.
- Target
Version string - Specifies target version to which clusters are to be upgraded.
- Time
Stamp doubleTo Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- Type string
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- Upgrade
Response List<BackupLists Recovery Manager Create Cluster Upgrades Upgrade Response List> - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- Auth
Headers []BackupRecovery Manager Create Cluster Upgrades Auth Header Args - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- Backup
Recovery stringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- Clusters
[]Backup
Recovery Manager Create Cluster Upgrades Cluster Args - Array for clusters to be upgraded. Nested schema for clusters:
- Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Interval
For float64Rolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- Package
Url string - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- Patch
Upgrade BackupParams Recovery Manager Create Cluster Upgrades Patch Upgrade Params Args - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- Region string
- The region of the Backup Recovery instance.
- Target
Version string - Specifies target version to which clusters are to be upgraded.
- Time
Stamp float64To Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- Type string
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- Upgrade
Response []BackupLists Recovery Manager Create Cluster Upgrades Upgrade Response List Args - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- auth
Headers List<BackupRecovery Manager Create Cluster Upgrades Auth Header> - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- backup
Recovery StringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- clusters
List<Backup
Recovery Manager Create Cluster Upgrades Cluster> - Array for clusters to be upgraded. Nested schema for clusters:
- endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- interval
For DoubleRolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- package
Url String - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- patch
Upgrade BackupParams Recovery Manager Create Cluster Upgrades Patch Upgrade Params - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- region String
- The region of the Backup Recovery instance.
- target
Version String - Specifies target version to which clusters are to be upgraded.
- time
Stamp DoubleTo Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- type String
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- upgrade
Response List<BackupLists Recovery Manager Create Cluster Upgrades Upgrade Response List> - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- auth
Headers BackupRecovery Manager Create Cluster Upgrades Auth Header[] - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- backup
Recovery stringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- clusters
Backup
Recovery Manager Create Cluster Upgrades Cluster[] - Array for clusters to be upgraded. Nested schema for clusters:
- endpoint
Type string - public or private.
- instance
Id string - The instnace ID of the Backup Recovery instance.
- interval
For numberRolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- package
Url string - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- patch
Upgrade BackupParams Recovery Manager Create Cluster Upgrades Patch Upgrade Params - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- region string
- The region of the Backup Recovery instance.
- target
Version string - Specifies target version to which clusters are to be upgraded.
- time
Stamp numberTo Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- type string
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- upgrade
Response BackupLists Recovery Manager Create Cluster Upgrades Upgrade Response List[] - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- auth_
headers Sequence[BackupRecovery Manager Create Cluster Upgrades Auth Header Args] - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- backup_
recovery_ strmanager_ create_ cluster_ upgrades_ id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- clusters
Sequence[Backup
Recovery Manager Create Cluster Upgrades Cluster Args] - Array for clusters to be upgraded. Nested schema for clusters:
- endpoint_
type str - public or private.
- instance_
id str - The instnace ID of the Backup Recovery instance.
- interval_
for_ floatrolling_ upgrade_ in_ hours - Specifies the difference of time between two cluster's upgrade.
- package_
url str - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- patch_
upgrade_ Backupparams Recovery Manager Create Cluster Upgrades Patch Upgrade Params Args - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- region str
- The region of the Backup Recovery instance.
- target_
version str - Specifies target version to which clusters are to be upgraded.
- time_
stamp_ floatto_ upgrade_ at_ msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- type str
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- upgrade_
response_ Sequence[Backuplists Recovery Manager Create Cluster Upgrades Upgrade Response List Args] - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
- auth
Headers List<Property Map> - Specifies the optional headers for upgrade request. Nested schema for auth_headers:
- backup
Recovery StringManager Create Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_create_cluster_upgrades.
- clusters List<Property Map>
- Array for clusters to be upgraded. Nested schema for clusters:
- endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- interval
For NumberRolling Upgrade In Hours - Specifies the difference of time between two cluster's upgrade.
- package
Url String - Specifies URL from which package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- patch
Upgrade Property MapParams - Specifies the parameters for patch upgrade request. Nested schema for patch_upgrade_params:
- region String
- The region of the Backup Recovery instance.
- target
Version String - Specifies target version to which clusters are to be upgraded.
- time
Stamp NumberTo Upgrade At Msecs - Specifies the time in msecs at which the cluster has to be upgraded.
- type String
- Specifies the type of upgrade to be performed on a cluster.
- Constraints: The default value is
Upgrade. Allowable values are:Upgrade,Patch,UpgradePatch.
- Constraints: The default value is
- upgrade
Response List<Property Map>Lists - (List) Specifies a list of disks to exclude from being protected. This is only applicable to VM objects. Nested schema for upgrade_response_list:
Supporting Types
BackupRecoveryManagerCreateClusterUpgradesAuthHeader, BackupRecoveryManagerCreateClusterUpgradesAuthHeaderArgs
BackupRecoveryManagerCreateClusterUpgradesCluster, BackupRecoveryManagerCreateClusterUpgradesClusterArgs
- Cluster
Id double - Specifies cluster id.
- Cluster
Incarnation doubleId - Specifies cluster incarnation id.
- Current
Version string - Specifies current version of cluster.
- Cluster
Id float64 - Specifies cluster id.
- Cluster
Incarnation float64Id - Specifies cluster incarnation id.
- Current
Version string - Specifies current version of cluster.
- cluster
Id Double - Specifies cluster id.
- cluster
Incarnation DoubleId - Specifies cluster incarnation id.
- current
Version String - Specifies current version of cluster.
- cluster
Id number - Specifies cluster id.
- cluster
Incarnation numberId - Specifies cluster incarnation id.
- current
Version string - Specifies current version of cluster.
- cluster_
id float - Specifies cluster id.
- cluster_
incarnation_ floatid - Specifies cluster incarnation id.
- current_
version str - Specifies current version of cluster.
- cluster
Id Number - Specifies cluster id.
- cluster
Incarnation NumberId - Specifies cluster incarnation id.
- current
Version String - Specifies current version of cluster.
BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParams, BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsArgs
- Auth
Headers List<BackupRecovery Manager Create Cluster Upgrades Patch Upgrade Params Auth Header> - Specifies the optional headers for the patch cluster request. Nested schema for auth_headers:
- Ignore
Pre boolChecks Failure - Specify if pre check results can be ignored.
- Constraints: The default value is
false.
- Constraints: The default value is
- Package
Url string - Specifies URL from which patch package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- Target
Version string - Specifies target patch version to which clusters are to be upgraded.
- Auth
Headers []BackupRecovery Manager Create Cluster Upgrades Patch Upgrade Params Auth Header - Specifies the optional headers for the patch cluster request. Nested schema for auth_headers:
- Ignore
Pre boolChecks Failure - Specify if pre check results can be ignored.
- Constraints: The default value is
false.
- Constraints: The default value is
- Package
Url string - Specifies URL from which patch package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- Target
Version string - Specifies target patch version to which clusters are to be upgraded.
- auth
Headers List<BackupRecovery Manager Create Cluster Upgrades Patch Upgrade Params Auth Header> - Specifies the optional headers for the patch cluster request. Nested schema for auth_headers:
- ignore
Pre BooleanChecks Failure - Specify if pre check results can be ignored.
- Constraints: The default value is
false.
- Constraints: The default value is
- package
Url String - Specifies URL from which patch package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- target
Version String - Specifies target patch version to which clusters are to be upgraded.
- auth
Headers BackupRecovery Manager Create Cluster Upgrades Patch Upgrade Params Auth Header[] - Specifies the optional headers for the patch cluster request. Nested schema for auth_headers:
- ignore
Pre booleanChecks Failure - Specify if pre check results can be ignored.
- Constraints: The default value is
false.
- Constraints: The default value is
- package
Url string - Specifies URL from which patch package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- target
Version string - Specifies target patch version to which clusters are to be upgraded.
- auth_
headers Sequence[BackupRecovery Manager Create Cluster Upgrades Patch Upgrade Params Auth Header] - Specifies the optional headers for the patch cluster request. Nested schema for auth_headers:
- ignore_
pre_ boolchecks_ failure - Specify if pre check results can be ignored.
- Constraints: The default value is
false.
- Constraints: The default value is
- package_
url str - Specifies URL from which patch package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- target_
version str - Specifies target patch version to which clusters are to be upgraded.
- auth
Headers List<Property Map> - Specifies the optional headers for the patch cluster request. Nested schema for auth_headers:
- ignore
Pre BooleanChecks Failure - Specify if pre check results can be ignored.
- Constraints: The default value is
false.
- Constraints: The default value is
- package
Url String - Specifies URL from which patch package can be downloaded. Note: This option is only supported in Multi-Cluster Manager (MCM).
- target
Version String - Specifies target patch version to which clusters are to be upgraded.
BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsAuthHeader, BackupRecoveryManagerCreateClusterUpgradesPatchUpgradeParamsAuthHeaderArgs
BackupRecoveryManagerCreateClusterUpgradesUpgradeResponseList, BackupRecoveryManagerCreateClusterUpgradesUpgradeResponseListArgs
- Cluster
Id double - (Integer) Specifies cluster id.
- Cluster
Incarnation doubleId - (Integer) Specifies cluster incarnation id.
- Error
Message string - (String) Specifies error message if failed to schedule upgrade.
- Is
Upgrade boolScheduling Successful - (Boolean) Specifies if upgrade scheduling was successsful.
- Cluster
Id float64 - (Integer) Specifies cluster id.
- Cluster
Incarnation float64Id - (Integer) Specifies cluster incarnation id.
- Error
Message string - (String) Specifies error message if failed to schedule upgrade.
- Is
Upgrade boolScheduling Successful - (Boolean) Specifies if upgrade scheduling was successsful.
- cluster
Id Double - (Integer) Specifies cluster id.
- cluster
Incarnation DoubleId - (Integer) Specifies cluster incarnation id.
- error
Message String - (String) Specifies error message if failed to schedule upgrade.
- is
Upgrade BooleanScheduling Successful - (Boolean) Specifies if upgrade scheduling was successsful.
- cluster
Id number - (Integer) Specifies cluster id.
- cluster
Incarnation numberId - (Integer) Specifies cluster incarnation id.
- error
Message string - (String) Specifies error message if failed to schedule upgrade.
- is
Upgrade booleanScheduling Successful - (Boolean) Specifies if upgrade scheduling was successsful.
- cluster_
id float - (Integer) Specifies cluster id.
- cluster_
incarnation_ floatid - (Integer) Specifies cluster incarnation id.
- error_
message str - (String) Specifies error message if failed to schedule upgrade.
- is_
upgrade_ boolscheduling_ successful - (Boolean) Specifies if upgrade scheduling was successsful.
- cluster
Id Number - (Integer) Specifies cluster id.
- cluster
Incarnation NumberId - (Integer) Specifies cluster incarnation id.
- error
Message String - (String) Specifies error message if failed to schedule upgrade.
- is
Upgrade BooleanScheduling Successful - (Boolean) Specifies if upgrade scheduling was successsful.
Import
Not Supported
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
