---
name: "NetApp::Aggregate::Plex"
section: "3pm"
platform: "linux"
package: "libnetapp-perl"
version: "500.002-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/NetApp::Aggregate::Plex"
---

# NetApp::Aggregate::Plex(3pm)

## NAME

NetApp::Aggregate::Plex -- OO Class for representing NetApp plexes

## SYNOPSIS

```
    use NetApp::Filer;
    use NetApp::Aggregate;
    my $aggregate       = $filer->get_aggregate( $name );
    my $plex            = $aggregate->get_plex;
    my @raidgroups      = $plex->get_raidgroups;
```

## DESCRIPTION

This class is used to encapsulate a NetApp plex, and provide access to the name and states of the plex.

## METHODS

### get\_name

Returns the name of the plex as a string.

### get\_raidgroups

Returns a list of NetApp::Aggregate::RAIDGroup objects, one for each RAIDGroup in the Plex.

### get\_states

Returns a list of strings, each of which represents a single state for the plex.

### get\_state( $state )

Returns true if the plex has the given state, false otherwise.
