NetApp v1 API - Class NetApp.NetAppBase (1.0.0)

[BindServiceMethod(typeof(NetApp), "BindService")]
public abstract class NetApp.NetAppBase

Reference documentation and code samples for the NetApp v1 API class NetApp.NetAppBase.

Base class for server-side implementations of NetApp

Inheritance

object > NetApp.NetAppBase

Namespace

Google.Cloud.NetApp.V1

Assembly

Google.Cloud.NetApp.V1.dll

Methods

CreateActiveDirectory(CreateActiveDirectoryRequest, ServerCallContext)

public virtual Task<Operation> CreateActiveDirectory(CreateActiveDirectoryRequest request, ServerCallContext context)

CreateActiveDirectory Creates the active directory specified in the request.

Parameters
NameDescription
requestCreateActiveDirectoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateBackup(CreateBackupRequest, ServerCallContext)

public virtual Task<Operation> CreateBackup(CreateBackupRequest request, ServerCallContext context)

Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there'll be a new snapshot taken to initiate the backup creation.

Parameters
NameDescription
requestCreateBackupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateBackupPolicy(CreateBackupPolicyRequest, ServerCallContext)

public virtual Task<Operation> CreateBackupPolicy(CreateBackupPolicyRequest request, ServerCallContext context)

Creates new backup policy

Parameters
NameDescription
requestCreateBackupPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateBackupVault(CreateBackupVaultRequest, ServerCallContext)

public virtual Task<Operation> CreateBackupVault(CreateBackupVaultRequest request, ServerCallContext context)

Creates new backup vault

Parameters
NameDescription
requestCreateBackupVaultRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateKmsConfig(CreateKmsConfigRequest, ServerCallContext)

public virtual Task<Operation> CreateKmsConfig(CreateKmsConfigRequest request, ServerCallContext context)

Creates a new KMS config.

Parameters
NameDescription
requestCreateKmsConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateReplication(CreateReplicationRequest, ServerCallContext)

public virtual Task<Operation> CreateReplication(CreateReplicationRequest request, ServerCallContext context)

Create a new replication for a volume.

Parameters
NameDescription
requestCreateReplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateSnapshot(CreateSnapshotRequest, ServerCallContext)

public virtual Task<Operation> CreateSnapshot(CreateSnapshotRequest request, ServerCallContext context)

Create a new snapshot for a volume.

Parameters
NameDescription
requestCreateSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateStoragePool(CreateStoragePoolRequest, ServerCallContext)

public virtual Task<Operation> CreateStoragePool(CreateStoragePoolRequest request, ServerCallContext context)

Creates a new storage pool.

Parameters
NameDescription
requestCreateStoragePoolRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateVolume(CreateVolumeRequest, ServerCallContext)

public virtual Task<Operation> CreateVolume(CreateVolumeRequest request, ServerCallContext context)

Creates a new Volume in a given project and location.

Parameters
NameDescription
requestCreateVolumeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteActiveDirectory(DeleteActiveDirectoryRequest, ServerCallContext)

public virtual Task<Operation> DeleteActiveDirectory(DeleteActiveDirectoryRequest request, ServerCallContext context)

Delete the active directory specified in the request.

Parameters
NameDescription
requestDeleteActiveDirectoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteBackup(DeleteBackupRequest, ServerCallContext)

public virtual Task<Operation> DeleteBackup(DeleteBackupRequest request, ServerCallContext context)

Warning! This operation will permanently delete the backup.

Parameters
NameDescription
requestDeleteBackupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteBackupPolicy(DeleteBackupPolicyRequest, ServerCallContext)

public virtual Task<Operation> DeleteBackupPolicy(DeleteBackupPolicyRequest request, ServerCallContext context)

Warning! This operation will permanently delete the backup policy.

Parameters
NameDescription
requestDeleteBackupPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteBackupVault(DeleteBackupVaultRequest, ServerCallContext)

public virtual Task<Operation> DeleteBackupVault(DeleteBackupVaultRequest request, ServerCallContext context)

Warning! This operation will permanently delete the backup vault.

Parameters
NameDescription
requestDeleteBackupVaultRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteKmsConfig(DeleteKmsConfigRequest, ServerCallContext)

public virtual Task<Operation> DeleteKmsConfig(DeleteKmsConfigRequest request, ServerCallContext context)

Warning! This operation will permanently delete the Kms config.

Parameters
NameDescription
requestDeleteKmsConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteReplication(DeleteReplicationRequest, ServerCallContext)

public virtual Task<Operation> DeleteReplication(DeleteReplicationRequest request, ServerCallContext context)

Deletes a replication.

Parameters
NameDescription
requestDeleteReplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteSnapshot(DeleteSnapshotRequest, ServerCallContext)

public virtual Task<Operation> DeleteSnapshot(DeleteSnapshotRequest request, ServerCallContext context)

Deletes a snapshot.

Parameters
NameDescription
requestDeleteSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteStoragePool(DeleteStoragePoolRequest, ServerCallContext)

public virtual Task<Operation> DeleteStoragePool(DeleteStoragePoolRequest request, ServerCallContext context)

Warning! This operation will permanently delete the storage pool.

Parameters
NameDescription
requestDeleteStoragePoolRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteVolume(DeleteVolumeRequest, ServerCallContext)

public virtual Task<Operation> DeleteVolume(DeleteVolumeRequest request, ServerCallContext context)

Deletes a single Volume.

Parameters
NameDescription
requestDeleteVolumeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

EncryptVolumes(EncryptVolumesRequest, ServerCallContext)

public virtual Task<Operation> EncryptVolumes(EncryptVolumesRequest request, ServerCallContext context)

Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.

Parameters
NameDescription
requestEncryptVolumesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetActiveDirectory(GetActiveDirectoryRequest, ServerCallContext)

public virtual Task<ActiveDirectory> GetActiveDirectory(GetActiveDirectoryRequest request, ServerCallContext context)

Describes a specified active directory.

Parameters
NameDescription
requestGetActiveDirectoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskActiveDirectory

The response to send back to the client (wrapped by a task).

GetBackup(GetBackupRequest, ServerCallContext)

public virtual Task<Backup> GetBackup(GetBackupRequest request, ServerCallContext context)

Returns the description of the specified backup

Parameters
NameDescription
requestGetBackupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskBackup

The response to send back to the client (wrapped by a task).

GetBackupPolicy(GetBackupPolicyRequest, ServerCallContext)

public virtual Task<BackupPolicy> GetBackupPolicy(GetBackupPolicyRequest request, ServerCallContext context)

Returns the description of the specified backup policy by backup_policy_id.

Parameters
NameDescription
requestGetBackupPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskBackupPolicy

The response to send back to the client (wrapped by a task).

GetBackupVault(GetBackupVaultRequest, ServerCallContext)

public virtual Task<BackupVault> GetBackupVault(GetBackupVaultRequest request, ServerCallContext context)

Returns the description of the specified backup vault

Parameters
NameDescription
requestGetBackupVaultRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskBackupVault

The response to send back to the client (wrapped by a task).

GetKmsConfig(GetKmsConfigRequest, ServerCallContext)

public virtual Task<KmsConfig> GetKmsConfig(GetKmsConfigRequest request, ServerCallContext context)

Returns the description of the specified KMS config by kms_config_id.

Parameters
NameDescription
requestGetKmsConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskKmsConfig

The response to send back to the client (wrapped by a task).

GetReplication(GetReplicationRequest, ServerCallContext)

public virtual Task<Replication> GetReplication(GetReplicationRequest request, ServerCallContext context)

Describe a replication for a volume.

Parameters
NameDescription
requestGetReplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskReplication

The response to send back to the client (wrapped by a task).

GetSnapshot(GetSnapshotRequest, ServerCallContext)

public virtual Task<Snapshot> GetSnapshot(GetSnapshotRequest request, ServerCallContext context)

Describe a snapshot for a volume.

Parameters
NameDescription
requestGetSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskSnapshot

The response to send back to the client (wrapped by a task).

GetStoragePool(GetStoragePoolRequest, ServerCallContext)

public virtual Task<StoragePool> GetStoragePool(GetStoragePoolRequest request, ServerCallContext context)

Returns the description of the specified storage pool by poolId.

Parameters
NameDescription
requestGetStoragePoolRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskStoragePool

The response to send back to the client (wrapped by a task).

GetVolume(GetVolumeRequest, ServerCallContext)

public virtual Task<Volume> GetVolume(GetVolumeRequest request, ServerCallContext context)

Gets details of a single Volume.

Parameters
NameDescription
requestGetVolumeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskVolume

The response to send back to the client (wrapped by a task).

ListActiveDirectories(ListActiveDirectoriesRequest, ServerCallContext)

public virtual Task<ListActiveDirectoriesResponse> ListActiveDirectories(ListActiveDirectoriesRequest request, ServerCallContext context)

Lists active directories.

Parameters
NameDescription
requestListActiveDirectoriesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListActiveDirectoriesResponse

The response to send back to the client (wrapped by a task).

ListBackupPolicies(ListBackupPoliciesRequest, ServerCallContext)

public virtual Task<ListBackupPoliciesResponse> ListBackupPolicies(ListBackupPoliciesRequest request, ServerCallContext context)

Returns list of all available backup policies.

Parameters
NameDescription
requestListBackupPoliciesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListBackupPoliciesResponse

The response to send back to the client (wrapped by a task).

ListBackupVaults(ListBackupVaultsRequest, ServerCallContext)

public virtual Task<ListBackupVaultsResponse> ListBackupVaults(ListBackupVaultsRequest request, ServerCallContext context)

Returns list of all available backup vaults.

Parameters
NameDescription
requestListBackupVaultsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListBackupVaultsResponse

The response to send back to the client (wrapped by a task).

ListBackups(ListBackupsRequest, ServerCallContext)

public virtual Task<ListBackupsResponse> ListBackups(ListBackupsRequest request, ServerCallContext context)

Returns descriptions of all backups for a backupVault.

Parameters
NameDescription
requestListBackupsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListBackupsResponse

The response to send back to the client (wrapped by a task).

ListKmsConfigs(ListKmsConfigsRequest, ServerCallContext)

public virtual Task<ListKmsConfigsResponse> ListKmsConfigs(ListKmsConfigsRequest request, ServerCallContext context)

Returns descriptions of all KMS configs owned by the caller.

Parameters
NameDescription
requestListKmsConfigsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListKmsConfigsResponse

The response to send back to the client (wrapped by a task).

ListReplications(ListReplicationsRequest, ServerCallContext)

public virtual Task<ListReplicationsResponse> ListReplications(ListReplicationsRequest request, ServerCallContext context)

Returns descriptions of all replications for a volume.

Parameters
NameDescription
requestListReplicationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListReplicationsResponse

The response to send back to the client (wrapped by a task).

ListSnapshots(ListSnapshotsRequest, ServerCallContext)

public virtual Task<ListSnapshotsResponse> ListSnapshots(ListSnapshotsRequest request, ServerCallContext context)

Returns descriptions of all snapshots for a volume.

Parameters
NameDescription
requestListSnapshotsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListSnapshotsResponse

The response to send back to the client (wrapped by a task).

ListStoragePools(ListStoragePoolsRequest, ServerCallContext)

public virtual Task<ListStoragePoolsResponse> ListStoragePools(ListStoragePoolsRequest request, ServerCallContext context)

Returns descriptions of all storage pools owned by the caller.

Parameters
NameDescription
requestListStoragePoolsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListStoragePoolsResponse

The response to send back to the client (wrapped by a task).

ListVolumes(ListVolumesRequest, ServerCallContext)

public virtual Task<ListVolumesResponse> ListVolumes(ListVolumesRequest request, ServerCallContext context)

Lists Volumes in a given project.

Parameters
NameDescription
requestListVolumesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListVolumesResponse

The response to send back to the client (wrapped by a task).

ResumeReplication(ResumeReplicationRequest, ServerCallContext)

public virtual Task<Operation> ResumeReplication(ResumeReplicationRequest request, ServerCallContext context)

Resume Cross Region Replication.

Parameters
NameDescription
requestResumeReplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

ReverseReplicationDirection(ReverseReplicationDirectionRequest, ServerCallContext)

public virtual Task<Operation> ReverseReplicationDirection(ReverseReplicationDirectionRequest request, ServerCallContext context)

Reverses direction of replication. Source becomes destination and destination becomes source.

Parameters
NameDescription
requestReverseReplicationDirectionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

RevertVolume(RevertVolumeRequest, ServerCallContext)

public virtual Task<Operation> RevertVolume(RevertVolumeRequest request, ServerCallContext context)

Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.

Parameters
NameDescription
requestRevertVolumeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

StopReplication(StopReplicationRequest, ServerCallContext)

public virtual Task<Operation> StopReplication(StopReplicationRequest request, ServerCallContext context)

Stop Cross Region Replication.

Parameters
NameDescription
requestStopReplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateActiveDirectory(UpdateActiveDirectoryRequest, ServerCallContext)

public virtual Task<Operation> UpdateActiveDirectory(UpdateActiveDirectoryRequest request, ServerCallContext context)

Update the parameters of an active directories.

Parameters
NameDescription
requestUpdateActiveDirectoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateBackup(UpdateBackupRequest, ServerCallContext)

public virtual Task<Operation> UpdateBackup(UpdateBackupRequest request, ServerCallContext context)

Update backup with full spec.

Parameters
NameDescription
requestUpdateBackupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateBackupPolicy(UpdateBackupPolicyRequest, ServerCallContext)

public virtual Task<Operation> UpdateBackupPolicy(UpdateBackupPolicyRequest request, ServerCallContext context)

Updates settings of a specific backup policy.

Parameters
NameDescription
requestUpdateBackupPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateBackupVault(UpdateBackupVaultRequest, ServerCallContext)

public virtual Task<Operation> UpdateBackupVault(UpdateBackupVaultRequest request, ServerCallContext context)

Updates the settings of a specific backup vault.

Parameters
NameDescription
requestUpdateBackupVaultRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateKmsConfig(UpdateKmsConfigRequest, ServerCallContext)

public virtual Task<Operation> UpdateKmsConfig(UpdateKmsConfigRequest request, ServerCallContext context)

Updates the Kms config properties with the full spec

Parameters
NameDescription
requestUpdateKmsConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateReplication(UpdateReplicationRequest, ServerCallContext)

public virtual Task<Operation> UpdateReplication(UpdateReplicationRequest request, ServerCallContext context)

Updates the settings of a specific replication.

Parameters
NameDescription
requestUpdateReplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateSnapshot(UpdateSnapshotRequest, ServerCallContext)

public virtual Task<Operation> UpdateSnapshot(UpdateSnapshotRequest request, ServerCallContext context)

Updates the settings of a specific snapshot.

Parameters
NameDescription
requestUpdateSnapshotRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateStoragePool(UpdateStoragePoolRequest, ServerCallContext)

public virtual Task<Operation> UpdateStoragePool(UpdateStoragePoolRequest request, ServerCallContext context)

Updates the storage pool properties with the full spec

Parameters
NameDescription
requestUpdateStoragePoolRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateVolume(UpdateVolumeRequest, ServerCallContext)

public virtual Task<Operation> UpdateVolume(UpdateVolumeRequest request, ServerCallContext context)

Updates the parameters of a single Volume.

Parameters
NameDescription
requestUpdateVolumeRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

VerifyKmsConfig(VerifyKmsConfigRequest, ServerCallContext)

public virtual Task<VerifyKmsConfigResponse> VerifyKmsConfig(VerifyKmsConfigRequest request, ServerCallContext context)

Verifies KMS config reachability.

Parameters
NameDescription
requestVerifyKmsConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskVerifyKmsConfigResponse

The response to send back to the client (wrapped by a task).