Interface NetAppGrpc.AsyncService (0.34.0)

public static interface NetAppGrpc.AsyncService

NetApp Files Google Cloud Service

Methods

createActiveDirectory(CreateActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

public default void createActiveDirectory(CreateActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

CreateActiveDirectory Creates the active directory specified in the request.

Parameters
Name Description
request CreateActiveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)

public default void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)

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
Name Description
request CreateBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackupPolicy(CreateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

public default void createBackupPolicy(CreateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

Creates new backup policy

Parameters
Name Description
request CreateBackupPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public default void createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Creates new backup vault

Parameters
Name Description
request CreateBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createKmsConfig(CreateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

public default void createKmsConfig(CreateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

Creates a new KMS config.

Parameters
Name Description
request CreateKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createReplication(CreateReplicationRequest request, StreamObserver<Operation> responseObserver)

public default void createReplication(CreateReplicationRequest request, StreamObserver<Operation> responseObserver)

Create a new replication for a volume.

Parameters
Name Description
request CreateReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createSnapshot(CreateSnapshotRequest request, StreamObserver<Operation> responseObserver)

public default void createSnapshot(CreateSnapshotRequest request, StreamObserver<Operation> responseObserver)

Create a new snapshot for a volume.

Parameters
Name Description
request CreateSnapshotRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createStoragePool(CreateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

public default void createStoragePool(CreateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

Creates a new storage pool.

Parameters
Name Description
request CreateStoragePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createVolume(CreateVolumeRequest request, StreamObserver<Operation> responseObserver)

public default void createVolume(CreateVolumeRequest request, StreamObserver<Operation> responseObserver)

Creates a new Volume in a given project and location.

Parameters
Name Description
request CreateVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteActiveDirectory(DeleteActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

public default void deleteActiveDirectory(DeleteActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

Delete the active directory specified in the request.

Parameters
Name Description
request DeleteActiveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

public default void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the backup.

Parameters
Name Description
request DeleteBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackupPolicy(DeleteBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

public default void deleteBackupPolicy(DeleteBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the backup policy.

Parameters
Name Description
request DeleteBackupPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackupVault(DeleteBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public default void deleteBackupVault(DeleteBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the backup vault.

Parameters
Name Description
request DeleteBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteKmsConfig(DeleteKmsConfigRequest request, StreamObserver<Operation> responseObserver)

public default void deleteKmsConfig(DeleteKmsConfigRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the Kms config.

Parameters
Name Description
request DeleteKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteReplication(DeleteReplicationRequest request, StreamObserver<Operation> responseObserver)

public default void deleteReplication(DeleteReplicationRequest request, StreamObserver<Operation> responseObserver)

Deletes a replication.

Parameters
Name Description
request DeleteReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Operation> responseObserver)

public default void deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Operation> responseObserver)

Deletes a snapshot.

Parameters
Name Description
request DeleteSnapshotRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteStoragePool(DeleteStoragePoolRequest request, StreamObserver<Operation> responseObserver)

public default void deleteStoragePool(DeleteStoragePoolRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the storage pool.

Parameters
Name Description
request DeleteStoragePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteVolume(DeleteVolumeRequest request, StreamObserver<Operation> responseObserver)

public default void deleteVolume(DeleteVolumeRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Volume.

Parameters
Name Description
request DeleteVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

encryptVolumes(EncryptVolumesRequest request, StreamObserver<Operation> responseObserver)

public default void encryptVolumes(EncryptVolumesRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request EncryptVolumesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

establishPeering(EstablishPeeringRequest request, StreamObserver<Operation> responseObserver)

public default void establishPeering(EstablishPeeringRequest request, StreamObserver<Operation> responseObserver)

Establish replication peering.

Parameters
Name Description
request EstablishPeeringRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getActiveDirectory(GetActiveDirectoryRequest request, StreamObserver<ActiveDirectory> responseObserver)

public default void getActiveDirectory(GetActiveDirectoryRequest request, StreamObserver<ActiveDirectory> responseObserver)

Describes a specified active directory.

Parameters
Name Description
request GetActiveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<ActiveDirectory>

getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

public default void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

Returns the description of the specified backup

Parameters
Name Description
request GetBackupRequest
responseObserver io.grpc.stub.StreamObserver<Backup>

getBackupPolicy(GetBackupPolicyRequest request, StreamObserver<BackupPolicy> responseObserver)

public default void getBackupPolicy(GetBackupPolicyRequest request, StreamObserver<BackupPolicy> responseObserver)

Returns the description of the specified backup policy by backup_policy_id.

Parameters
Name Description
request GetBackupPolicyRequest
responseObserver io.grpc.stub.StreamObserver<BackupPolicy>

getBackupVault(GetBackupVaultRequest request, StreamObserver<BackupVault> responseObserver)

public default void getBackupVault(GetBackupVaultRequest request, StreamObserver<BackupVault> responseObserver)

Returns the description of the specified backup vault

Parameters
Name Description
request GetBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<BackupVault>

getKmsConfig(GetKmsConfigRequest request, StreamObserver<KmsConfig> responseObserver)

public default void getKmsConfig(GetKmsConfigRequest request, StreamObserver<KmsConfig> responseObserver)

Returns the description of the specified KMS config by kms_config_id.

Parameters
Name Description
request GetKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<KmsConfig>

getReplication(GetReplicationRequest request, StreamObserver<Replication> responseObserver)

public default void getReplication(GetReplicationRequest request, StreamObserver<Replication> responseObserver)

Describe a replication for a volume.

Parameters
Name Description
request GetReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Replication>

getSnapshot(GetSnapshotRequest request, StreamObserver<Snapshot> responseObserver)

public default void getSnapshot(GetSnapshotRequest request, StreamObserver<Snapshot> responseObserver)

Describe a snapshot for a volume.

Parameters
Name Description
request GetSnapshotRequest
responseObserver io.grpc.stub.StreamObserver<Snapshot>

getStoragePool(GetStoragePoolRequest request, StreamObserver<StoragePool> responseObserver)

public default void getStoragePool(GetStoragePoolRequest request, StreamObserver<StoragePool> responseObserver)

Returns the description of the specified storage pool by poolId.

Parameters
Name Description
request GetStoragePoolRequest
responseObserver io.grpc.stub.StreamObserver<StoragePool>

getVolume(GetVolumeRequest request, StreamObserver<Volume> responseObserver)

public default void getVolume(GetVolumeRequest request, StreamObserver<Volume> responseObserver)

Gets details of a single Volume.

Parameters
Name Description
request GetVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Volume>

listActiveDirectories(ListActiveDirectoriesRequest request, StreamObserver<ListActiveDirectoriesResponse> responseObserver)

public default void listActiveDirectories(ListActiveDirectoriesRequest request, StreamObserver<ListActiveDirectoriesResponse> responseObserver)

Lists active directories.

Parameters
Name Description
request ListActiveDirectoriesRequest
responseObserver io.grpc.stub.StreamObserver<ListActiveDirectoriesResponse>

listBackupPolicies(ListBackupPoliciesRequest request, StreamObserver<ListBackupPoliciesResponse> responseObserver)

public default void listBackupPolicies(ListBackupPoliciesRequest request, StreamObserver<ListBackupPoliciesResponse> responseObserver)

Returns list of all available backup policies.

Parameters
Name Description
request ListBackupPoliciesRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupPoliciesResponse>

listBackupVaults(ListBackupVaultsRequest request, StreamObserver<ListBackupVaultsResponse> responseObserver)

public default void listBackupVaults(ListBackupVaultsRequest request, StreamObserver<ListBackupVaultsResponse> responseObserver)

Returns list of all available backup vaults.

Parameters
Name Description
request ListBackupVaultsRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupVaultsResponse>

listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

public default void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

Returns descriptions of all backups for a backupVault.

Parameters
Name Description
request ListBackupsRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupsResponse>

listKmsConfigs(ListKmsConfigsRequest request, StreamObserver<ListKmsConfigsResponse> responseObserver)

public default void listKmsConfigs(ListKmsConfigsRequest request, StreamObserver<ListKmsConfigsResponse> responseObserver)

Returns descriptions of all KMS configs owned by the caller.

Parameters
Name Description
request ListKmsConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListKmsConfigsResponse>

listReplications(ListReplicationsRequest request, StreamObserver<ListReplicationsResponse> responseObserver)

public default void listReplications(ListReplicationsRequest request, StreamObserver<ListReplicationsResponse> responseObserver)

Returns descriptions of all replications for a volume.

Parameters
Name Description
request ListReplicationsRequest
responseObserver io.grpc.stub.StreamObserver<ListReplicationsResponse>

listSnapshots(ListSnapshotsRequest request, StreamObserver<ListSnapshotsResponse> responseObserver)

public default void listSnapshots(ListSnapshotsRequest request, StreamObserver<ListSnapshotsResponse> responseObserver)

Returns descriptions of all snapshots for a volume.

Parameters
Name Description
request ListSnapshotsRequest
responseObserver io.grpc.stub.StreamObserver<ListSnapshotsResponse>

listStoragePools(ListStoragePoolsRequest request, StreamObserver<ListStoragePoolsResponse> responseObserver)

public default void listStoragePools(ListStoragePoolsRequest request, StreamObserver<ListStoragePoolsResponse> responseObserver)

Returns descriptions of all storage pools owned by the caller.

Parameters
Name Description
request ListStoragePoolsRequest
responseObserver io.grpc.stub.StreamObserver<ListStoragePoolsResponse>

listVolumes(ListVolumesRequest request, StreamObserver<ListVolumesResponse> responseObserver)

public default void listVolumes(ListVolumesRequest request, StreamObserver<ListVolumesResponse> responseObserver)

Lists Volumes in a given project.

Parameters
Name Description
request ListVolumesRequest
responseObserver io.grpc.stub.StreamObserver<ListVolumesResponse>

resumeReplication(ResumeReplicationRequest request, StreamObserver<Operation> responseObserver)

public default void resumeReplication(ResumeReplicationRequest request, StreamObserver<Operation> responseObserver)

Resume Cross Region Replication.

Parameters
Name Description
request ResumeReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

reverseReplicationDirection(ReverseReplicationDirectionRequest request, StreamObserver<Operation> responseObserver)

public default void reverseReplicationDirection(ReverseReplicationDirectionRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request ReverseReplicationDirectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

revertVolume(RevertVolumeRequest request, StreamObserver<Operation> responseObserver)

public default void revertVolume(RevertVolumeRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request RevertVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

stopReplication(StopReplicationRequest request, StreamObserver<Operation> responseObserver)

public default void stopReplication(StopReplicationRequest request, StreamObserver<Operation> responseObserver)

Stop Cross Region Replication.

Parameters
Name Description
request StopReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

switchActiveReplicaZone(SwitchActiveReplicaZoneRequest request, StreamObserver<Operation> responseObserver)

public default void switchActiveReplicaZone(SwitchActiveReplicaZoneRequest request, StreamObserver<Operation> responseObserver)

This operation will switch the active/replica zone for a regional storagePool.

Parameters
Name Description
request SwitchActiveReplicaZoneRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

syncReplication(SyncReplicationRequest request, StreamObserver<Operation> responseObserver)

public default void syncReplication(SyncReplicationRequest request, StreamObserver<Operation> responseObserver)

Syncs the replication. This will invoke one time volume data transfer from source to destination.

Parameters
Name Description
request SyncReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateActiveDirectory(UpdateActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

public default void updateActiveDirectory(UpdateActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

Update the parameters of an active directories.

Parameters
Name Description
request UpdateActiveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

public default void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

Update backup with full spec.

Parameters
Name Description
request UpdateBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateBackupPolicy(UpdateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

public default void updateBackupPolicy(UpdateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

Updates settings of a specific backup policy.

Parameters
Name Description
request UpdateBackupPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateBackupVault(UpdateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public default void updateBackupVault(UpdateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a specific backup vault.

Parameters
Name Description
request UpdateBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateKmsConfig(UpdateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

public default void updateKmsConfig(UpdateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

Updates the Kms config properties with the full spec

Parameters
Name Description
request UpdateKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateReplication(UpdateReplicationRequest request, StreamObserver<Operation> responseObserver)

public default void updateReplication(UpdateReplicationRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a specific replication.

Parameters
Name Description
request UpdateReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateSnapshot(UpdateSnapshotRequest request, StreamObserver<Operation> responseObserver)

public default void updateSnapshot(UpdateSnapshotRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a specific snapshot.

Parameters
Name Description
request UpdateSnapshotRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateStoragePool(UpdateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

public default void updateStoragePool(UpdateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

Updates the storage pool properties with the full spec

Parameters
Name Description
request UpdateStoragePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateVolume(UpdateVolumeRequest request, StreamObserver<Operation> responseObserver)

public default void updateVolume(UpdateVolumeRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Volume.

Parameters
Name Description
request UpdateVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

verifyKmsConfig(VerifyKmsConfigRequest request, StreamObserver<VerifyKmsConfigResponse> responseObserver)

public default void verifyKmsConfig(VerifyKmsConfigRequest request, StreamObserver<VerifyKmsConfigResponse> responseObserver)

Verifies KMS config reachability.

Parameters
Name Description
request VerifyKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<VerifyKmsConfigResponse>