Search HPOVAssociations - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Search-HPOVAssociations

Search the association index.

SYNTAX

Search-HPOVAssociations [-AssociationName] <String> [-Parent] <Object> [-Child] <Object> [-Count] <Int32> [-Start] <Int32> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Search the association index for any associations that match the specified name or uri.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 5
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-AssociationName <String>

The association name to be matched, if specified. Valid association names are

* BLADE_TO_PROFILE
* PROFILE_TO_SERVER_HARDWARE_TYPE
* RACK_TO_PHYSICAL_DEVICE
* BLADE_TO_INTERCONNECT
* ENCLOSURE_GROUP_TO_ENCLOSURE
* ENCLOSURE_GROUP_TO_LOGICAL_INTERCONNECT_GROUP
* ENCLOSURE_TO_BLADE
* ENCLOSURE_TO_SWITCH
* LOGICAL_SWITCH_TO_LOGICAL_UPLINK
* SWITCH_TO_LOGICAL_SWITCH
* SERVER_PROFILES_TO_FC_NETWORKS
* SERVER_PROFILES_TO_NETWORKS
* STORAGE_SYSTEM_TO_STORAGE_POOL
* FC_NETWORK_TO_STORAGE_SYSTEM
* STORAGE_POOL_TO_VOLUME
* STORAGE_POOL_TO_VOLUME_TEMPLATE
Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Child <Object>

Aliases [-EndObjUri]

The uri of an object which is the end of an association

Aliases None
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Count <Int32>

The maximum number of association index entries to be returned. Defaults to 50.

Aliases None
Required? true
Position? 3
Default value 50
Accept pipeline input? false
Accept wildcard characters?    False

-Parent <Object>

Aliases [-StartObjUri]

The uri of an object which is the start of an association

Aliases None
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Start <Int32>

The index of the first association index to be returned, defaults to 0.

Aliases None
Required? true
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

System.Management.Automation.PSCustomObject

Resource Object to find associated resources

Return Values

System.Management.Automation.PSCustomObject

Single association index entry

System.Collections.ArrayList

Multiple association index entries The matching index entries

Examples

 -------------------------- EXAMPLE 1 --------------------------

Search-HPOVAssociations BLADE_TO_PROFILE -endObjUri /rest/server-profiles/1ab4c031-a631-4288-9e7d-3cfca24d30cf

Return any BLADE_TO_PROFILE associations that have an end object with the specified uri

Related Links


Top

HPE OneView 4.00 Library

Search-HPOVAssociations

Search the association index.

SYNTAX

Search-HPOVAssociations [-AssociationName] <String> [-Parent] <Object> [-Child] <Object> [-Count] <Int32> [-Start] <Int32> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Search the association index for any associations that match the specified name or uri.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 5
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-AssociationName <String>

The association name to be matched, if specified. Valid association names are

* BLADE_TO_PROFILE
* PROFILE_TO_SERVER_HARDWARE_TYPE
* RACK_TO_PHYSICAL_DEVICE
* BLADE_TO_INTERCONNECT
* ENCLOSURE_GROUP_TO_ENCLOSURE
* ENCLOSURE_GROUP_TO_LOGICAL_INTERCONNECT_GROUP
* ENCLOSURE_TO_BLADE
* ENCLOSURE_TO_SWITCH
* LOGICAL_SWITCH_TO_LOGICAL_UPLINK
* SWITCH_TO_LOGICAL_SWITCH
* SERVER_PROFILES_TO_FC_NETWORKS
* SERVER_PROFILES_TO_NETWORKS
* STORAGE_SYSTEM_TO_STORAGE_POOL
* FC_NETWORK_TO_STORAGE_SYSTEM
* STORAGE_POOL_TO_VOLUME
* STORAGE_POOL_TO_VOLUME_TEMPLATE
Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Child <Object>

Aliases [-EndObjUri]

The uri of an object which is the end of an association

Aliases None
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Count <Int32>

The maximum number of association index entries to be returned. Defaults to 50.

Aliases None
Required? true
Position? 3
Default value 50
Accept pipeline input? false
Accept wildcard characters?    False

-Parent <Object>

Aliases [-StartObjUri]

The uri of an object which is the start of an association

Aliases None
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Start <Int32>

The index of the first association index to be returned, defaults to 0.

Aliases None
Required? true
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

System.Management.Automation.PSCustomObject

Resource Object to find associated resources

Return Values

System.Management.Automation.PSCustomObject

Single association index entry

System.Collections.ArrayList

Multiple association index entries The matching index entries

Examples

 -------------------------- EXAMPLE 1 --------------------------

Search-HPOVAssociations BLADE_TO_PROFILE -endObjUri /rest/server-profiles/1ab4c031-a631-4288-9e7d-3cfca24d30cf

Return any BLADE_TO_PROFILE associations that have an end object with the specified uri

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️