NetApp API . projects . locations . storagePools . backupConfigs

Instance Methods

close()

Close httplib2 connections.

list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

Lists backup configurations for all volumes in an ONTAP-mode Storage Pool.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists backup configurations for all volumes in an ONTAP-mode Storage Pool.

Args:
  parent: string, Required. The ONTAP StoragePool for which to retrieve backup configuration information, in the format `projects/{project}/locations/{location}/storagePools/{storage_pool}`. (required)
  filter: string, Optional. The standard list filter.
  orderBy: string, Optional. Sort results. Supported values are "volume_id" or ""
  pageSize: integer, Optional. The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default of 50 will be used.
  pageToken: string, Optional. The next_page_token value to use if there are additional results to retrieve for this list request.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Message for response to listing BackupConfigs in an ONTAP StoragePool.
  "nextPageToken": "A String", # The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
  "unreachable": [ # Unordered list. Locations that could not be reached.
    "A String",
  ],
  "volumeBackupConfigs": [ # A list of backup configurations for volumes in the pool.
    { # Backup configuration for a volume in a pool.
      "backupConfig": { # BackupConfig contains backup related config on a volume. # Backup configuration for the volume.
        "backupChainBytes": "A String", # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size).
        "backupPolicies": [ # Optional. When specified, schedule backups will be created based on the policy configuration.
          "A String",
        ],
        "backupVault": "A String", # Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
        "scheduledBackupEnabled": True or False, # Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.
      },
      "volumeUuid": "A String", # Provides the Ontap UUID of the volume within the pool.
    },
  ],
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.