Create, update, delete and suspend the dedicated host disk management resource. For more information, about dedicated host disk management, see migrating a dedicated host instance to another host.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.
provider.tf
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
}
}
{}
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const exampleIsDedicatedHostGroup = new ibm.IsDedicatedHostGroup("example", {
family: "memory",
"class": "beta",
zone: "us-south-1",
});
const example = ibm.getIsDedicatedHostGroupOutput({
name: exampleIsDedicatedHostGroup.name,
});
const exampleIsDedicatedHost = new ibm.IsDedicatedHost("example", {
profile: "dh2-56x464",
hostGroup: exampleIsDedicatedHostGroup.isDedicatedHostGroupId,
name: "example-dedicated-host",
});
const exampleGetIsDedicatedHost = ibm.getIsDedicatedHostOutput({
hostGroup: exampleIsDedicatedHostGroup.isDedicatedHostGroupId,
name: "example-dedicated-host",
});
const exampleGetIsDedicatedHostDisks = exampleGetIsDedicatedHost.apply(exampleGetIsDedicatedHost => ibm.getIsDedicatedHostDisksOutput({
dedicatedHost: exampleGetIsDedicatedHost.id,
}));
const exampleIsDedicatedHostDiskManagement = new ibm.IsDedicatedHostDiskManagement("example", {
dedicatedHost: exampleGetIsDedicatedHost.apply(exampleGetIsDedicatedHost => exampleGetIsDedicatedHost.id),
disks: [{
name: "example-disks",
id: exampleGetIsDedicatedHost.apply(exampleGetIsDedicatedHost => exampleGetIsDedicatedHost.disks?.[0]?.id),
}],
});
const exampleGetIsDedicatedHostDisk = pulumi.all([exampleGetIsDedicatedHost, exampleIsDedicatedHostDiskManagement.disks]).apply(([exampleGetIsDedicatedHost, disks]) => ibm.getIsDedicatedHostDiskOutput({
dedicatedHost: exampleGetIsDedicatedHost.id,
disk: disks[0].id,
}));
import pulumi
import pulumi_ibm as ibm
example_is_dedicated_host_group = ibm.IsDedicatedHostGroup("example",
family="memory",
class_="beta",
zone="us-south-1")
example = ibm.get_is_dedicated_host_group_output(name=example_is_dedicated_host_group.name)
example_is_dedicated_host = ibm.IsDedicatedHost("example",
profile="dh2-56x464",
host_group=example_is_dedicated_host_group.is_dedicated_host_group_id,
name="example-dedicated-host")
example_get_is_dedicated_host = ibm.get_is_dedicated_host_output(host_group=example_is_dedicated_host_group.is_dedicated_host_group_id,
name="example-dedicated-host")
example_get_is_dedicated_host_disks = example_get_is_dedicated_host.apply(lambda example_get_is_dedicated_host: ibm.get_is_dedicated_host_disks_output(dedicated_host=example_get_is_dedicated_host.id))
example_is_dedicated_host_disk_management = ibm.IsDedicatedHostDiskManagement("example",
dedicated_host=example_get_is_dedicated_host.id,
disks=[{
"name": "example-disks",
"id": example_get_is_dedicated_host.disks[0].id,
}])
example_get_is_dedicated_host_disk = pulumi.Output.all(
example_get_is_dedicated_host=example_get_is_dedicated_host,
disks=example_is_dedicated_host_disk_management.disks
).apply(lambda resolved_outputs: ibm.get_is_dedicated_host_disk_output(dedicated_host=resolved_outputs['example_get_is_dedicated_host'],
disk=disks[0].id))
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleIsDedicatedHostGroup, err := ibm.NewIsDedicatedHostGroup(ctx, "example", &ibm.IsDedicatedHostGroupArgs{
Family: pulumi.String("memory"),
Class: pulumi.String("beta"),
Zone: pulumi.String("us-south-1"),
})
if err != nil {
return err
}
_ = ibm.LookupIsDedicatedHostGroupOutput(ctx, ibm.GetIsDedicatedHostGroupOutputArgs{
Name: exampleIsDedicatedHostGroup.Name,
}, nil)
_, err = ibm.NewIsDedicatedHost(ctx, "example", &ibm.IsDedicatedHostArgs{
Profile: pulumi.String("dh2-56x464"),
HostGroup: exampleIsDedicatedHostGroup.IsDedicatedHostGroupId,
Name: pulumi.String("example-dedicated-host"),
})
if err != nil {
return err
}
exampleGetIsDedicatedHost := ibm.LookupIsDedicatedHostOutput(ctx, ibm.GetIsDedicatedHostOutputArgs{
HostGroup: exampleIsDedicatedHostGroup.IsDedicatedHostGroupId,
Name: pulumi.String("example-dedicated-host"),
}, nil)
_ = exampleGetIsDedicatedHost.ApplyT(func(exampleGetIsDedicatedHost ibm.GetIsDedicatedHostResult) (ibm.GetIsDedicatedHostDisksResult, error) {
return ibm.GetIsDedicatedHostDisksResult(interface{}(ibm.GetIsDedicatedHostDisksOutput(ctx, ibm.GetIsDedicatedHostDisksOutputArgs{
DedicatedHost: exampleGetIsDedicatedHost.Id,
}, nil))), nil
}).(ibm.GetIsDedicatedHostDisksResultOutput)
exampleIsDedicatedHostDiskManagement, err := ibm.NewIsDedicatedHostDiskManagement(ctx, "example", &ibm.IsDedicatedHostDiskManagementArgs{
DedicatedHost: pulumi.String(exampleGetIsDedicatedHost.ApplyT(func(exampleGetIsDedicatedHost ibm.GetIsDedicatedHostResult) (*string, error) {
return &exampleGetIsDedicatedHost.Id, nil
}).(pulumi.StringPtrOutput)),
Disks: ibm.IsDedicatedHostDiskManagementDiskArray{
&ibm.IsDedicatedHostDiskManagementDiskArgs{
Name: pulumi.String("example-disks"),
Id: exampleGetIsDedicatedHost.ApplyT(func(exampleGetIsDedicatedHost ibm.GetIsDedicatedHostResult) (*string, error) {
return &exampleGetIsDedicatedHost.Disks[0].Id, nil
}).(pulumi.StringPtrOutput),
},
},
})
if err != nil {
return err
}
_ = pulumi.All(exampleGetIsDedicatedHost, exampleIsDedicatedHostDiskManagement.Disks).ApplyT(func(_args []interface{}) (ibm.GetIsDedicatedHostDiskResult, error) {
exampleGetIsDedicatedHost := _args[0].(ibm.GetIsDedicatedHostResult)
disks := _args[1].([]ibm.IsDedicatedHostDiskManagementDisk)
return ibm.GetIsDedicatedHostDiskResult(interface{}(ibm.LookupIsDedicatedHostDiskOutput(ctx, ibm.GetIsDedicatedHostDiskOutputArgs{
DedicatedHost: exampleGetIsDedicatedHost.Id,
Disk: disks[0].Id,
}, nil))), nil
}).(ibm.GetIsDedicatedHostDiskResultOutput)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var exampleIsDedicatedHostGroup = new Ibm.IsDedicatedHostGroup("example", new()
{
Family = "memory",
Class = "beta",
Zone = "us-south-1",
});
var example = Ibm.GetIsDedicatedHostGroup.Invoke(new()
{
Name = exampleIsDedicatedHostGroup.Name,
});
var exampleIsDedicatedHost = new Ibm.IsDedicatedHost("example", new()
{
Profile = "dh2-56x464",
HostGroup = exampleIsDedicatedHostGroup.IsDedicatedHostGroupId,
Name = "example-dedicated-host",
});
var exampleGetIsDedicatedHost = Ibm.GetIsDedicatedHost.Invoke(new()
{
HostGroup = exampleIsDedicatedHostGroup.IsDedicatedHostGroupId,
Name = "example-dedicated-host",
});
var exampleGetIsDedicatedHostDisks = Ibm.GetIsDedicatedHostDisks.Invoke(new()
{
DedicatedHost = exampleGetIsDedicatedHost.Apply(getIsDedicatedHostResult => getIsDedicatedHostResult.Id),
});
var exampleIsDedicatedHostDiskManagement = new Ibm.IsDedicatedHostDiskManagement("example", new()
{
DedicatedHost = exampleGetIsDedicatedHost.Apply(getIsDedicatedHostResult => getIsDedicatedHostResult.Id),
Disks = new[]
{
new Ibm.Inputs.IsDedicatedHostDiskManagementDiskArgs
{
Name = "example-disks",
Id = exampleGetIsDedicatedHost.Apply(getIsDedicatedHostResult => getIsDedicatedHostResult.Disks[0]?.Id),
},
},
});
var exampleGetIsDedicatedHostDisk = Ibm.GetIsDedicatedHostDisk.Invoke(new()
{
DedicatedHost = exampleGetIsDedicatedHost.Apply(getIsDedicatedHostResult => getIsDedicatedHostResult.Id),
Disk = exampleIsDedicatedHostDiskManagement.Disks[0].Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsDedicatedHostGroup;
import com.pulumi.ibm.IsDedicatedHostGroupArgs;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsDedicatedHostGroupArgs;
import com.pulumi.ibm.IsDedicatedHost;
import com.pulumi.ibm.IsDedicatedHostArgs;
import com.pulumi.ibm.inputs.GetIsDedicatedHostArgs;
import com.pulumi.ibm.inputs.GetIsDedicatedHostDisksArgs;
import com.pulumi.ibm.IsDedicatedHostDiskManagement;
import com.pulumi.ibm.IsDedicatedHostDiskManagementArgs;
import com.pulumi.ibm.inputs.IsDedicatedHostDiskManagementDiskArgs;
import com.pulumi.ibm.inputs.GetIsDedicatedHostDiskArgs;
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 exampleIsDedicatedHostGroup = new IsDedicatedHostGroup("exampleIsDedicatedHostGroup", IsDedicatedHostGroupArgs.builder()
.family("memory")
.class_("beta")
.zone("us-south-1")
.build());
final var example = IbmFunctions.getIsDedicatedHostGroup(GetIsDedicatedHostGroupArgs.builder()
.name(exampleIsDedicatedHostGroup.name())
.build());
var exampleIsDedicatedHost = new IsDedicatedHost("exampleIsDedicatedHost", IsDedicatedHostArgs.builder()
.profile("dh2-56x464")
.hostGroup(exampleIsDedicatedHostGroup.isDedicatedHostGroupId())
.name("example-dedicated-host")
.build());
final var exampleGetIsDedicatedHost = IbmFunctions.getIsDedicatedHost(GetIsDedicatedHostArgs.builder()
.hostGroup(exampleIsDedicatedHostGroup.isDedicatedHostGroupId())
.name("example-dedicated-host")
.build());
final var exampleGetIsDedicatedHostDisks = exampleGetIsDedicatedHost.applyValue(_exampleGetIsDedicatedHost -> IbmFunctions.getIsDedicatedHostDisks(GetIsDedicatedHostDisksArgs.builder()
.dedicatedHost(_exampleGetIsDedicatedHost.id())
.build()));
var exampleIsDedicatedHostDiskManagement = new IsDedicatedHostDiskManagement("exampleIsDedicatedHostDiskManagement", IsDedicatedHostDiskManagementArgs.builder()
.dedicatedHost(exampleGetIsDedicatedHost.applyValue(_exampleGetIsDedicatedHost -> _exampleGetIsDedicatedHost.id()))
.disks(IsDedicatedHostDiskManagementDiskArgs.builder()
.name("example-disks")
.id(exampleGetIsDedicatedHost.applyValue(_exampleGetIsDedicatedHost -> _exampleGetIsDedicatedHost.disks()[0].id()))
.build())
.build());
final var exampleGetIsDedicatedHostDisk = Output.tuple(exampleGetIsDedicatedHost, exampleIsDedicatedHostDiskManagement.disks()).applyValue(values -> {
var exampleGetIsDedicatedHost = values.t1;
var disks = values.t2;
return IbmFunctions.getIsDedicatedHostDisk(GetIsDedicatedHostDiskArgs.builder()
.dedicatedHost(exampleGetIsDedicatedHost.id())
.disk(disks[0].id())
.build());
});
}
}
resources:
exampleIsDedicatedHostGroup:
type: ibm:IsDedicatedHostGroup
name: example
properties:
family: memory
class: beta
zone: us-south-1
exampleIsDedicatedHost:
type: ibm:IsDedicatedHost
name: example
properties:
profile: dh2-56x464
hostGroup: ${exampleIsDedicatedHostGroup.isDedicatedHostGroupId}
name: example-dedicated-host
exampleIsDedicatedHostDiskManagement:
type: ibm:IsDedicatedHostDiskManagement
name: example
properties:
dedicatedHost: ${exampleGetIsDedicatedHost.id}
disks:
- name: example-disks
id: ${exampleGetIsDedicatedHost.disks[0].id}
variables:
example:
fn::invoke:
function: ibm:getIsDedicatedHostGroup
arguments:
name: ${exampleIsDedicatedHostGroup.name}
exampleGetIsDedicatedHost:
fn::invoke:
function: ibm:getIsDedicatedHost
arguments:
hostGroup: ${exampleIsDedicatedHostGroup.isDedicatedHostGroupId}
name: example-dedicated-host
exampleGetIsDedicatedHostDisks:
fn::invoke:
function: ibm:getIsDedicatedHostDisks
arguments:
dedicatedHost: ${exampleGetIsDedicatedHost.id}
exampleGetIsDedicatedHostDisk:
fn::invoke:
function: ibm:getIsDedicatedHostDisk
arguments:
dedicatedHost: ${exampleGetIsDedicatedHost.id}
disk: ${exampleIsDedicatedHostDiskManagement.disks[0].id}
Create IsDedicatedHostDiskManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsDedicatedHostDiskManagement(name: string, args: IsDedicatedHostDiskManagementArgs, opts?: CustomResourceOptions);@overload
def IsDedicatedHostDiskManagement(resource_name: str,
args: IsDedicatedHostDiskManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsDedicatedHostDiskManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
dedicated_host: Optional[str] = None,
disks: Optional[Sequence[IsDedicatedHostDiskManagementDiskArgs]] = None,
is_dedicated_host_disk_management_id: Optional[str] = None)func NewIsDedicatedHostDiskManagement(ctx *Context, name string, args IsDedicatedHostDiskManagementArgs, opts ...ResourceOption) (*IsDedicatedHostDiskManagement, error)public IsDedicatedHostDiskManagement(string name, IsDedicatedHostDiskManagementArgs args, CustomResourceOptions? opts = null)
public IsDedicatedHostDiskManagement(String name, IsDedicatedHostDiskManagementArgs args)
public IsDedicatedHostDiskManagement(String name, IsDedicatedHostDiskManagementArgs args, CustomResourceOptions options)
type: ibm:IsDedicatedHostDiskManagement
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 IsDedicatedHostDiskManagementArgs
- 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 IsDedicatedHostDiskManagementArgs
- 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 IsDedicatedHostDiskManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsDedicatedHostDiskManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsDedicatedHostDiskManagementArgs
- 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 isDedicatedHostDiskManagementResource = new Ibm.IsDedicatedHostDiskManagement("isDedicatedHostDiskManagementResource", new()
{
DedicatedHost = "string",
Disks = new[]
{
new Ibm.Inputs.IsDedicatedHostDiskManagementDiskArgs
{
Id = "string",
Name = "string",
},
},
IsDedicatedHostDiskManagementId = "string",
});
example, err := ibm.NewIsDedicatedHostDiskManagement(ctx, "isDedicatedHostDiskManagementResource", &ibm.IsDedicatedHostDiskManagementArgs{
DedicatedHost: pulumi.String("string"),
Disks: ibm.IsDedicatedHostDiskManagementDiskArray{
&ibm.IsDedicatedHostDiskManagementDiskArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
IsDedicatedHostDiskManagementId: pulumi.String("string"),
})
var isDedicatedHostDiskManagementResource = new IsDedicatedHostDiskManagement("isDedicatedHostDiskManagementResource", IsDedicatedHostDiskManagementArgs.builder()
.dedicatedHost("string")
.disks(IsDedicatedHostDiskManagementDiskArgs.builder()
.id("string")
.name("string")
.build())
.isDedicatedHostDiskManagementId("string")
.build());
is_dedicated_host_disk_management_resource = ibm.IsDedicatedHostDiskManagement("isDedicatedHostDiskManagementResource",
dedicated_host="string",
disks=[{
"id": "string",
"name": "string",
}],
is_dedicated_host_disk_management_id="string")
const isDedicatedHostDiskManagementResource = new ibm.IsDedicatedHostDiskManagement("isDedicatedHostDiskManagementResource", {
dedicatedHost: "string",
disks: [{
id: "string",
name: "string",
}],
isDedicatedHostDiskManagementId: "string",
});
type: ibm:IsDedicatedHostDiskManagement
properties:
dedicatedHost: string
disks:
- id: string
name: string
isDedicatedHostDiskManagementId: string
IsDedicatedHostDiskManagement 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 IsDedicatedHostDiskManagement resource accepts the following input properties:
- Dedicated
Host string - The unique-identifier of the dedicated host.
- Disks
List<Is
Dedicated Host Disk Management Disk> Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- Is
Dedicated stringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
- Dedicated
Host string - The unique-identifier of the dedicated host.
- Disks
[]Is
Dedicated Host Disk Management Disk Args Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- Is
Dedicated stringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
- dedicated
Host String - The unique-identifier of the dedicated host.
- disks
List<Is
Dedicated Host Disk Management Disk> Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- is
Dedicated StringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
- dedicated
Host string - The unique-identifier of the dedicated host.
- disks
Is
Dedicated Host Disk Management Disk[] Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- is
Dedicated stringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
- dedicated_
host str - The unique-identifier of the dedicated host.
- disks
Sequence[Is
Dedicated Host Disk Management Disk Args] Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- is_
dedicated_ strhost_ disk_ management_ id - (String) The unique-identifier of the dedicated host disk management.
- dedicated
Host String - The unique-identifier of the dedicated host.
- disks List<Property Map>
Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- is
Dedicated StringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
Outputs
All input properties are implicitly available as output properties. Additionally, the IsDedicatedHostDiskManagement resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IsDedicatedHostDiskManagement Resource
Get an existing IsDedicatedHostDiskManagement 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?: IsDedicatedHostDiskManagementState, opts?: CustomResourceOptions): IsDedicatedHostDiskManagement@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dedicated_host: Optional[str] = None,
disks: Optional[Sequence[IsDedicatedHostDiskManagementDiskArgs]] = None,
is_dedicated_host_disk_management_id: Optional[str] = None) -> IsDedicatedHostDiskManagementfunc GetIsDedicatedHostDiskManagement(ctx *Context, name string, id IDInput, state *IsDedicatedHostDiskManagementState, opts ...ResourceOption) (*IsDedicatedHostDiskManagement, error)public static IsDedicatedHostDiskManagement Get(string name, Input<string> id, IsDedicatedHostDiskManagementState? state, CustomResourceOptions? opts = null)public static IsDedicatedHostDiskManagement get(String name, Output<String> id, IsDedicatedHostDiskManagementState state, CustomResourceOptions options)resources: _: type: ibm:IsDedicatedHostDiskManagement 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.
- Dedicated
Host string - The unique-identifier of the dedicated host.
- Disks
List<Is
Dedicated Host Disk Management Disk> Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- Is
Dedicated stringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
- Dedicated
Host string - The unique-identifier of the dedicated host.
- Disks
[]Is
Dedicated Host Disk Management Disk Args Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- Is
Dedicated stringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
- dedicated
Host String - The unique-identifier of the dedicated host.
- disks
List<Is
Dedicated Host Disk Management Disk> Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- is
Dedicated StringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
- dedicated
Host string - The unique-identifier of the dedicated host.
- disks
Is
Dedicated Host Disk Management Disk[] Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- is
Dedicated stringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
- dedicated_
host str - The unique-identifier of the dedicated host.
- disks
Sequence[Is
Dedicated Host Disk Management Disk Args] Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- is_
dedicated_ strhost_ disk_ management_ id - (String) The unique-identifier of the dedicated host disk management.
- dedicated
Host String - The unique-identifier of the dedicated host.
- disks List<Property Map>
Disks that needs to be updated. Nested
disksblocks have the following structure:Nested scheme for
disks:- is
Dedicated StringHost Disk Management Id - (String) The unique-identifier of the dedicated host disk management.
Supporting Types
IsDedicatedHostDiskManagementDisk, IsDedicatedHostDiskManagementDiskArgs
Import
The ibm_is_dedicated_host_disk_management resource can be imported by using dedicated host disk management ID.
Example
$ pulumi import ibm:index/isDedicatedHostDiskManagement:IsDedicatedHostDiskManagement example 0716-1c372bb2-decc-4555-b1a6-5d128c612316c
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.
