Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.StoragePoolsResource

The "storagePools" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.StoragePoolsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetAppFiles.v1beta1
Assembly: Google.Apis.NetAppFiles.v1beta1.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

Properties

BackupConfigs

Gets the BackupConfigs resource.

Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.BackupConfigsResource BackupConfigs { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.StoragePoolsResource.BackupConfigsResource

Ontap

Gets the Ontap resource.

Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.OntapResource Ontap { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.StoragePoolsResource.OntapResource

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

RestoreVolume(RestoreVolumeRequest, string)

Restores a backup to an ONTAP-mode volume.

Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.RestoreVolumeRequest RestoreVolume(RestoreVolumeRequest body, string name)
Parameters
Type Name Description
RestoreVolumeRequest body

The body of the request.

string name

Required. The resource name of the ONTAP mode storage pool, in the format of projects/{project}/locations/{location}/storagePools/{storage_pool}

Returns
Type Description
ProjectsResource.LocationsResource.StoragePoolsResource.RestoreVolumeRequest

UpdateBackupConfig(UpdateBackupConfigRequest, string)

Updates the backup configuration for an ONTAP-mode volume.

Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.UpdateBackupConfigRequest UpdateBackupConfig(UpdateBackupConfigRequest body, string name)
Parameters
Type Name Description
UpdateBackupConfigRequest body

The body of the request.

string name

Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

Returns
Type Description
ProjectsResource.LocationsResource.StoragePoolsResource.UpdateBackupConfigRequest

ValidateDirectoryService(ValidateDirectoryServiceRequest, string)

ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.

Declaration
public virtual ProjectsResource.LocationsResource.StoragePoolsResource.ValidateDirectoryServiceRequest ValidateDirectoryService(ValidateDirectoryServiceRequest body, string name)
Parameters
Type Name Description
ValidateDirectoryServiceRequest body

The body of the request.

string name

Required. Name of the storage pool

Returns
Type Description
ProjectsResource.LocationsResource.StoragePoolsResource.ValidateDirectoryServiceRequest
In this article
Back to top Generated by DocFX