Skip to content

Storage Classes

albert.resources.storage_classes

StorageCompatibilityMatrix

Bases: BaseAlbertModel

Show JSON schema:
{
  "properties": {
    "Allowed": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allowed"
    },
    "NotAllowed": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notallowed"
    },
    "Warnings": {
      "anyOf": [
        {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warnings"
    }
  },
  "title": "StorageCompatibilityMatrix",
  "type": "object"
}

Fields:

allowed

allowed: list[str] | None

not_allowed

not_allowed: list[str] | None

warnings

warnings: dict[str, list[str]] | None

StorageClass

Bases: BaseAlbertModel

Show JSON schema:
{
  "$defs": {
    "StorageCompatibilityMatrix": {
      "properties": {
        "Allowed": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Allowed"
        },
        "NotAllowed": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Notallowed"
        },
        "Warnings": {
          "anyOf": [
            {
              "additionalProperties": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Warnings"
        }
      },
      "title": "StorageCompatibilityMatrix",
      "type": "object"
    }
  },
  "properties": {
    "storageClassName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Storageclassname"
    },
    "storageClassNumber": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Storageclassnumber"
    },
    "StorageCompatibility": {
      "anyOf": [
        {
          "$ref": "#/$defs/StorageCompatibilityMatrix"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "title": "StorageClass",
  "type": "object"
}

Fields:

storage_class_name

storage_class_name: str | None = None

storage_class_number

storage_class_number: str | None = None

storage_compatibility

storage_compatibility: StorageCompatibilityMatrix | None = (
    None
)