1. Packages
  2. Ibm Provider
  3. API Docs
  4. SdsHost
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.SdsHost

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    Create, update, and delete sds_hosts with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const sdsHostInstance = new ibm.SdsHost("sdsHostInstance", {
        nqn: "nqn.2014-06.org:9345",
        volumeMappings: [{
            gateways: [{
                ipAddress: "ip_address",
                port: 22,
            }],
            host: {
                id: "id",
                name: "name",
                nqn: "nqn",
            },
            href: "href",
            id: "1a6b7274-678d-4dfb-8981-c71dd9d4daa5-1a6b7274-678d-4dfb-8981-c71dd9d4da45",
            namespace: {
                id: 1,
                uuid: "uuid",
            },
            status: "mapped",
            storageIdentifier: {
                gateways: [{
                    ipAddress: "ip_address",
                    port: 22,
                }],
                namespaceId: 1,
                namespaceUuid: "namespace_uuid",
                subsystemNqn: "nqn.2014-06.org:1234",
            },
            subsystemNqn: "nqn.2014-06.org:1234",
            volume: {
                id: "id",
            },
        }],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    sds_host_instance = ibm.SdsHost("sdsHostInstance",
        nqn="nqn.2014-06.org:9345",
        volume_mappings=[{
            "gateways": [{
                "ip_address": "ip_address",
                "port": 22,
            }],
            "host": {
                "id": "id",
                "name": "name",
                "nqn": "nqn",
            },
            "href": "href",
            "id": "1a6b7274-678d-4dfb-8981-c71dd9d4daa5-1a6b7274-678d-4dfb-8981-c71dd9d4da45",
            "namespace": {
                "id": 1,
                "uuid": "uuid",
            },
            "status": "mapped",
            "storage_identifier": {
                "gateways": [{
                    "ip_address": "ip_address",
                    "port": 22,
                }],
                "namespace_id": 1,
                "namespace_uuid": "namespace_uuid",
                "subsystem_nqn": "nqn.2014-06.org:1234",
            },
            "subsystem_nqn": "nqn.2014-06.org:1234",
            "volume": {
                "id": "id",
            },
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewSdsHost(ctx, "sdsHostInstance", &ibm.SdsHostArgs{
    			Nqn: pulumi.String("nqn.2014-06.org:9345"),
    			VolumeMappings: ibm.SdsHostVolumeMappingArray{
    				&ibm.SdsHostVolumeMappingArgs{
    					Gateways: ibm.SdsHostVolumeMappingGatewayArray{
    						&ibm.SdsHostVolumeMappingGatewayArgs{
    							IpAddress: pulumi.String("ip_address"),
    							Port:      pulumi.Float64(22),
    						},
    					},
    					Host: &ibm.SdsHostVolumeMappingHostArgs{
    						Id:   pulumi.String("id"),
    						Name: pulumi.String("name"),
    						Nqn:  pulumi.String("nqn"),
    					},
    					Href: pulumi.String("href"),
    					Id:   pulumi.String("1a6b7274-678d-4dfb-8981-c71dd9d4daa5-1a6b7274-678d-4dfb-8981-c71dd9d4da45"),
    					Namespace: &ibm.SdsHostVolumeMappingNamespaceArgs{
    						Id:   pulumi.Float64(1),
    						Uuid: pulumi.String("uuid"),
    					},
    					Status: pulumi.String("mapped"),
    					StorageIdentifier: &ibm.SdsHostVolumeMappingStorageIdentifierArgs{
    						Gateways: ibm.SdsHostVolumeMappingStorageIdentifierGatewayArray{
    							&ibm.SdsHostVolumeMappingStorageIdentifierGatewayArgs{
    								IpAddress: pulumi.String("ip_address"),
    								Port:      pulumi.Float64(22),
    							},
    						},
    						NamespaceId:   pulumi.Float64(1),
    						NamespaceUuid: pulumi.String("namespace_uuid"),
    						SubsystemNqn:  pulumi.String("nqn.2014-06.org:1234"),
    					},
    					SubsystemNqn: pulumi.String("nqn.2014-06.org:1234"),
    					Volume: &ibm.SdsHostVolumeMappingVolumeArgs{
    						Id: pulumi.String("id"),
    					},
    				},
    			},
    		})
    		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 sdsHostInstance = new Ibm.SdsHost("sdsHostInstance", new()
        {
            Nqn = "nqn.2014-06.org:9345",
            VolumeMappings = new[]
            {
                new Ibm.Inputs.SdsHostVolumeMappingArgs
                {
                    Gateways = new[]
                    {
                        new Ibm.Inputs.SdsHostVolumeMappingGatewayArgs
                        {
                            IpAddress = "ip_address",
                            Port = 22,
                        },
                    },
                    Host = new Ibm.Inputs.SdsHostVolumeMappingHostArgs
                    {
                        Id = "id",
                        Name = "name",
                        Nqn = "nqn",
                    },
                    Href = "href",
                    Id = "1a6b7274-678d-4dfb-8981-c71dd9d4daa5-1a6b7274-678d-4dfb-8981-c71dd9d4da45",
                    Namespace = new Ibm.Inputs.SdsHostVolumeMappingNamespaceArgs
                    {
                        Id = 1,
                        Uuid = "uuid",
                    },
                    Status = "mapped",
                    StorageIdentifier = new Ibm.Inputs.SdsHostVolumeMappingStorageIdentifierArgs
                    {
                        Gateways = new[]
                        {
                            new Ibm.Inputs.SdsHostVolumeMappingStorageIdentifierGatewayArgs
                            {
                                IpAddress = "ip_address",
                                Port = 22,
                            },
                        },
                        NamespaceId = 1,
                        NamespaceUuid = "namespace_uuid",
                        SubsystemNqn = "nqn.2014-06.org:1234",
                    },
                    SubsystemNqn = "nqn.2014-06.org:1234",
                    Volume = new Ibm.Inputs.SdsHostVolumeMappingVolumeArgs
                    {
                        Id = "id",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.SdsHost;
    import com.pulumi.ibm.SdsHostArgs;
    import com.pulumi.ibm.inputs.SdsHostVolumeMappingArgs;
    import com.pulumi.ibm.inputs.SdsHostVolumeMappingHostArgs;
    import com.pulumi.ibm.inputs.SdsHostVolumeMappingNamespaceArgs;
    import com.pulumi.ibm.inputs.SdsHostVolumeMappingStorageIdentifierArgs;
    import com.pulumi.ibm.inputs.SdsHostVolumeMappingVolumeArgs;
    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 sdsHostInstance = new SdsHost("sdsHostInstance", SdsHostArgs.builder()
                .nqn("nqn.2014-06.org:9345")
                .volumeMappings(SdsHostVolumeMappingArgs.builder()
                    .gateways(SdsHostVolumeMappingGatewayArgs.builder()
                        .ipAddress("ip_address")
                        .port(22)
                        .build())
                    .host(SdsHostVolumeMappingHostArgs.builder()
                        .id("id")
                        .name("name")
                        .nqn("nqn")
                        .build())
                    .href("href")
                    .id("1a6b7274-678d-4dfb-8981-c71dd9d4daa5-1a6b7274-678d-4dfb-8981-c71dd9d4da45")
                    .namespace(SdsHostVolumeMappingNamespaceArgs.builder()
                        .id(1)
                        .uuid("uuid")
                        .build())
                    .status("mapped")
                    .storageIdentifier(SdsHostVolumeMappingStorageIdentifierArgs.builder()
                        .gateways(SdsHostVolumeMappingStorageIdentifierGatewayArgs.builder()
                            .ipAddress("ip_address")
                            .port(22)
                            .build())
                        .namespaceId(1)
                        .namespaceUuid("namespace_uuid")
                        .subsystemNqn("nqn.2014-06.org:1234")
                        .build())
                    .subsystemNqn("nqn.2014-06.org:1234")
                    .volume(SdsHostVolumeMappingVolumeArgs.builder()
                        .id("id")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      sdsHostInstance:
        type: ibm:SdsHost
        properties:
          nqn: nqn.2014-06.org:9345
          volumeMappings:
            - gateways:
                - ipAddress: ip_address
                  port: 22
              host:
                id: id
                name: name
                nqn: nqn
              href: href
              id: 1a6b7274-678d-4dfb-8981-c71dd9d4daa5-1a6b7274-678d-4dfb-8981-c71dd9d4da45
              namespace:
                id: 1
                uuid: uuid
              status: mapped
              storageIdentifier:
                gateways:
                  - ipAddress: ip_address
                    port: 22
                namespaceId: 1
                namespaceUuid: namespace_uuid
                subsystemNqn: nqn.2014-06.org:1234
              subsystemNqn: nqn.2014-06.org:1234
              volume:
                id: id
    

    Create SdsHost Resource

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

    Constructor syntax

    new SdsHost(name: string, args: SdsHostArgs, opts?: CustomResourceOptions);
    @overload
    def SdsHost(resource_name: str,
                args: SdsHostArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdsHost(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                nqn: Optional[str] = None,
                name: Optional[str] = None,
                sds_endpoint: Optional[str] = None,
                sds_host_id: Optional[str] = None,
                volume_mappings: Optional[Sequence[SdsHostVolumeMappingArgs]] = None)
    func NewSdsHost(ctx *Context, name string, args SdsHostArgs, opts ...ResourceOption) (*SdsHost, error)
    public SdsHost(string name, SdsHostArgs args, CustomResourceOptions? opts = null)
    public SdsHost(String name, SdsHostArgs args)
    public SdsHost(String name, SdsHostArgs args, CustomResourceOptions options)
    
    type: ibm:SdsHost
    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 SdsHostArgs
    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 SdsHostArgs
    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 SdsHostArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdsHostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdsHostArgs
    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 sdsHostResource = new Ibm.SdsHost("sdsHostResource", new()
    {
        Nqn = "string",
        Name = "string",
        SdsEndpoint = "string",
        SdsHostId = "string",
        VolumeMappings = new[]
        {
            new Ibm.Inputs.SdsHostVolumeMappingArgs
            {
                Href = "string",
                Id = "string",
                Status = "string",
                Gateways = new[]
                {
                    new Ibm.Inputs.SdsHostVolumeMappingGatewayArgs
                    {
                        IpAddress = "string",
                        Port = 0,
                    },
                },
                Host = new Ibm.Inputs.SdsHostVolumeMappingHostArgs
                {
                    Id = "string",
                    Name = "string",
                    Nqn = "string",
                },
                Namespace = new Ibm.Inputs.SdsHostVolumeMappingNamespaceArgs
                {
                    Id = 0,
                    Uuid = "string",
                },
                StorageIdentifier = new Ibm.Inputs.SdsHostVolumeMappingStorageIdentifierArgs
                {
                    Gateways = new[]
                    {
                        new Ibm.Inputs.SdsHostVolumeMappingStorageIdentifierGatewayArgs
                        {
                            IpAddress = "string",
                            Port = 0,
                        },
                    },
                    NamespaceId = 0,
                    NamespaceUuid = "string",
                    SubsystemNqn = "string",
                },
                SubsystemNqn = "string",
                Volume = new Ibm.Inputs.SdsHostVolumeMappingVolumeArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
        },
    });
    
    example, err := ibm.NewSdsHost(ctx, "sdsHostResource", &ibm.SdsHostArgs{
    	Nqn:         pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	SdsEndpoint: pulumi.String("string"),
    	SdsHostId:   pulumi.String("string"),
    	VolumeMappings: ibm.SdsHostVolumeMappingArray{
    		&ibm.SdsHostVolumeMappingArgs{
    			Href:   pulumi.String("string"),
    			Id:     pulumi.String("string"),
    			Status: pulumi.String("string"),
    			Gateways: ibm.SdsHostVolumeMappingGatewayArray{
    				&ibm.SdsHostVolumeMappingGatewayArgs{
    					IpAddress: pulumi.String("string"),
    					Port:      pulumi.Float64(0),
    				},
    			},
    			Host: &ibm.SdsHostVolumeMappingHostArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    				Nqn:  pulumi.String("string"),
    			},
    			Namespace: &ibm.SdsHostVolumeMappingNamespaceArgs{
    				Id:   pulumi.Float64(0),
    				Uuid: pulumi.String("string"),
    			},
    			StorageIdentifier: &ibm.SdsHostVolumeMappingStorageIdentifierArgs{
    				Gateways: ibm.SdsHostVolumeMappingStorageIdentifierGatewayArray{
    					&ibm.SdsHostVolumeMappingStorageIdentifierGatewayArgs{
    						IpAddress: pulumi.String("string"),
    						Port:      pulumi.Float64(0),
    					},
    				},
    				NamespaceId:   pulumi.Float64(0),
    				NamespaceUuid: pulumi.String("string"),
    				SubsystemNqn:  pulumi.String("string"),
    			},
    			SubsystemNqn: pulumi.String("string"),
    			Volume: &ibm.SdsHostVolumeMappingVolumeArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var sdsHostResource = new SdsHost("sdsHostResource", SdsHostArgs.builder()
        .nqn("string")
        .name("string")
        .sdsEndpoint("string")
        .sdsHostId("string")
        .volumeMappings(SdsHostVolumeMappingArgs.builder()
            .href("string")
            .id("string")
            .status("string")
            .gateways(SdsHostVolumeMappingGatewayArgs.builder()
                .ipAddress("string")
                .port(0)
                .build())
            .host(SdsHostVolumeMappingHostArgs.builder()
                .id("string")
                .name("string")
                .nqn("string")
                .build())
            .namespace(SdsHostVolumeMappingNamespaceArgs.builder()
                .id(0)
                .uuid("string")
                .build())
            .storageIdentifier(SdsHostVolumeMappingStorageIdentifierArgs.builder()
                .gateways(SdsHostVolumeMappingStorageIdentifierGatewayArgs.builder()
                    .ipAddress("string")
                    .port(0)
                    .build())
                .namespaceId(0)
                .namespaceUuid("string")
                .subsystemNqn("string")
                .build())
            .subsystemNqn("string")
            .volume(SdsHostVolumeMappingVolumeArgs.builder()
                .id("string")
                .name("string")
                .build())
            .build())
        .build());
    
    sds_host_resource = ibm.SdsHost("sdsHostResource",
        nqn="string",
        name="string",
        sds_endpoint="string",
        sds_host_id="string",
        volume_mappings=[{
            "href": "string",
            "id": "string",
            "status": "string",
            "gateways": [{
                "ip_address": "string",
                "port": 0,
            }],
            "host": {
                "id": "string",
                "name": "string",
                "nqn": "string",
            },
            "namespace": {
                "id": 0,
                "uuid": "string",
            },
            "storage_identifier": {
                "gateways": [{
                    "ip_address": "string",
                    "port": 0,
                }],
                "namespace_id": 0,
                "namespace_uuid": "string",
                "subsystem_nqn": "string",
            },
            "subsystem_nqn": "string",
            "volume": {
                "id": "string",
                "name": "string",
            },
        }])
    
    const sdsHostResource = new ibm.SdsHost("sdsHostResource", {
        nqn: "string",
        name: "string",
        sdsEndpoint: "string",
        sdsHostId: "string",
        volumeMappings: [{
            href: "string",
            id: "string",
            status: "string",
            gateways: [{
                ipAddress: "string",
                port: 0,
            }],
            host: {
                id: "string",
                name: "string",
                nqn: "string",
            },
            namespace: {
                id: 0,
                uuid: "string",
            },
            storageIdentifier: {
                gateways: [{
                    ipAddress: "string",
                    port: 0,
                }],
                namespaceId: 0,
                namespaceUuid: "string",
                subsystemNqn: "string",
            },
            subsystemNqn: "string",
            volume: {
                id: "string",
                name: "string",
            },
        }],
    });
    
    type: ibm:SdsHost
    properties:
        name: string
        nqn: string
        sdsEndpoint: string
        sdsHostId: string
        volumeMappings:
            - gateways:
                - ipAddress: string
                  port: 0
              host:
                id: string
                name: string
                nqn: string
              href: string
              id: string
              namespace:
                id: 0
                uuid: string
              status: string
              storageIdentifier:
                gateways:
                    - ipAddress: string
                      port: 0
                namespaceId: 0
                namespaceUuid: string
                subsystemNqn: string
              subsystemNqn: string
              volume:
                id: string
                name: string
    

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

    Nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    Name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    SdsEndpoint string
    The endpoint to use for operations
    SdsHostId string
    The unique identifier of the sds_host.
    VolumeMappings List<SdsHostVolumeMapping>
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    Nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    Name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    SdsEndpoint string
    The endpoint to use for operations
    SdsHostId string
    The unique identifier of the sds_host.
    VolumeMappings []SdsHostVolumeMappingArgs
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    nqn String
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    name String
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    sdsEndpoint String
    The endpoint to use for operations
    sdsHostId String
    The unique identifier of the sds_host.
    volumeMappings List<SdsHostVolumeMapping>
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    sdsEndpoint string
    The endpoint to use for operations
    sdsHostId string
    The unique identifier of the sds_host.
    volumeMappings SdsHostVolumeMapping[]
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    nqn str
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    name str
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    sds_endpoint str
    The endpoint to use for operations
    sds_host_id str
    The unique identifier of the sds_host.
    volume_mappings Sequence[SdsHostVolumeMappingArgs]
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    nqn String
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    name String
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    sdsEndpoint String
    The endpoint to use for operations
    sdsHostId String
    The unique identifier of the sds_host.
    volumeMappings List<Property Map>
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:

    Outputs

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

    CreatedAt string
    (String) The date and time when the resource was created.
    Href string
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedAt string
    (String) The date and time when the resource was created.
    Href string
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    createdAt String
    (String) The date and time when the resource was created.
    href String
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    createdAt string
    (String) The date and time when the resource was created.
    href string
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    id string
    The provider-assigned unique ID for this managed resource.
    created_at str
    (String) The date and time when the resource was created.
    href str
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    id str
    The provider-assigned unique ID for this managed resource.
    createdAt String
    (String) The date and time when the resource was created.
    href String
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SdsHost Resource

    Get an existing SdsHost 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?: SdsHostState, opts?: CustomResourceOptions): SdsHost
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            nqn: Optional[str] = None,
            sds_endpoint: Optional[str] = None,
            sds_host_id: Optional[str] = None,
            volume_mappings: Optional[Sequence[SdsHostVolumeMappingArgs]] = None) -> SdsHost
    func GetSdsHost(ctx *Context, name string, id IDInput, state *SdsHostState, opts ...ResourceOption) (*SdsHost, error)
    public static SdsHost Get(string name, Input<string> id, SdsHostState? state, CustomResourceOptions? opts = null)
    public static SdsHost get(String name, Output<String> id, SdsHostState state, CustomResourceOptions options)
    resources:  _:    type: ibm:SdsHost    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.
    The following state arguments are supported:
    CreatedAt string
    (String) The date and time when the resource was created.
    Href string
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    Name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    SdsEndpoint string
    The endpoint to use for operations
    SdsHostId string
    The unique identifier of the sds_host.
    VolumeMappings List<SdsHostVolumeMapping>
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    CreatedAt string
    (String) The date and time when the resource was created.
    Href string
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    Name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    SdsEndpoint string
    The endpoint to use for operations
    SdsHostId string
    The unique identifier of the sds_host.
    VolumeMappings []SdsHostVolumeMappingArgs
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    createdAt String
    (String) The date and time when the resource was created.
    href String
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    name String
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    nqn String
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    sdsEndpoint String
    The endpoint to use for operations
    sdsHostId String
    The unique identifier of the sds_host.
    volumeMappings List<SdsHostVolumeMapping>
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    createdAt string
    (String) The date and time when the resource was created.
    href string
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    sdsEndpoint string
    The endpoint to use for operations
    sdsHostId string
    The unique identifier of the sds_host.
    volumeMappings SdsHostVolumeMapping[]
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    created_at str
    (String) The date and time when the resource was created.
    href str
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    name str
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    nqn str
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    sds_endpoint str
    The endpoint to use for operations
    sds_host_id str
    The unique identifier of the sds_host.
    volume_mappings Sequence[SdsHostVolumeMappingArgs]
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:
    createdAt String
    (String) The date and time when the resource was created.
    href String
    (String) The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    name String
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    nqn String
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    sdsEndpoint String
    The endpoint to use for operations
    sdsHostId String
    The unique identifier of the sds_host.
    volumeMappings List<Property Map>
    The host-to-volume map.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for volume_mappings:

    Supporting Types

    SdsHostVolumeMapping, SdsHostVolumeMappingArgs

    Href string
    The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    Id string
    Unique identifier of the mapping.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    Status string
    The status of the volume mapping. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.

    • Constraints: Allowable values are: pending, mapped, pending_unmapping, mapping_failed. The maximum length is 1000 characters. The minimum length is 1 character. The value must match regular expression /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/.
    Gateways List<SdsHostVolumeMappingGateway>
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    Host SdsHostVolumeMappingHost
    Host mapping schema. Nested schema for host:
    Namespace SdsHostVolumeMappingNamespace
    The NVMe namespace properties for a given volume mapping. Nested schema for namespace:
    StorageIdentifier SdsHostVolumeMappingStorageIdentifier
    Storage network and ID information associated with a volume/host mapping. Nested schema for storage_identifier:
    SubsystemNqn string
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    Volume SdsHostVolumeMappingVolume
    The volume reference. Nested schema for volume:
    Href string
    The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    Id string
    Unique identifier of the mapping.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    Status string
    The status of the volume mapping. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.

    • Constraints: Allowable values are: pending, mapped, pending_unmapping, mapping_failed. The maximum length is 1000 characters. The minimum length is 1 character. The value must match regular expression /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/.
    Gateways []SdsHostVolumeMappingGateway
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    Host SdsHostVolumeMappingHost
    Host mapping schema. Nested schema for host:
    Namespace SdsHostVolumeMappingNamespace
    The NVMe namespace properties for a given volume mapping. Nested schema for namespace:
    StorageIdentifier SdsHostVolumeMappingStorageIdentifier
    Storage network and ID information associated with a volume/host mapping. Nested schema for storage_identifier:
    SubsystemNqn string
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    Volume SdsHostVolumeMappingVolume
    The volume reference. Nested schema for volume:
    href String
    The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    id String
    Unique identifier of the mapping.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    status String
    The status of the volume mapping. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.

    • Constraints: Allowable values are: pending, mapped, pending_unmapping, mapping_failed. The maximum length is 1000 characters. The minimum length is 1 character. The value must match regular expression /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/.
    gateways List<SdsHostVolumeMappingGateway>
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    host SdsHostVolumeMappingHost
    Host mapping schema. Nested schema for host:
    namespace SdsHostVolumeMappingNamespace
    The NVMe namespace properties for a given volume mapping. Nested schema for namespace:
    storageIdentifier SdsHostVolumeMappingStorageIdentifier
    Storage network and ID information associated with a volume/host mapping. Nested schema for storage_identifier:
    subsystemNqn String
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    volume SdsHostVolumeMappingVolume
    The volume reference. Nested schema for volume:
    href string
    The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    id string
    Unique identifier of the mapping.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    status string
    The status of the volume mapping. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.

    • Constraints: Allowable values are: pending, mapped, pending_unmapping, mapping_failed. The maximum length is 1000 characters. The minimum length is 1 character. The value must match regular expression /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/.
    gateways SdsHostVolumeMappingGateway[]
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    host SdsHostVolumeMappingHost
    Host mapping schema. Nested schema for host:
    namespace SdsHostVolumeMappingNamespace
    The NVMe namespace properties for a given volume mapping. Nested schema for namespace:
    storageIdentifier SdsHostVolumeMappingStorageIdentifier
    Storage network and ID information associated with a volume/host mapping. Nested schema for storage_identifier:
    subsystemNqn string
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    volume SdsHostVolumeMappingVolume
    The volume reference. Nested schema for volume:
    href str
    The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    id str
    Unique identifier of the mapping.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    status str
    The status of the volume mapping. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.

    • Constraints: Allowable values are: pending, mapped, pending_unmapping, mapping_failed. The maximum length is 1000 characters. The minimum length is 1 character. The value must match regular expression /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/.
    gateways Sequence[SdsHostVolumeMappingGateway]
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    host SdsHostVolumeMappingHost
    Host mapping schema. Nested schema for host:
    namespace SdsHostVolumeMappingNamespace
    The NVMe namespace properties for a given volume mapping. Nested schema for namespace:
    storage_identifier SdsHostVolumeMappingStorageIdentifier
    Storage network and ID information associated with a volume/host mapping. Nested schema for storage_identifier:
    subsystem_nqn str
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    volume SdsHostVolumeMappingVolume
    The volume reference. Nested schema for volume:
    href String
    The URL for this resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 10 characters.
    id String
    Unique identifier of the mapping.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    status String
    The status of the volume mapping. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.

    • Constraints: Allowable values are: pending, mapped, pending_unmapping, mapping_failed. The maximum length is 1000 characters. The minimum length is 1 character. The value must match regular expression /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/.
    gateways List<Property Map>
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    host Property Map
    Host mapping schema. Nested schema for host:
    namespace Property Map
    The NVMe namespace properties for a given volume mapping. Nested schema for namespace:
    storageIdentifier Property Map
    Storage network and ID information associated with a volume/host mapping. Nested schema for storage_identifier:
    subsystemNqn String
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    volume Property Map
    The volume reference. Nested schema for volume:

    SdsHostVolumeMappingGateway, SdsHostVolumeMappingGatewayArgs

    IpAddress string
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Port double
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    IpAddress string
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Port float64
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    ipAddress String
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    port Double
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    ipAddress string
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    port number
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    ip_address str
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    port float
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    ipAddress String
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    port Number
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.

    SdsHostVolumeMappingHost, SdsHostVolumeMappingHostArgs

    Id string
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Id string
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    id String
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    name String
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    nqn String
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    id string
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    nqn string
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    id str
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    name str
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    nqn str
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    id String
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    name String
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    nqn String
    The NQN (NVMe Qualified Name) as configured on the initiator (compute/host) accessing the storage.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.

    SdsHostVolumeMappingNamespace, SdsHostVolumeMappingNamespaceArgs

    Id double
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    Uuid string
    UUID of the NVMe namespace.

    • Constraints: The maximum length is 64 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    Id float64
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    Uuid string
    UUID of the NVMe namespace.

    • Constraints: The maximum length is 64 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    id Double
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    uuid String
    UUID of the NVMe namespace.

    • Constraints: The maximum length is 64 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    id number
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    uuid string
    UUID of the NVMe namespace.

    • Constraints: The maximum length is 64 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    id float
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    uuid str
    UUID of the NVMe namespace.

    • Constraints: The maximum length is 64 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.
    id Number
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    uuid String
    UUID of the NVMe namespace.

    • Constraints: The maximum length is 64 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-z_]+$/.

    SdsHostVolumeMappingStorageIdentifier, SdsHostVolumeMappingStorageIdentifierArgs

    Gateways List<SdsHostVolumeMappingStorageIdentifierGateway>
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    NamespaceId double
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    NamespaceUuid string
    The namespace UUID associated with a volume/host mapping.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    SubsystemNqn string
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    Gateways []SdsHostVolumeMappingStorageIdentifierGateway
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    NamespaceId float64
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    NamespaceUuid string
    The namespace UUID associated with a volume/host mapping.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    SubsystemNqn string
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    gateways List<SdsHostVolumeMappingStorageIdentifierGateway>
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    namespaceId Double
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    namespaceUuid String
    The namespace UUID associated with a volume/host mapping.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    subsystemNqn String
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    gateways SdsHostVolumeMappingStorageIdentifierGateway[]
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    namespaceId number
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    namespaceUuid string
    The namespace UUID associated with a volume/host mapping.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    subsystemNqn string
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    gateways Sequence[SdsHostVolumeMappingStorageIdentifierGateway]
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    namespace_id float
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    namespace_uuid str
    The namespace UUID associated with a volume/host mapping.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    subsystem_nqn str
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.
    gateways List<Property Map>
    List of NVMe gateways.

    • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for gateways:
    namespaceId Number
    NVMe namespace ID that can be used to co-relate the discovered devices on host to the corresponding volume.

    • Constraints: The maximum value is 32. The minimum value is 1.
    namespaceUuid String
    The namespace UUID associated with a volume/host mapping.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    subsystemNqn String
    The NVMe target subsystem NQN (NVMe Qualified Name) that can be used for doing NVMe connect by the initiator.

    • Constraints: The maximum length is 63 characters. The minimum length is 4 characters. The value must match regular expression /^nqn\\.\\d{4}-\\d{2}\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)*:[a-zA-Z0-9.\\-:]+$/.

    SdsHostVolumeMappingStorageIdentifierGateway, SdsHostVolumeMappingStorageIdentifierGatewayArgs

    IpAddress string
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Port double
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    IpAddress string
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Port float64
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    ipAddress String
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    port Double
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    ipAddress string
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    port number
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    ip_address str
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    port float
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.
    ipAddress String
    Network information for volume/host mappings.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    port Number
    Network information for volume/host mappings.

    • Constraints: The maximum value is 65535. The minimum value is 1.

    SdsHostVolumeMappingVolume, SdsHostVolumeMappingVolumeArgs

    Id string
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Id string
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    Name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    id String
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    name String
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    id string
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    name string
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    id str
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    name str
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    id String
    Unique identifer of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.
    name String
    Unique name of the host.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /^\\S+$/.

    Import

    You can import the ibm_sds_host resource by using id. Unique identifer of the host.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/sdsHost:SdsHost sds_host <id>
    ```
    
    

    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 ibm Terraform Provider.
    ibm logo
    ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud