Spanner/src/SpannerClient.php
public function instanceConfigurations(array $options = [])
    {
        $resultLimit = $this->pluck('resultLimit', $options, false) ?: 0;

        return new ItemIterator(
            new PageIterator(
                function (array $config) {
                    return $this->instanceConfiguration($config['name'], $config);
                },
                [$this->connection, 'listInstanceConfigs'],
                ['projectId' => InstanceAdminClient::projectName($this->projectId)] + $options,
                [
                    'itemsKey' => 'instanceConfigs',
                    'resultLimit' => $resultLimit
                ]
            )
        );
    }
public function instanceConfigurations(array $options = [])
    {
        $resultLimit = $this->pluck('resultLimit', $options, false) ?: 0;

        return new ItemIterator(
            new PageIterator(
                function (array $config) {
                    return $this->instanceConfiguration($config['name'], $config);
                },
                [$this->connection, 'listInstanceConfigs'],
                ['projectId' => InstanceAdminClient::projectName($this->projectId)] + $options,
                [
                    'itemsKey' => 'instanceConfigs',
                    'resultLimit' => $resultLimit
                ]
            )
        );
    }
public function instanceConfigurations ( array $ options = [ ] ) { $ resultLimit = $ this -> pluck ( 'resultLimit' , $ options , false ) ? : 0 ; return new ItemIterator ( new PageIterator ( function ( array $ config ) { return $ this -> instanceConfiguration ( $ config [ 'name' ] , $ config ) ; } , [ $ this -> connection , 'listInstanceConfigs' ] , [ 'projectId' => InstanceAdminClient :: projectName ( $ this -> projectId ) ] + $ options , [ 'itemsKey' => 'instanceConfigs' , 'resultLimit' => $ resultLimit ] ) ) ; }
List all available instance configurations.

Example:
```
$configurations = $spanner->instanceConfigurations();
```

@codingStandardsIgnoreStart
@see https://cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#google.spanner.admin.instance.v1.ListInstanceConfigsRequest ListInstanceConfigsRequest
@codingStandardsIgnoreEnd

@param array $options [optional] {
Configuration Options.

@type int $pageSize Maximum number of results to return per
request.
@type int $resultLimit Limit the number of results returned in total.
**Defaults to** `0` (return all results).
@type string $pageToken A previously-returned page token used to
resume the loading of results from a specific point.
}
@return ItemIterator<InstanceConfiguration>
List all available instance configurations .