1. Registry
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. IsInstanceReinitialize
Viewing docs for ibm 2.6.2
published on Wednesday, Sep 16, 2026 by ibm-cloud
Viewing docs for ibm 2.6.2
published on Wednesday, Sep 16, 2026 by ibm-cloud

    Import

    Using pulumi import. For example:

    $ pulumi import ibm:index/isInstanceReinitialize:IsInstanceReinitialize example r006-12345678-1234-1234-1234-123456789012
    

    Note: The imported resource will only have the instance_id and status attributes populated. The boot source configuration (image or boot_volume_attachment) and other optional parameters (keys, user_data, default_trusted_profile) are not preserved during import.

    Create IsInstanceReinitialize Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IsInstanceReinitialize(name: string, args: IsInstanceReinitializeArgs, opts?: CustomResourceOptions);
    @overload
    def IsInstanceReinitialize(resource_name: str,
                               args: IsInstanceReinitializeArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsInstanceReinitialize(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               instance_id: Optional[str] = None,
                               boot_volume_attachment: Optional[IsInstanceReinitializeBootVolumeAttachmentArgs] = None,
                               default_trusted_profile: Optional[IsInstanceReinitializeDefaultTrustedProfileArgs] = None,
                               image: Optional[str] = None,
                               is_instance_reinitialize_id: Optional[str] = None,
                               keys: Optional[Sequence[str]] = None,
                               timeouts: Optional[IsInstanceReinitializeTimeoutsArgs] = None,
                               user_data: Optional[str] = None)
    func NewIsInstanceReinitialize(ctx *Context, name string, args IsInstanceReinitializeArgs, opts ...ResourceOption) (*IsInstanceReinitialize, error)
    public IsInstanceReinitialize(string name, IsInstanceReinitializeArgs args, CustomResourceOptions? opts = null)
    public IsInstanceReinitialize(String name, IsInstanceReinitializeArgs args)
    public IsInstanceReinitialize(String name, IsInstanceReinitializeArgs args, CustomResourceOptions options)
    
    type: ibm:IsInstanceReinitialize
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ibm_is_instance_reinitialize" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args IsInstanceReinitializeArgs
    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 IsInstanceReinitializeArgs
    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 IsInstanceReinitializeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsInstanceReinitializeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsInstanceReinitializeArgs
    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 isInstanceReinitializeResource = new Ibm.IsInstanceReinitialize("isInstanceReinitializeResource", new()
    {
        InstanceId = "string",
        BootVolumeAttachment = new Ibm.Inputs.IsInstanceReinitializeBootVolumeAttachmentArgs
        {
            DeleteVolumeOnInstanceDelete = false,
            Name = "string",
            Volume = new Ibm.Inputs.IsInstanceReinitializeBootVolumeAttachmentVolumeArgs
            {
                AllowedUse = new Ibm.Inputs.IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUseArgs
                {
                    ApiVersion = "string",
                    BareMetalServer = "string",
                    Instance = "string",
                },
                Bandwidth = 0.0,
                Capacity = 0.0,
                EncryptionKey = new Ibm.Inputs.IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKeyArgs
                {
                    Crn = "string",
                },
                Id = "string",
                Iops = 0.0,
                Name = "string",
                Profile = new Ibm.Inputs.IsInstanceReinitializeBootVolumeAttachmentVolumeProfileArgs
                {
                    Name = "string",
                },
                ResourceGroup = "string",
                SourceSnapshot = new Ibm.Inputs.IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshotArgs
                {
                    Id = "string",
                },
                UserTags = new[]
                {
                    "string",
                },
            },
        },
        DefaultTrustedProfile = new Ibm.Inputs.IsInstanceReinitializeDefaultTrustedProfileArgs
        {
            AutoLink = false,
            Target = new Ibm.Inputs.IsInstanceReinitializeDefaultTrustedProfileTargetArgs
            {
                Crn = "string",
                Id = "string",
            },
        },
        Image = "string",
        IsInstanceReinitializeId = "string",
        Keys = new[]
        {
            "string",
        },
        Timeouts = new Ibm.Inputs.IsInstanceReinitializeTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        UserData = "string",
    });
    
    example, err := ibm.NewIsInstanceReinitialize(ctx, "isInstanceReinitializeResource", &ibm.IsInstanceReinitializeArgs{
    	InstanceId: pulumi.String("string"),
    	BootVolumeAttachment: &ibm.IsInstanceReinitializeBootVolumeAttachmentArgs{
    		DeleteVolumeOnInstanceDelete: pulumi.Bool(false),
    		Name:                         pulumi.String("string"),
    		Volume: &ibm.IsInstanceReinitializeBootVolumeAttachmentVolumeArgs{
    			AllowedUse: &ibm.IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUseArgs{
    				ApiVersion:      pulumi.String("string"),
    				BareMetalServer: pulumi.String("string"),
    				Instance:        pulumi.String("string"),
    			},
    			Bandwidth: pulumi.Float64(0),
    			Capacity:  pulumi.Float64(0),
    			EncryptionKey: &ibm.IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKeyArgs{
    				Crn: pulumi.String("string"),
    			},
    			Id:   pulumi.String("string"),
    			Iops: pulumi.Float64(0),
    			Name: pulumi.String("string"),
    			Profile: &ibm.IsInstanceReinitializeBootVolumeAttachmentVolumeProfileArgs{
    				Name: pulumi.String("string"),
    			},
    			ResourceGroup: pulumi.String("string"),
    			SourceSnapshot: &ibm.IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshotArgs{
    				Id: pulumi.String("string"),
    			},
    			UserTags: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	DefaultTrustedProfile: &ibm.IsInstanceReinitializeDefaultTrustedProfileArgs{
    		AutoLink: pulumi.Bool(false),
    		Target: &ibm.IsInstanceReinitializeDefaultTrustedProfileTargetArgs{
    			Crn: pulumi.String("string"),
    			Id:  pulumi.String("string"),
    		},
    	},
    	Image:                    pulumi.String("string"),
    	IsInstanceReinitializeId: pulumi.String("string"),
    	Keys: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &ibm.IsInstanceReinitializeTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	UserData: pulumi.String("string"),
    })
    
    resource "ibm_is_instance_reinitialize" "isInstanceReinitializeResource" {
      lifecycle {
        create_before_destroy = true
      }
      instance_id = "string"
      boot_volume_attachment = {
        delete_volume_on_instance_delete = false
        name                             = "string"
        volume = {
          allowed_use = {
            api_version       = "string"
            bare_metal_server = "string"
            instance          = "string"
          }
          bandwidth = 0
          capacity  = 0
          encryption_key = {
            crn = "string"
          }
          id   = "string"
          iops = 0
          name = "string"
          profile = {
            name = "string"
          }
          resource_group = "string"
          source_snapshot = {
            id = "string"
          }
          user_tags = ["string"]
        }
      }
      default_trusted_profile = {
        auto_link = false
        target = {
          crn = "string"
          id  = "string"
        }
      }
      image                       = "string"
      is_instance_reinitialize_id = "string"
      keys                        = ["string"]
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
      user_data = "string"
    }
    
    var isInstanceReinitializeResource = new IsInstanceReinitialize("isInstanceReinitializeResource", IsInstanceReinitializeArgs.builder()
        .instanceId("string")
        .bootVolumeAttachment(IsInstanceReinitializeBootVolumeAttachmentArgs.builder()
            .deleteVolumeOnInstanceDelete(false)
            .name("string")
            .volume(IsInstanceReinitializeBootVolumeAttachmentVolumeArgs.builder()
                .allowedUse(IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUseArgs.builder()
                    .apiVersion("string")
                    .bareMetalServer("string")
                    .instance("string")
                    .build())
                .bandwidth(0.0)
                .capacity(0.0)
                .encryptionKey(IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKeyArgs.builder()
                    .crn("string")
                    .build())
                .id("string")
                .iops(0.0)
                .name("string")
                .profile(IsInstanceReinitializeBootVolumeAttachmentVolumeProfileArgs.builder()
                    .name("string")
                    .build())
                .resourceGroup("string")
                .sourceSnapshot(IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshotArgs.builder()
                    .id("string")
                    .build())
                .userTags("string")
                .build())
            .build())
        .defaultTrustedProfile(IsInstanceReinitializeDefaultTrustedProfileArgs.builder()
            .autoLink(false)
            .target(IsInstanceReinitializeDefaultTrustedProfileTargetArgs.builder()
                .crn("string")
                .id("string")
                .build())
            .build())
        .image("string")
        .isInstanceReinitializeId("string")
        .keys("string")
        .timeouts(IsInstanceReinitializeTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .userData("string")
        .build());
    
    is_instance_reinitialize_resource = ibm.IsInstanceReinitialize("isInstanceReinitializeResource",
        instance_id="string",
        boot_volume_attachment={
            "delete_volume_on_instance_delete": False,
            "name": "string",
            "volume": {
                "allowed_use": {
                    "api_version": "string",
                    "bare_metal_server": "string",
                    "instance": "string",
                },
                "bandwidth": float(0),
                "capacity": float(0),
                "encryption_key": {
                    "crn": "string",
                },
                "id": "string",
                "iops": float(0),
                "name": "string",
                "profile": {
                    "name": "string",
                },
                "resource_group": "string",
                "source_snapshot": {
                    "id": "string",
                },
                "user_tags": ["string"],
            },
        },
        default_trusted_profile={
            "auto_link": False,
            "target": {
                "crn": "string",
                "id": "string",
            },
        },
        image="string",
        is_instance_reinitialize_id="string",
        keys=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        user_data="string")
    
    const isInstanceReinitializeResource = new ibm.IsInstanceReinitialize("isInstanceReinitializeResource", {
        instanceId: "string",
        bootVolumeAttachment: {
            deleteVolumeOnInstanceDelete: false,
            name: "string",
            volume: {
                allowedUse: {
                    apiVersion: "string",
                    bareMetalServer: "string",
                    instance: "string",
                },
                bandwidth: 0,
                capacity: 0,
                encryptionKey: {
                    crn: "string",
                },
                id: "string",
                iops: 0,
                name: "string",
                profile: {
                    name: "string",
                },
                resourceGroup: "string",
                sourceSnapshot: {
                    id: "string",
                },
                userTags: ["string"],
            },
        },
        defaultTrustedProfile: {
            autoLink: false,
            target: {
                crn: "string",
                id: "string",
            },
        },
        image: "string",
        isInstanceReinitializeId: "string",
        keys: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        userData: "string",
    });
    
    type: ibm:IsInstanceReinitialize
    properties:
        bootVolumeAttachment:
            deleteVolumeOnInstanceDelete: false
            name: string
            volume:
                allowedUse:
                    apiVersion: string
                    bareMetalServer: string
                    instance: string
                bandwidth: 0
                capacity: 0
                encryptionKey:
                    crn: string
                id: string
                iops: 0
                name: string
                profile:
                    name: string
                resourceGroup: string
                sourceSnapshot:
                    id: string
                userTags:
                    - string
        defaultTrustedProfile:
            autoLink: false
            target:
                crn: string
                id: string
        image: string
        instanceId: string
        isInstanceReinitializeId: string
        keys:
            - string
        timeouts:
            create: string
            delete: string
            update: string
        userData: string
    

    IsInstanceReinitialize 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 IsInstanceReinitialize resource accepts the following input properties:

    InstanceId string
    The unique identifier of the virtual server instance to reinitialize.
    BootVolumeAttachment IsInstanceReinitializeBootVolumeAttachment
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    DefaultTrustedProfile IsInstanceReinitializeDefaultTrustedProfile
    The default trusted profile configuration to use for this virtual server instance.
    Image string
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    IsInstanceReinitializeId string
    (String) The unique identifier of the instance that was reinitialized.
    Keys List<string>
    SSH key Ids for the instance
    Timeouts IsInstanceReinitializeTimeouts
    UserData string
    Instance user data to replace initialization
    InstanceId string
    The unique identifier of the virtual server instance to reinitialize.
    BootVolumeAttachment IsInstanceReinitializeBootVolumeAttachmentArgs
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    DefaultTrustedProfile IsInstanceReinitializeDefaultTrustedProfileArgs
    The default trusted profile configuration to use for this virtual server instance.
    Image string
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    IsInstanceReinitializeId string
    (String) The unique identifier of the instance that was reinitialized.
    Keys []string
    SSH key Ids for the instance
    Timeouts IsInstanceReinitializeTimeoutsArgs
    UserData string
    Instance user data to replace initialization
    instance_id string
    The unique identifier of the virtual server instance to reinitialize.
    boot_volume_attachment object
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    default_trusted_profile object
    The default trusted profile configuration to use for this virtual server instance.
    image string
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    is_instance_reinitialize_id string
    (String) The unique identifier of the instance that was reinitialized.
    keys list(string)
    SSH key Ids for the instance
    timeouts object
    user_data string
    Instance user data to replace initialization
    instanceId String
    The unique identifier of the virtual server instance to reinitialize.
    bootVolumeAttachment IsInstanceReinitializeBootVolumeAttachment
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    defaultTrustedProfile IsInstanceReinitializeDefaultTrustedProfile
    The default trusted profile configuration to use for this virtual server instance.
    image String
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    isInstanceReinitializeId String
    (String) The unique identifier of the instance that was reinitialized.
    keys List<String>
    SSH key Ids for the instance
    timeouts IsInstanceReinitializeTimeouts
    userData String
    Instance user data to replace initialization
    instanceId string
    The unique identifier of the virtual server instance to reinitialize.
    bootVolumeAttachment IsInstanceReinitializeBootVolumeAttachment
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    defaultTrustedProfile IsInstanceReinitializeDefaultTrustedProfile
    The default trusted profile configuration to use for this virtual server instance.
    image string
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    isInstanceReinitializeId string
    (String) The unique identifier of the instance that was reinitialized.
    keys string[]
    SSH key Ids for the instance
    timeouts IsInstanceReinitializeTimeouts
    userData string
    Instance user data to replace initialization
    instance_id str
    The unique identifier of the virtual server instance to reinitialize.
    boot_volume_attachment IsInstanceReinitializeBootVolumeAttachmentArgs
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    default_trusted_profile IsInstanceReinitializeDefaultTrustedProfileArgs
    The default trusted profile configuration to use for this virtual server instance.
    image str
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    is_instance_reinitialize_id str
    (String) The unique identifier of the instance that was reinitialized.
    keys Sequence[str]
    SSH key Ids for the instance
    timeouts IsInstanceReinitializeTimeoutsArgs
    user_data str
    Instance user data to replace initialization
    instanceId String
    The unique identifier of the virtual server instance to reinitialize.
    bootVolumeAttachment Property Map
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    defaultTrustedProfile Property Map
    The default trusted profile configuration to use for this virtual server instance.
    image String
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    isInstanceReinitializeId String
    (String) The unique identifier of the instance that was reinitialized.
    keys List<String>
    SSH key Ids for the instance
    timeouts Property Map
    userData String
    Instance user data to replace initialization

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IsInstanceReinitialize resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    (String) The status of the instance after reinitialization.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    (String) The status of the instance after reinitialization.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    (String) The status of the instance after reinitialization.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    (String) The status of the instance after reinitialization.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    (String) The status of the instance after reinitialization.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    (String) The status of the instance after reinitialization.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    (String) The status of the instance after reinitialization.

    Look up Existing IsInstanceReinitialize Resource

    Get an existing IsInstanceReinitialize 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?: IsInstanceReinitializeState, opts?: CustomResourceOptions): IsInstanceReinitialize
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            boot_volume_attachment: Optional[IsInstanceReinitializeBootVolumeAttachmentArgs] = None,
            default_trusted_profile: Optional[IsInstanceReinitializeDefaultTrustedProfileArgs] = None,
            image: Optional[str] = None,
            instance_id: Optional[str] = None,
            is_instance_reinitialize_id: Optional[str] = None,
            keys: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            timeouts: Optional[IsInstanceReinitializeTimeoutsArgs] = None,
            user_data: Optional[str] = None) -> IsInstanceReinitialize
    func GetIsInstanceReinitialize(ctx *Context, name string, id IDInput, state *IsInstanceReinitializeState, opts ...ResourceOption) (*IsInstanceReinitialize, error)
    public static IsInstanceReinitialize Get(string name, Input<string> id, IsInstanceReinitializeState? state, CustomResourceOptions? opts = null)
    public static IsInstanceReinitialize get(String name, Output<String> id, IsInstanceReinitializeState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsInstanceReinitialize    get:      id: ${id}
    import {
      to = ibm_is_instance_reinitialize.example
      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.
    The following state arguments are supported:
    BootVolumeAttachment IsInstanceReinitializeBootVolumeAttachment
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    DefaultTrustedProfile IsInstanceReinitializeDefaultTrustedProfile
    The default trusted profile configuration to use for this virtual server instance.
    Image string
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    InstanceId string
    The unique identifier of the virtual server instance to reinitialize.
    IsInstanceReinitializeId string
    (String) The unique identifier of the instance that was reinitialized.
    Keys List<string>
    SSH key Ids for the instance
    Status string
    (String) The status of the instance after reinitialization.
    Timeouts IsInstanceReinitializeTimeouts
    UserData string
    Instance user data to replace initialization
    BootVolumeAttachment IsInstanceReinitializeBootVolumeAttachmentArgs
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    DefaultTrustedProfile IsInstanceReinitializeDefaultTrustedProfileArgs
    The default trusted profile configuration to use for this virtual server instance.
    Image string
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    InstanceId string
    The unique identifier of the virtual server instance to reinitialize.
    IsInstanceReinitializeId string
    (String) The unique identifier of the instance that was reinitialized.
    Keys []string
    SSH key Ids for the instance
    Status string
    (String) The status of the instance after reinitialization.
    Timeouts IsInstanceReinitializeTimeoutsArgs
    UserData string
    Instance user data to replace initialization
    boot_volume_attachment object
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    default_trusted_profile object
    The default trusted profile configuration to use for this virtual server instance.
    image string
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    instance_id string
    The unique identifier of the virtual server instance to reinitialize.
    is_instance_reinitialize_id string
    (String) The unique identifier of the instance that was reinitialized.
    keys list(string)
    SSH key Ids for the instance
    status string
    (String) The status of the instance after reinitialization.
    timeouts object
    user_data string
    Instance user data to replace initialization
    bootVolumeAttachment IsInstanceReinitializeBootVolumeAttachment
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    defaultTrustedProfile IsInstanceReinitializeDefaultTrustedProfile
    The default trusted profile configuration to use for this virtual server instance.
    image String
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    instanceId String
    The unique identifier of the virtual server instance to reinitialize.
    isInstanceReinitializeId String
    (String) The unique identifier of the instance that was reinitialized.
    keys List<String>
    SSH key Ids for the instance
    status String
    (String) The status of the instance after reinitialization.
    timeouts IsInstanceReinitializeTimeouts
    userData String
    Instance user data to replace initialization
    bootVolumeAttachment IsInstanceReinitializeBootVolumeAttachment
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    defaultTrustedProfile IsInstanceReinitializeDefaultTrustedProfile
    The default trusted profile configuration to use for this virtual server instance.
    image string
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    instanceId string
    The unique identifier of the virtual server instance to reinitialize.
    isInstanceReinitializeId string
    (String) The unique identifier of the instance that was reinitialized.
    keys string[]
    SSH key Ids for the instance
    status string
    (String) The status of the instance after reinitialization.
    timeouts IsInstanceReinitializeTimeouts
    userData string
    Instance user data to replace initialization
    boot_volume_attachment IsInstanceReinitializeBootVolumeAttachmentArgs
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    default_trusted_profile IsInstanceReinitializeDefaultTrustedProfileArgs
    The default trusted profile configuration to use for this virtual server instance.
    image str
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    instance_id str
    The unique identifier of the virtual server instance to reinitialize.
    is_instance_reinitialize_id str
    (String) The unique identifier of the instance that was reinitialized.
    keys Sequence[str]
    SSH key Ids for the instance
    status str
    (String) The status of the instance after reinitialization.
    timeouts IsInstanceReinitializeTimeoutsArgs
    user_data str
    Instance user data to replace initialization
    bootVolumeAttachment Property Map
    The boot volume attachment configuration for reinitialization. Conflicts with image. The maximum length is 1.
    defaultTrustedProfile Property Map
    The default trusted profile configuration to use for this virtual server instance.
    image String
    The unique identifier of the image to use when reinitializing the instance. Conflicts with boot_volume_attachment.
    instanceId String
    The unique identifier of the virtual server instance to reinitialize.
    isInstanceReinitializeId String
    (String) The unique identifier of the instance that was reinitialized.
    keys List<String>
    SSH key Ids for the instance
    status String
    (String) The status of the instance after reinitialization.
    timeouts Property Map
    userData String
    Instance user data to replace initialization

    Supporting Types

    IsInstanceReinitializeBootVolumeAttachment, IsInstanceReinitializeBootVolumeAttachmentArgs

    DeleteVolumeOnInstanceDelete bool
    Indicates whether the volume will be deleted when the instance is deleted.
    Name string
    The name of the boot volume attachment.
    Volume IsInstanceReinitializeBootVolumeAttachmentVolume
    The boot volume configuration. The maximum length is 1.
    DeleteVolumeOnInstanceDelete bool
    Indicates whether the volume will be deleted when the instance is deleted.
    Name string
    The name of the boot volume attachment.
    Volume IsInstanceReinitializeBootVolumeAttachmentVolume
    The boot volume configuration. The maximum length is 1.
    delete_volume_on_instance_delete bool
    Indicates whether the volume will be deleted when the instance is deleted.
    name string
    The name of the boot volume attachment.
    volume object
    The boot volume configuration. The maximum length is 1.
    deleteVolumeOnInstanceDelete Boolean
    Indicates whether the volume will be deleted when the instance is deleted.
    name String
    The name of the boot volume attachment.
    volume IsInstanceReinitializeBootVolumeAttachmentVolume
    The boot volume configuration. The maximum length is 1.
    deleteVolumeOnInstanceDelete boolean
    Indicates whether the volume will be deleted when the instance is deleted.
    name string
    The name of the boot volume attachment.
    volume IsInstanceReinitializeBootVolumeAttachmentVolume
    The boot volume configuration. The maximum length is 1.
    delete_volume_on_instance_delete bool
    Indicates whether the volume will be deleted when the instance is deleted.
    name str
    The name of the boot volume attachment.
    volume IsInstanceReinitializeBootVolumeAttachmentVolume
    The boot volume configuration. The maximum length is 1.
    deleteVolumeOnInstanceDelete Boolean
    Indicates whether the volume will be deleted when the instance is deleted.
    name String
    The name of the boot volume attachment.
    volume Property Map
    The boot volume configuration. The maximum length is 1.

    IsInstanceReinitializeBootVolumeAttachmentVolume, IsInstanceReinitializeBootVolumeAttachmentVolumeArgs

    AllowedUse IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUse
    The allowed use configuration for this volume
    Bandwidth double
    The maximum bandwidth (in megabits per second) for the volume.
    Capacity double
    The capacity to use for the volume (in gigabytes).
    EncryptionKey IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKey
    The root key to use to wrap the data encryption key for the volume.
    Id string
    The unique identifier of the volume to attach as boot volume. Conflicts with source_snapshot.
    Iops double
    The maximum I/O operations per second (IOPS) to use for this volume.
    Name string
    The name for this volume.
    Profile IsInstanceReinitializeBootVolumeAttachmentVolumeProfile
    The profile for this volume.
    ResourceGroup string
    The resource group to use for this volume.
    SourceSnapshot IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshot
    The snapshot to use as a source for the volume's data. The specified snapshot may be in a different account, subject to IAM policies. Conflicts with id. When source_snapshot is set, profile is required and the profile's storage_generation must match the snapshot's storage_generation — mixing generations (e.g. a general-purpose profile against a sdp snapshot) will result in an error.
    UserTags List<string>
    The user tags associated with this volume.
    AllowedUse IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUse
    The allowed use configuration for this volume
    Bandwidth float64
    The maximum bandwidth (in megabits per second) for the volume.
    Capacity float64
    The capacity to use for the volume (in gigabytes).
    EncryptionKey IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKey
    The root key to use to wrap the data encryption key for the volume.
    Id string
    The unique identifier of the volume to attach as boot volume. Conflicts with source_snapshot.
    Iops float64
    The maximum I/O operations per second (IOPS) to use for this volume.
    Name string
    The name for this volume.
    Profile IsInstanceReinitializeBootVolumeAttachmentVolumeProfile
    The profile for this volume.
    ResourceGroup string
    The resource group to use for this volume.
    SourceSnapshot IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshot
    The snapshot to use as a source for the volume's data. The specified snapshot may be in a different account, subject to IAM policies. Conflicts with id. When source_snapshot is set, profile is required and the profile's storage_generation must match the snapshot's storage_generation — mixing generations (e.g. a general-purpose profile against a sdp snapshot) will result in an error.
    UserTags []string
    The user tags associated with this volume.
    allowed_use object
    The allowed use configuration for this volume
    bandwidth number
    The maximum bandwidth (in megabits per second) for the volume.
    capacity number
    The capacity to use for the volume (in gigabytes).
    encryption_key object
    The root key to use to wrap the data encryption key for the volume.
    id string
    The unique identifier of the volume to attach as boot volume. Conflicts with source_snapshot.
    iops number
    The maximum I/O operations per second (IOPS) to use for this volume.
    name string
    The name for this volume.
    profile object
    The profile for this volume.
    resource_group string
    The resource group to use for this volume.
    source_snapshot object
    The snapshot to use as a source for the volume's data. The specified snapshot may be in a different account, subject to IAM policies. Conflicts with id. When source_snapshot is set, profile is required and the profile's storage_generation must match the snapshot's storage_generation — mixing generations (e.g. a general-purpose profile against a sdp snapshot) will result in an error.
    user_tags list(string)
    The user tags associated with this volume.
    allowedUse IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUse
    The allowed use configuration for this volume
    bandwidth Double
    The maximum bandwidth (in megabits per second) for the volume.
    capacity Double
    The capacity to use for the volume (in gigabytes).
    encryptionKey IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKey
    The root key to use to wrap the data encryption key for the volume.
    id String
    The unique identifier of the volume to attach as boot volume. Conflicts with source_snapshot.
    iops Double
    The maximum I/O operations per second (IOPS) to use for this volume.
    name String
    The name for this volume.
    profile IsInstanceReinitializeBootVolumeAttachmentVolumeProfile
    The profile for this volume.
    resourceGroup String
    The resource group to use for this volume.
    sourceSnapshot IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshot
    The snapshot to use as a source for the volume's data. The specified snapshot may be in a different account, subject to IAM policies. Conflicts with id. When source_snapshot is set, profile is required and the profile's storage_generation must match the snapshot's storage_generation — mixing generations (e.g. a general-purpose profile against a sdp snapshot) will result in an error.
    userTags List<String>
    The user tags associated with this volume.
    allowedUse IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUse
    The allowed use configuration for this volume
    bandwidth number
    The maximum bandwidth (in megabits per second) for the volume.
    capacity number
    The capacity to use for the volume (in gigabytes).
    encryptionKey IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKey
    The root key to use to wrap the data encryption key for the volume.
    id string
    The unique identifier of the volume to attach as boot volume. Conflicts with source_snapshot.
    iops number
    The maximum I/O operations per second (IOPS) to use for this volume.
    name string
    The name for this volume.
    profile IsInstanceReinitializeBootVolumeAttachmentVolumeProfile
    The profile for this volume.
    resourceGroup string
    The resource group to use for this volume.
    sourceSnapshot IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshot
    The snapshot to use as a source for the volume's data. The specified snapshot may be in a different account, subject to IAM policies. Conflicts with id. When source_snapshot is set, profile is required and the profile's storage_generation must match the snapshot's storage_generation — mixing generations (e.g. a general-purpose profile against a sdp snapshot) will result in an error.
    userTags string[]
    The user tags associated with this volume.
    allowed_use IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUse
    The allowed use configuration for this volume
    bandwidth float
    The maximum bandwidth (in megabits per second) for the volume.
    capacity float
    The capacity to use for the volume (in gigabytes).
    encryption_key IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKey
    The root key to use to wrap the data encryption key for the volume.
    id str
    The unique identifier of the volume to attach as boot volume. Conflicts with source_snapshot.
    iops float
    The maximum I/O operations per second (IOPS) to use for this volume.
    name str
    The name for this volume.
    profile IsInstanceReinitializeBootVolumeAttachmentVolumeProfile
    The profile for this volume.
    resource_group str
    The resource group to use for this volume.
    source_snapshot IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshot
    The snapshot to use as a source for the volume's data. The specified snapshot may be in a different account, subject to IAM policies. Conflicts with id. When source_snapshot is set, profile is required and the profile's storage_generation must match the snapshot's storage_generation — mixing generations (e.g. a general-purpose profile against a sdp snapshot) will result in an error.
    user_tags Sequence[str]
    The user tags associated with this volume.
    allowedUse Property Map
    The allowed use configuration for this volume
    bandwidth Number
    The maximum bandwidth (in megabits per second) for the volume.
    capacity Number
    The capacity to use for the volume (in gigabytes).
    encryptionKey Property Map
    The root key to use to wrap the data encryption key for the volume.
    id String
    The unique identifier of the volume to attach as boot volume. Conflicts with source_snapshot.
    iops Number
    The maximum I/O operations per second (IOPS) to use for this volume.
    name String
    The name for this volume.
    profile Property Map
    The profile for this volume.
    resourceGroup String
    The resource group to use for this volume.
    sourceSnapshot Property Map
    The snapshot to use as a source for the volume's data. The specified snapshot may be in a different account, subject to IAM policies. Conflicts with id. When source_snapshot is set, profile is required and the profile's storage_generation must match the snapshot's storage_generation — mixing generations (e.g. a general-purpose profile against a sdp snapshot) will result in an error.
    userTags List<String>
    The user tags associated with this volume.

    IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUse, IsInstanceReinitializeBootVolumeAttachmentVolumeAllowedUseArgs

    ApiVersion string
    The API version with which to evaluate the expressions.
    BareMetalServer string
    The expression that must be satisfied by the properties of a bare metal server provisioned using the image data in this volume.
    Instance string
    The expression that must be satisfied by the properties of a virtual server instance provisioned using this volume.
    ApiVersion string
    The API version with which to evaluate the expressions.
    BareMetalServer string
    The expression that must be satisfied by the properties of a bare metal server provisioned using the image data in this volume.
    Instance string
    The expression that must be satisfied by the properties of a virtual server instance provisioned using this volume.
    api_version string
    The API version with which to evaluate the expressions.
    bare_metal_server string
    The expression that must be satisfied by the properties of a bare metal server provisioned using the image data in this volume.
    instance string
    The expression that must be satisfied by the properties of a virtual server instance provisioned using this volume.
    apiVersion String
    The API version with which to evaluate the expressions.
    bareMetalServer String
    The expression that must be satisfied by the properties of a bare metal server provisioned using the image data in this volume.
    instance String
    The expression that must be satisfied by the properties of a virtual server instance provisioned using this volume.
    apiVersion string
    The API version with which to evaluate the expressions.
    bareMetalServer string
    The expression that must be satisfied by the properties of a bare metal server provisioned using the image data in this volume.
    instance string
    The expression that must be satisfied by the properties of a virtual server instance provisioned using this volume.
    api_version str
    The API version with which to evaluate the expressions.
    bare_metal_server str
    The expression that must be satisfied by the properties of a bare metal server provisioned using the image data in this volume.
    instance str
    The expression that must be satisfied by the properties of a virtual server instance provisioned using this volume.
    apiVersion String
    The API version with which to evaluate the expressions.
    bareMetalServer String
    The expression that must be satisfied by the properties of a bare metal server provisioned using the image data in this volume.
    instance String
    The expression that must be satisfied by the properties of a virtual server instance provisioned using this volume.

    IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKey, IsInstanceReinitializeBootVolumeAttachmentVolumeEncryptionKeyArgs

    Crn string
    The CRN of the Key Protect Root Key for this resource.
    Crn string
    The CRN of the Key Protect Root Key for this resource.
    crn string
    The CRN of the Key Protect Root Key for this resource.
    crn String
    The CRN of the Key Protect Root Key for this resource.
    crn string
    The CRN of the Key Protect Root Key for this resource.
    crn str
    The CRN of the Key Protect Root Key for this resource.
    crn String
    The CRN of the Key Protect Root Key for this resource.

    IsInstanceReinitializeBootVolumeAttachmentVolumeProfile, IsInstanceReinitializeBootVolumeAttachmentVolumeProfileArgs

    Name string
    The globally unique name for this volume profile.
    Name string
    The globally unique name for this volume profile.
    name string
    The globally unique name for this volume profile.
    name String
    The globally unique name for this volume profile.
    name string
    The globally unique name for this volume profile.
    name str
    The globally unique name for this volume profile.
    name String
    The globally unique name for this volume profile.

    IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshot, IsInstanceReinitializeBootVolumeAttachmentVolumeSourceSnapshotArgs

    Id string
    The unique identifier of the snapshot.
    Id string
    The unique identifier of the snapshot.
    id string
    The unique identifier of the snapshot.
    id String
    The unique identifier of the snapshot.
    id string
    The unique identifier of the snapshot.
    id str
    The unique identifier of the snapshot.
    id String
    The unique identifier of the snapshot.

    IsInstanceReinitializeDefaultTrustedProfile, IsInstanceReinitializeDefaultTrustedProfileArgs

    AutoLink bool
    If set to true, the system will create a link to the specified target trusted profile during instance reinitialization. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted.
    Target IsInstanceReinitializeDefaultTrustedProfileTarget
    The default IAM trusted profile to use for this virtual server instance. The maximum length is 1.
    AutoLink bool
    If set to true, the system will create a link to the specified target trusted profile during instance reinitialization. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted.
    Target IsInstanceReinitializeDefaultTrustedProfileTarget
    The default IAM trusted profile to use for this virtual server instance. The maximum length is 1.
    auto_link bool
    If set to true, the system will create a link to the specified target trusted profile during instance reinitialization. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted.
    target object
    The default IAM trusted profile to use for this virtual server instance. The maximum length is 1.
    autoLink Boolean
    If set to true, the system will create a link to the specified target trusted profile during instance reinitialization. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted.
    target IsInstanceReinitializeDefaultTrustedProfileTarget
    The default IAM trusted profile to use for this virtual server instance. The maximum length is 1.
    autoLink boolean
    If set to true, the system will create a link to the specified target trusted profile during instance reinitialization. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted.
    target IsInstanceReinitializeDefaultTrustedProfileTarget
    The default IAM trusted profile to use for this virtual server instance. The maximum length is 1.
    auto_link bool
    If set to true, the system will create a link to the specified target trusted profile during instance reinitialization. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted.
    target IsInstanceReinitializeDefaultTrustedProfileTarget
    The default IAM trusted profile to use for this virtual server instance. The maximum length is 1.
    autoLink Boolean
    If set to true, the system will create a link to the specified target trusted profile during instance reinitialization. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted.
    target Property Map
    The default IAM trusted profile to use for this virtual server instance. The maximum length is 1.

    IsInstanceReinitializeDefaultTrustedProfileTarget, IsInstanceReinitializeDefaultTrustedProfileTargetArgs

    Crn string
    The CRN for this trusted profile.
    Id string
    The unique identifier for this trusted profile.
    Crn string
    The CRN for this trusted profile.
    Id string
    The unique identifier for this trusted profile.
    crn string
    The CRN for this trusted profile.
    id string
    The unique identifier for this trusted profile.
    crn String
    The CRN for this trusted profile.
    id String
    The unique identifier for this trusted profile.
    crn string
    The CRN for this trusted profile.
    id string
    The unique identifier for this trusted profile.
    crn str
    The CRN for this trusted profile.
    id str
    The unique identifier for this trusted profile.
    crn String
    The CRN for this trusted profile.
    id String
    The unique identifier for this trusted profile.

    IsInstanceReinitializeTimeouts, IsInstanceReinitializeTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create string
    delete string
    update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    Viewing docs for ibm 2.6.2
    published on Wednesday, Sep 16, 2026 by ibm-cloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial