1. Packages
  2. Powerstore Provider
  3. API Docs
  4. getHost
powerstore 1.2.0 published on Monday, Apr 14, 2025 by dell

powerstore.getHost

Explore with Pulumi AI

powerstore 1.2.0 published on Monday, Apr 14, 2025 by dell

Using getHost

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getHost(args: GetHostArgs, opts?: InvokeOptions): Promise<GetHostResult>
function getHostOutput(args: GetHostOutputArgs, opts?: InvokeOptions): Output<GetHostResult>
Copy
def get_host(id: Optional[str] = None,
             name: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetHostResult
def get_host_output(id: Optional[pulumi.Input[str]] = None,
             name: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetHostResult]
Copy
func LookupHost(ctx *Context, args *LookupHostArgs, opts ...InvokeOption) (*LookupHostResult, error)
func LookupHostOutput(ctx *Context, args *LookupHostOutputArgs, opts ...InvokeOption) LookupHostResultOutput
Copy

> Note: This function is named LookupHost in the Go SDK.

public static class GetHost 
{
    public static Task<GetHostResult> InvokeAsync(GetHostArgs args, InvokeOptions? opts = null)
    public static Output<GetHostResult> Invoke(GetHostInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetHostResult> getHost(GetHostArgs args, InvokeOptions options)
public static Output<GetHostResult> getHost(GetHostArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: powerstore:index/getHost:getHost
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Unique identifier of the host instance. Conflicts with name.
Name string
Name of the host. Conflicts with id.
Id string
Unique identifier of the host instance. Conflicts with name.
Name string
Name of the host. Conflicts with id.
id String
Unique identifier of the host instance. Conflicts with name.
name String
Name of the host. Conflicts with id.
id string
Unique identifier of the host instance. Conflicts with name.
name string
Name of the host. Conflicts with id.
id str
Unique identifier of the host instance. Conflicts with name.
name str
Name of the host. Conflicts with id.
id String
Unique identifier of the host instance. Conflicts with name.
name String
Name of the host. Conflicts with id.

getHost Result

The following output properties are available:

Hosts List<GetHostHost>
List of hosts.
Id string
Unique identifier of the host instance. Conflicts with name.
Name string
Name of the host. Conflicts with id.
Hosts []GetHostHost
List of hosts.
Id string
Unique identifier of the host instance. Conflicts with name.
Name string
Name of the host. Conflicts with id.
hosts List<GetHostHost>
List of hosts.
id String
Unique identifier of the host instance. Conflicts with name.
name String
Name of the host. Conflicts with id.
hosts GetHostHost[]
List of hosts.
id string
Unique identifier of the host instance. Conflicts with name.
name string
Name of the host. Conflicts with id.
hosts Sequence[GetHostHost]
List of hosts.
id str
Unique identifier of the host instance. Conflicts with name.
name str
Name of the host. Conflicts with id.
hosts List<Property Map>
List of hosts.
id String
Unique identifier of the host instance. Conflicts with name.
name String
Name of the host. Conflicts with id.

Supporting Types

GetHostHost

Description This property is required. string
Description of the host.
HostConnectivity This property is required. string
Connectivity type for hosts.
HostConnectivityL10n This property is required. string
Localized message string corresponding to host connectivity.
HostGroupId This property is required. string
Associated host group, if host is part of host group.
HostVirtualVolumeMappings This property is required. List<GetHostHostHostVirtualVolumeMapping>
Virtual volume mapping details.
Id This property is required. string
The ID of the host.
ImportHostSystem This property is required. GetHostHostImportHostSystem
Details about an import host system.
Initiators This property is required. List<GetHostHostInitiator>
Initiator instance.
MappedHosts This property is required. List<GetHostHostMappedHost>
Details about a configured host or host group attached to a volume.
Name This property is required. string
Name of the host.
OsType This property is required. string
Operating system of the host.
OsTypeL10n This property is required. string
Localized message string corresponding to OS type.
Type This property is required. string
Type of hosts.
TypeL10n This property is required. string
Localized message string corresponding to type
VsphereHosts This property is required. List<GetHostHostVsphereHost>
List of the vsphere hosts that are associated with this host.
Description This property is required. string
Description of the host.
HostConnectivity This property is required. string
Connectivity type for hosts.
HostConnectivityL10n This property is required. string
Localized message string corresponding to host connectivity.
HostGroupId This property is required. string
Associated host group, if host is part of host group.
HostVirtualVolumeMappings This property is required. []GetHostHostHostVirtualVolumeMapping
Virtual volume mapping details.
Id This property is required. string
The ID of the host.
ImportHostSystem This property is required. GetHostHostImportHostSystem
Details about an import host system.
Initiators This property is required. []GetHostHostInitiator
Initiator instance.
MappedHosts This property is required. []GetHostHostMappedHost
Details about a configured host or host group attached to a volume.
Name This property is required. string
Name of the host.
OsType This property is required. string
Operating system of the host.
OsTypeL10n This property is required. string
Localized message string corresponding to OS type.
Type This property is required. string
Type of hosts.
TypeL10n This property is required. string
Localized message string corresponding to type
VsphereHosts This property is required. []GetHostHostVsphereHost
List of the vsphere hosts that are associated with this host.
description This property is required. String
Description of the host.
hostConnectivity This property is required. String
Connectivity type for hosts.
hostConnectivityL10n This property is required. String
Localized message string corresponding to host connectivity.
hostGroupId This property is required. String
Associated host group, if host is part of host group.
hostVirtualVolumeMappings This property is required. List<GetHostHostHostVirtualVolumeMapping>
Virtual volume mapping details.
id This property is required. String
The ID of the host.
importHostSystem This property is required. GetHostHostImportHostSystem
Details about an import host system.
initiators This property is required. List<GetHostHostInitiator>
Initiator instance.
mappedHosts This property is required. List<GetHostHostMappedHost>
Details about a configured host or host group attached to a volume.
name This property is required. String
Name of the host.
osType This property is required. String
Operating system of the host.
osTypeL10n This property is required. String
Localized message string corresponding to OS type.
type This property is required. String
Type of hosts.
typeL10n This property is required. String
Localized message string corresponding to type
vsphereHosts This property is required. List<GetHostHostVsphereHost>
List of the vsphere hosts that are associated with this host.
description This property is required. string
Description of the host.
hostConnectivity This property is required. string
Connectivity type for hosts.
hostConnectivityL10n This property is required. string
Localized message string corresponding to host connectivity.
hostGroupId This property is required. string
Associated host group, if host is part of host group.
hostVirtualVolumeMappings This property is required. GetHostHostHostVirtualVolumeMapping[]
Virtual volume mapping details.
id This property is required. string
The ID of the host.
importHostSystem This property is required. GetHostHostImportHostSystem
Details about an import host system.
initiators This property is required. GetHostHostInitiator[]
Initiator instance.
mappedHosts This property is required. GetHostHostMappedHost[]
Details about a configured host or host group attached to a volume.
name This property is required. string
Name of the host.
osType This property is required. string
Operating system of the host.
osTypeL10n This property is required. string
Localized message string corresponding to OS type.
type This property is required. string
Type of hosts.
typeL10n This property is required. string
Localized message string corresponding to type
vsphereHosts This property is required. GetHostHostVsphereHost[]
List of the vsphere hosts that are associated with this host.
description This property is required. str
Description of the host.
host_connectivity This property is required. str
Connectivity type for hosts.
host_connectivity_l10n This property is required. str
Localized message string corresponding to host connectivity.
host_group_id This property is required. str
Associated host group, if host is part of host group.
host_virtual_volume_mappings This property is required. Sequence[GetHostHostHostVirtualVolumeMapping]
Virtual volume mapping details.
id This property is required. str
The ID of the host.
import_host_system This property is required. GetHostHostImportHostSystem
Details about an import host system.
initiators This property is required. Sequence[GetHostHostInitiator]
Initiator instance.
mapped_hosts This property is required. Sequence[GetHostHostMappedHost]
Details about a configured host or host group attached to a volume.
name This property is required. str
Name of the host.
os_type This property is required. str
Operating system of the host.
os_type_l10n This property is required. str
Localized message string corresponding to OS type.
type This property is required. str
Type of hosts.
type_l10n This property is required. str
Localized message string corresponding to type
vsphere_hosts This property is required. Sequence[GetHostHostVsphereHost]
List of the vsphere hosts that are associated with this host.
description This property is required. String
Description of the host.
hostConnectivity This property is required. String
Connectivity type for hosts.
hostConnectivityL10n This property is required. String
Localized message string corresponding to host connectivity.
hostGroupId This property is required. String
Associated host group, if host is part of host group.
hostVirtualVolumeMappings This property is required. List<Property Map>
Virtual volume mapping details.
id This property is required. String
The ID of the host.
importHostSystem This property is required. Property Map
Details about an import host system.
initiators This property is required. List<Property Map>
Initiator instance.
mappedHosts This property is required. List<Property Map>
Details about a configured host or host group attached to a volume.
name This property is required. String
Name of the host.
osType This property is required. String
Operating system of the host.
osTypeL10n This property is required. String
Localized message string corresponding to OS type.
type This property is required. String
Type of hosts.
typeL10n This property is required. String
Localized message string corresponding to type
vsphereHosts This property is required. List<Property Map>
List of the vsphere hosts that are associated with this host.

GetHostHostHostVirtualVolumeMapping

HostId This property is required. string
Unique identifier of a host attached to a virtual volume.
Id This property is required. string
Unique identifier of a mapping between a host and a virtual volume.
VirtualVolumeId This property is required. string
Unique identifier of the virtual volume to which the host is attached.
HostId This property is required. string
Unique identifier of a host attached to a virtual volume.
Id This property is required. string
Unique identifier of a mapping between a host and a virtual volume.
VirtualVolumeId This property is required. string
Unique identifier of the virtual volume to which the host is attached.
hostId This property is required. String
Unique identifier of a host attached to a virtual volume.
id This property is required. String
Unique identifier of a mapping between a host and a virtual volume.
virtualVolumeId This property is required. String
Unique identifier of the virtual volume to which the host is attached.
hostId This property is required. string
Unique identifier of a host attached to a virtual volume.
id This property is required. string
Unique identifier of a mapping between a host and a virtual volume.
virtualVolumeId This property is required. string
Unique identifier of the virtual volume to which the host is attached.
host_id This property is required. str
Unique identifier of a host attached to a virtual volume.
id This property is required. str
Unique identifier of a mapping between a host and a virtual volume.
virtual_volume_id This property is required. str
Unique identifier of the virtual volume to which the host is attached.
hostId This property is required. String
Unique identifier of a host attached to a virtual volume.
id This property is required. String
Unique identifier of a mapping between a host and a virtual volume.
virtualVolumeId This property is required. String
Unique identifier of the virtual volume to which the host is attached.

GetHostHostImportHostSystem

AgentAddress This property is required. string
Id This property is required. string
AgentAddress This property is required. string
Id This property is required. string
agentAddress This property is required. String
id This property is required. String
agentAddress This property is required. string
id This property is required. string
agent_address This property is required. str
id This property is required. str
agentAddress This property is required. String
id This property is required. String

GetHostHostInitiator

ChapMutualUsername This property is required. string
Username for CHAP authentication.
ChapSingleUsername This property is required. string
Username for CHAP authentication.
PortName This property is required. string
The port name, one of: IQN, WWN, or NQN..
PortType This property is required. string
Protocol type of the host initiator.
ChapMutualUsername This property is required. string
Username for CHAP authentication.
ChapSingleUsername This property is required. string
Username for CHAP authentication.
PortName This property is required. string
The port name, one of: IQN, WWN, or NQN..
PortType This property is required. string
Protocol type of the host initiator.
chapMutualUsername This property is required. String
Username for CHAP authentication.
chapSingleUsername This property is required. String
Username for CHAP authentication.
portName This property is required. String
The port name, one of: IQN, WWN, or NQN..
portType This property is required. String
Protocol type of the host initiator.
chapMutualUsername This property is required. string
Username for CHAP authentication.
chapSingleUsername This property is required. string
Username for CHAP authentication.
portName This property is required. string
The port name, one of: IQN, WWN, or NQN..
portType This property is required. string
Protocol type of the host initiator.
chap_mutual_username This property is required. str
Username for CHAP authentication.
chap_single_username This property is required. str
Username for CHAP authentication.
port_name This property is required. str
The port name, one of: IQN, WWN, or NQN..
port_type This property is required. str
Protocol type of the host initiator.
chapMutualUsername This property is required. String
Username for CHAP authentication.
chapSingleUsername This property is required. String
Username for CHAP authentication.
portName This property is required. String
The port name, one of: IQN, WWN, or NQN..
portType This property is required. String
Protocol type of the host initiator.

GetHostHostMappedHost

HostId This property is required. string
Unique identifier of a host attached to a volume.
Id This property is required. string
Unique identifier of a mapping between a host and a volume.
VolumeId This property is required. string
Unique identifier of the volume to which the host is attached.
HostId This property is required. string
Unique identifier of a host attached to a volume.
Id This property is required. string
Unique identifier of a mapping between a host and a volume.
VolumeId This property is required. string
Unique identifier of the volume to which the host is attached.
hostId This property is required. String
Unique identifier of a host attached to a volume.
id This property is required. String
Unique identifier of a mapping between a host and a volume.
volumeId This property is required. String
Unique identifier of the volume to which the host is attached.
hostId This property is required. string
Unique identifier of a host attached to a volume.
id This property is required. string
Unique identifier of a mapping between a host and a volume.
volumeId This property is required. string
Unique identifier of the volume to which the host is attached.
host_id This property is required. str
Unique identifier of a host attached to a volume.
id This property is required. str
Unique identifier of a mapping between a host and a volume.
volume_id This property is required. str
Unique identifier of the volume to which the host is attached.
hostId This property is required. String
Unique identifier of a host attached to a volume.
id This property is required. String
Unique identifier of a mapping between a host and a volume.
volumeId This property is required. String
Unique identifier of the volume to which the host is attached.

GetHostHostVsphereHost

Id This property is required. string
Unique identifier of the vsphere_host instance.
Name This property is required. string
User-assigned name of the ESXi host in vCenter.
Id This property is required. string
Unique identifier of the vsphere_host instance.
Name This property is required. string
User-assigned name of the ESXi host in vCenter.
id This property is required. String
Unique identifier of the vsphere_host instance.
name This property is required. String
User-assigned name of the ESXi host in vCenter.
id This property is required. string
Unique identifier of the vsphere_host instance.
name This property is required. string
User-assigned name of the ESXi host in vCenter.
id This property is required. str
Unique identifier of the vsphere_host instance.
name This property is required. str
User-assigned name of the ESXi host in vCenter.
id This property is required. String
Unique identifier of the vsphere_host instance.
name This property is required. String
User-assigned name of the ESXi host in vCenter.

Package Details

Repository
powerstore dell/terraform-provider-powerstore
License
Notes
This Pulumi package is based on the powerstore Terraform Provider.
powerstore 1.2.0 published on Monday, Apr 14, 2025 by dell