Class ProjectsResource.LocationsResource.StoragePoolsResource
The "storagePools" collection of methods.
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class ProjectsResource.LocationsResource.StoragePoolsResource
Constructors
StoragePoolsResource(IClientService)
Constructs a new resource.
Declaration
public StoragePoolsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(StoragePool, string)
Creates a new storage pool.
Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.CreateRequest Create(StoragePool body, string parent)
Parameters
Type | Name | Description |
---|---|---|
StoragePool | body | The body of the request. |
string | parent | Required. Value for parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.StoragePoolsResource.CreateRequest |
Delete(string)
Warning! This operation will permanently delete the storage pool.
Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the storage pool |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.StoragePoolsResource.DeleteRequest |
Get(string)
Returns the description of the specified storage pool by poolId.
Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the storage pool |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.StoragePoolsResource.GetRequest |
List(string)
Returns descriptions of all storage pools owned by the caller.
Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.StoragePoolsResource.ListRequest |
NetAppFilesSwitch(SwitchActiveReplicaZoneRequest, string)
This operation will switch the active/replica zone for a regional storagePool.
Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.NetAppFilesSwitchRequest NetAppFilesSwitch(SwitchActiveReplicaZoneRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
SwitchActiveReplicaZoneRequest | body | The body of the request. |
string | name | Required. Name of the storage pool |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.StoragePoolsResource.NetAppFilesSwitchRequest |
Patch(StoragePool, string)
Updates the storage pool properties with the full spec
Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.PatchRequest Patch(StoragePool body, string name)
Parameters
Type | Name | Description |
---|---|---|
StoragePool | body | The body of the request. |
string | name | Identifier. Name of the storage pool |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.StoragePoolsResource.PatchRequest |