Create, update, and delete backup_recovery_manager_cancel_cluster_upgradess with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const backupRecoveryManagerCancelClusterUpgradesInstance = new ibm.BackupRecoveryManagerCancelClusterUpgrades("backup_recovery_manager_cancel_cluster_upgrades_instance", {});
import pulumi
import pulumi_ibm as ibm
backup_recovery_manager_cancel_cluster_upgrades_instance = ibm.BackupRecoveryManagerCancelClusterUpgrades("backup_recovery_manager_cancel_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.NewBackupRecoveryManagerCancelClusterUpgrades(ctx, "backup_recovery_manager_cancel_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 backupRecoveryManagerCancelClusterUpgradesInstance = new Ibm.BackupRecoveryManagerCancelClusterUpgrades("backup_recovery_manager_cancel_cluster_upgrades_instance");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.BackupRecoveryManagerCancelClusterUpgrades;
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 backupRecoveryManagerCancelClusterUpgradesInstance = new BackupRecoveryManagerCancelClusterUpgrades("backupRecoveryManagerCancelClusterUpgradesInstance");
}
}
resources:
backupRecoveryManagerCancelClusterUpgradesInstance:
type: ibm:BackupRecoveryManagerCancelClusterUpgrades
name: backup_recovery_manager_cancel_cluster_upgrades_instance
Create BackupRecoveryManagerCancelClusterUpgrades Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BackupRecoveryManagerCancelClusterUpgrades(name: string, args: BackupRecoveryManagerCancelClusterUpgradesArgs, opts?: CustomResourceOptions);@overload
def BackupRecoveryManagerCancelClusterUpgrades(resource_name: str,
args: BackupRecoveryManagerCancelClusterUpgradesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BackupRecoveryManagerCancelClusterUpgrades(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_identifiers: Optional[Sequence[str]] = None,
backup_recovery_manager_cancel_cluster_upgrades_id: Optional[str] = None,
endpoint_type: Optional[str] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None)func NewBackupRecoveryManagerCancelClusterUpgrades(ctx *Context, name string, args BackupRecoveryManagerCancelClusterUpgradesArgs, opts ...ResourceOption) (*BackupRecoveryManagerCancelClusterUpgrades, error)public BackupRecoveryManagerCancelClusterUpgrades(string name, BackupRecoveryManagerCancelClusterUpgradesArgs args, CustomResourceOptions? opts = null)
public BackupRecoveryManagerCancelClusterUpgrades(String name, BackupRecoveryManagerCancelClusterUpgradesArgs args)
public BackupRecoveryManagerCancelClusterUpgrades(String name, BackupRecoveryManagerCancelClusterUpgradesArgs args, CustomResourceOptions options)
type: ibm:BackupRecoveryManagerCancelClusterUpgrades
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 BackupRecoveryManagerCancelClusterUpgradesArgs
- 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 BackupRecoveryManagerCancelClusterUpgradesArgs
- 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 BackupRecoveryManagerCancelClusterUpgradesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupRecoveryManagerCancelClusterUpgradesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupRecoveryManagerCancelClusterUpgradesArgs
- 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 backupRecoveryManagerCancelClusterUpgradesResource = new Ibm.BackupRecoveryManagerCancelClusterUpgrades("backupRecoveryManagerCancelClusterUpgradesResource", new()
{
ClusterIdentifiers = new[]
{
"string",
},
BackupRecoveryManagerCancelClusterUpgradesId = "string",
EndpointType = "string",
InstanceId = "string",
Region = "string",
});
example, err := ibm.NewBackupRecoveryManagerCancelClusterUpgrades(ctx, "backupRecoveryManagerCancelClusterUpgradesResource", &ibm.BackupRecoveryManagerCancelClusterUpgradesArgs{
ClusterIdentifiers: pulumi.StringArray{
pulumi.String("string"),
},
BackupRecoveryManagerCancelClusterUpgradesId: pulumi.String("string"),
EndpointType: pulumi.String("string"),
InstanceId: pulumi.String("string"),
Region: pulumi.String("string"),
})
var backupRecoveryManagerCancelClusterUpgradesResource = new BackupRecoveryManagerCancelClusterUpgrades("backupRecoveryManagerCancelClusterUpgradesResource", BackupRecoveryManagerCancelClusterUpgradesArgs.builder()
.clusterIdentifiers("string")
.backupRecoveryManagerCancelClusterUpgradesId("string")
.endpointType("string")
.instanceId("string")
.region("string")
.build());
backup_recovery_manager_cancel_cluster_upgrades_resource = ibm.BackupRecoveryManagerCancelClusterUpgrades("backupRecoveryManagerCancelClusterUpgradesResource",
cluster_identifiers=["string"],
backup_recovery_manager_cancel_cluster_upgrades_id="string",
endpoint_type="string",
instance_id="string",
region="string")
const backupRecoveryManagerCancelClusterUpgradesResource = new ibm.BackupRecoveryManagerCancelClusterUpgrades("backupRecoveryManagerCancelClusterUpgradesResource", {
clusterIdentifiers: ["string"],
backupRecoveryManagerCancelClusterUpgradesId: "string",
endpointType: "string",
instanceId: "string",
region: "string",
});
type: ibm:BackupRecoveryManagerCancelClusterUpgrades
properties:
backupRecoveryManagerCancelClusterUpgradesId: string
clusterIdentifiers:
- string
endpointType: string
instanceId: string
region: string
BackupRecoveryManagerCancelClusterUpgrades 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 BackupRecoveryManagerCancelClusterUpgrades resource accepts the following input properties:
- Cluster
Identifiers List<string> - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- Backup
Recovery stringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Region string
- The region of the Backup Recovery instance.
- Cluster
Identifiers []string - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- Backup
Recovery stringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Region string
- The region of the Backup Recovery instance.
- cluster
Identifiers List<String> - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- backup
Recovery StringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- region String
- The region of the Backup Recovery instance.
- cluster
Identifiers string[] - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- backup
Recovery stringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- endpoint
Type string - public or private.
- instance
Id string - The instnace ID of the Backup Recovery instance.
- region string
- The region of the Backup Recovery instance.
- cluster_
identifiers Sequence[str] - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- backup_
recovery_ strmanager_ cancel_ cluster_ upgrades_ id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- endpoint_
type str - public or private.
- instance_
id str - The instnace ID of the Backup Recovery instance.
- region str
- The region of the Backup Recovery instance.
- cluster
Identifiers List<String> - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- backup
Recovery StringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- region String
- The region of the Backup Recovery instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupRecoveryManagerCancelClusterUpgrades resource produces the following output properties:
- Cancelled
Upgrade List<BackupResponse Lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List> - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- Id string
- The provider-assigned unique ID for this managed resource.
- Cancelled
Upgrade []BackupResponse Lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- Id string
- The provider-assigned unique ID for this managed resource.
- cancelled
Upgrade List<BackupResponse Lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List> - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- id String
- The provider-assigned unique ID for this managed resource.
- cancelled
Upgrade BackupResponse Lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List[] - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- id string
- The provider-assigned unique ID for this managed resource.
- cancelled_
upgrade_ Sequence[Backupresponse_ lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List] - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- id str
- The provider-assigned unique ID for this managed resource.
- cancelled
Upgrade List<Property Map>Response Lists - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BackupRecoveryManagerCancelClusterUpgrades Resource
Get an existing BackupRecoveryManagerCancelClusterUpgrades 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?: BackupRecoveryManagerCancelClusterUpgradesState, opts?: CustomResourceOptions): BackupRecoveryManagerCancelClusterUpgrades@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backup_recovery_manager_cancel_cluster_upgrades_id: Optional[str] = None,
cancelled_upgrade_response_lists: Optional[Sequence[BackupRecoveryManagerCancelClusterUpgradesCancelledUpgradeResponseListArgs]] = None,
cluster_identifiers: Optional[Sequence[str]] = None,
endpoint_type: Optional[str] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None) -> BackupRecoveryManagerCancelClusterUpgradesfunc GetBackupRecoveryManagerCancelClusterUpgrades(ctx *Context, name string, id IDInput, state *BackupRecoveryManagerCancelClusterUpgradesState, opts ...ResourceOption) (*BackupRecoveryManagerCancelClusterUpgrades, error)public static BackupRecoveryManagerCancelClusterUpgrades Get(string name, Input<string> id, BackupRecoveryManagerCancelClusterUpgradesState? state, CustomResourceOptions? opts = null)public static BackupRecoveryManagerCancelClusterUpgrades get(String name, Output<String> id, BackupRecoveryManagerCancelClusterUpgradesState state, CustomResourceOptions options)resources: _: type: ibm:BackupRecoveryManagerCancelClusterUpgrades 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.
- Backup
Recovery stringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- Cancelled
Upgrade List<BackupResponse Lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List> - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- Cluster
Identifiers List<string> - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Region string
- The region of the Backup Recovery instance.
- Backup
Recovery stringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- Cancelled
Upgrade []BackupResponse Lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List Args - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- Cluster
Identifiers []string - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Region string
- The region of the Backup Recovery instance.
- backup
Recovery StringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- cancelled
Upgrade List<BackupResponse Lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List> - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- cluster
Identifiers List<String> - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- region String
- The region of the Backup Recovery instance.
- backup
Recovery stringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- cancelled
Upgrade BackupResponse Lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List[] - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- cluster
Identifiers string[] - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- endpoint
Type string - public or private.
- instance
Id string - The instnace ID of the Backup Recovery instance.
- region string
- The region of the Backup Recovery instance.
- backup_
recovery_ strmanager_ cancel_ cluster_ upgrades_ id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- cancelled_
upgrade_ Sequence[Backupresponse_ lists Recovery Manager Cancel Cluster Upgrades Cancelled Upgrade Response List Args] - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- cluster_
identifiers Sequence[str] - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- endpoint_
type str - public or private.
- instance_
id str - The instnace ID of the Backup Recovery instance.
- region str
- The region of the Backup Recovery instance.
- backup
Recovery StringManager Cancel Cluster Upgrades Id - The unique identifier of the backup_recovery_manager_cancel_cluster_upgrades.
- cancelled
Upgrade List<Property Map>Response Lists - (List) Specifies list of cluster scheduled uprgade cancel response. Nested schema for cancelled_upgrade_response_list:
- cluster
Identifiers List<String> - Specifies the list of cluster identifiers. The format is clusterId:clusterIncarnationId.
- Constraints: The list items must match regular expression
/^([0-9]+:[0-9]+)$/.
- Constraints: The list items must match regular expression
- endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- region String
- The region of the Backup Recovery instance.
Supporting Types
BackupRecoveryManagerCancelClusterUpgradesCancelledUpgradeResponseList, BackupRecoveryManagerCancelClusterUpgradesCancelledUpgradeResponseListArgs
- Cluster
Id double - (Integer) Specifies cluster id.
- Cluster
Incarnation doubleId - (Integer) Specifies cluster incarnation id.
- Error
Message string - (String) Specifies an error message if failed to cancel a scheduled upgrade.
- Is
Upgrade boolCancel Successful - (Boolean) Specifies if scheduled upgrade cancelling was successful.
- Cluster
Id float64 - (Integer) Specifies cluster id.
- Cluster
Incarnation float64Id - (Integer) Specifies cluster incarnation id.
- Error
Message string - (String) Specifies an error message if failed to cancel a scheduled upgrade.
- Is
Upgrade boolCancel Successful - (Boolean) Specifies if scheduled upgrade cancelling was successful.
- cluster
Id Double - (Integer) Specifies cluster id.
- cluster
Incarnation DoubleId - (Integer) Specifies cluster incarnation id.
- error
Message String - (String) Specifies an error message if failed to cancel a scheduled upgrade.
- is
Upgrade BooleanCancel Successful - (Boolean) Specifies if scheduled upgrade cancelling was successful.
- cluster
Id number - (Integer) Specifies cluster id.
- cluster
Incarnation numberId - (Integer) Specifies cluster incarnation id.
- error
Message string - (String) Specifies an error message if failed to cancel a scheduled upgrade.
- is
Upgrade booleanCancel Successful - (Boolean) Specifies if scheduled upgrade cancelling was successful.
- cluster_
id float - (Integer) Specifies cluster id.
- cluster_
incarnation_ floatid - (Integer) Specifies cluster incarnation id.
- error_
message str - (String) Specifies an error message if failed to cancel a scheduled upgrade.
- is_
upgrade_ boolcancel_ successful - (Boolean) Specifies if scheduled upgrade cancelling was successful.
- cluster
Id Number - (Integer) Specifies cluster id.
- cluster
Incarnation NumberId - (Integer) Specifies cluster incarnation id.
- error
Message String - (String) Specifies an error message if failed to cancel a scheduled upgrade.
- is
Upgrade BooleanCancel Successful - (Boolean) Specifies if scheduled upgrade cancelling was successful.
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.
