Tool: list_backup_vaults
List backup vaults in a given project and location.
The following sample demonstrates how to use curl
to invoke the list_backup_vaults
MCP tool.
| Curl Request |
|---|
curl --location 'https://netapp.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "list_backup_vaults", "arguments": { // provide these details according to the tool' s MCP specification } } , "jsonrpc" : "2.0" , "id" : 1 } ' |
Input Schema
ListBackupVaultsRequest lists backupVaults.
ListBackupVaultsRequest
| JSON representation |
|---|
{ "parent" : string , "pageSize" : integer , "pageToken" : string , "orderBy" : string , "filter" : string } |
| Fields | |
|---|---|
parent
|
Required. The location for which to retrieve backupVault information, in the format |
pageSize
|
The maximum number of items to return. |
pageToken
|
The next_page_token value to use if there are additional results to retrieve for this list request. |
orderBy
|
Sort results. Supported values are "name", "name desc" or "" (unsorted). |
filter
|
List filter. |
Output Schema
ListBackupVaultsResponse is the result of ListBackupVaultsRequest.
ListBackupVaultsResponse
| JSON representation |
|---|
{
"backupVaults"
:
[
{
object (
|
| Fields | |
|---|---|
backupVaults[]
|
A list of backupVaults in the project for the specified location. |
nextPageToken
|
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list. |
unreachable[]
|
Locations that could not be reached. |
BackupVault
| JSON representation |
|---|
{ "name" : string , "state" : enum ( |
| Fields | |
|---|---|
name
|
Identifier. The resource name of the backup vault. Format: |
state
|
Output only. The backup vault state. |
createTime
|
Output only. Create time of the backup vault. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
description
|
Description of the backup vault. |
labels
|
Resource labels to represent user provided metadata. An object containing a list of |
backupVaultType
|
Optional. Type of backup vault to be created. Default is IN_REGION. |
sourceRegion
|
Output only. Region in which the backup vault is created. Format: |
backupRegion
|
Optional. Region where the backups are stored. Format: |
sourceBackupVault
|
Output only. Name of the Backup vault created in source region. Format: |
destinationBackupVault
|
Output only. Name of the Backup vault created in backup region. Format: |
backupRetentionPolicy
|
Optional. Backup retention policy defining the retention of backups. |
kmsConfig
|
Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: |
encryptionState
|
Output only. Field indicating encryption state of CMEK backups. |
backupsCryptoKeyVersion
|
Output only. The crypto key version used to encrypt the backup vault. Format: |
crossProjectVault
|
Optional. Indicates if the backup vault is a cross project vault. |
Timestamp
| JSON representation |
|---|
{ "seconds" : string , "nanos" : integer } |
| Fields | |
|---|---|
seconds
|
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be between -62135596800 and 253402300799 inclusive (which corresponds to 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). |
nanos
|
Non-negative fractions of a second at nanosecond resolution. This field is the nanosecond portion of the duration, not an alternative to seconds. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be between 0 and 999,999,999 inclusive. |
LabelsEntry
| JSON representation |
|---|
{ "key" : string , "value" : string } |
| Fields | |
|---|---|
key
|
|
value
|
|
BackupRetentionPolicy
| JSON representation |
|---|
{ "backupMinimumEnforcedRetentionDays" : integer , "dailyBackupImmutable" : boolean , "weeklyBackupImmutable" : boolean , "monthlyBackupImmutable" : boolean , "manualBackupImmutable" : boolean } |
| Fields | |
|---|---|
backupMinimumEnforcedRetentionDays
|
Required. Minimum retention duration in days for backups in the backup vault. |
dailyBackupImmutable
|
Optional. Indicates if the daily backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true. |
weeklyBackupImmutable
|
Optional. Indicates if the weekly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true. |
monthlyBackupImmutable
|
Optional. Indicates if the monthly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true. |
manualBackupImmutable
|
Optional. Indicates if the manual backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true. |
State
The Backup Vault States
| Enums | |
|---|---|
STATE_UNSPECIFIED
|
State not set. |
CREATING
|
BackupVault is being created. |
READY
|
BackupVault is available for use. |
DELETING
|
BackupVault is being deleted. |
ERROR
|
BackupVault is not valid and cannot be used. |
UPDATING
|
BackupVault is being updated. |
BackupVaultType
Backup Vault Type.
| Enums | |
|---|---|
BACKUP_VAULT_TYPE_UNSPECIFIED
|
BackupVault type not set. |
IN_REGION
|
BackupVault type is IN_REGION. |
CROSS_REGION
|
BackupVault type is CROSS_REGION. |
EncryptionState
Encryption state of customer-managed encryption keys (CMEK) backups.
| Enums | |
|---|---|
ENCRYPTION_STATE_UNSPECIFIED
|
Encryption state not set. |
ENCRYPTION_STATE_PENDING
|
Encryption state is pending. |
ENCRYPTION_STATE_COMPLETED
|
Encryption is complete. |
ENCRYPTION_STATE_IN_PROGRESS
|
Encryption is in progress. |
ENCRYPTION_STATE_FAILED
|
Encryption has failed. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌

