Skip to content

Search-OVAssociations

Syntax

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

Description

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

Examples

Example 1

Search-OVAssociations -AssociationName server_profiles_to_server_hardware -Parent (Get-OVServerProfile -Name "My Profile1")

Return server_profiles_to_server_hardware that have an association with the specified object.

Parameters

-AssociationName <String>

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

  • server_profiles_to_server_hardware
  • 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? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Parent <Object>

The object which is the parent resource of an association.

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

-Child <Object>

The object which is the child resource of an association.

Aliases None
Required? True
Position? Named
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? Named
Default value 50
Accept pipeline input? false
Accept wildcard characters? False

-Start <Int32>

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

Aliases None
Required? True
Position? Named
Default value 0
Accept pipeline input? false
Accept wildcard characters? False

-ApplianceConnection <Object>

Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).

Aliases Appliance
Required? True
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

Resource Object to find associated resources

Return Values

Single association index entry

Multiple association index entries

The matching index entries