Scaleway · Schema

scaleway.lb.v1.Certificate

AICloud ComputingContainersDatabaseEuropean CloudInfrastructureKubernetesServerlessStorage

Properties

Name Type Description
type string Certificate type (Let's Encrypt or custom).
id string Certificate ID.
common_name string Main domain name of certificate.
subject_alternative_name array Alternative domain names.
fingerprint string Identifier (SHA-1) of the certificate.
not_valid_before string Lower validity bound. (RFC 3339 format)
not_valid_after string Upper validity bound. (RFC 3339 format)
status string Certificate status.
lb object Load Balancer object the certificate is attached to.
name string Certificate name.
created_at string Date on which the certificate was created. (RFC 3339 format)
updated_at string Date on which the certificate was last updated. (RFC 3339 format)
status_details string Additional information about the certificate status (useful in case of certificate generation failure, for example).
View JSON Schema on GitHub

JSON Schema

scaleway-scalewaylbv1certificate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/scaleway.lb.v1.Certificate",
  "title": "scaleway.lb.v1.Certificate",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Certificate type (Let's Encrypt or custom).",
      "enum": [
        "letsencryt",
        "custom",
        "letsencrypt"
      ],
      "default": "letsencryt"
    },
    "id": {
      "type": "string",
      "description": "Certificate ID."
    },
    "common_name": {
      "type": "string",
      "description": "Main domain name of certificate."
    },
    "subject_alternative_name": {
      "type": "array",
      "description": "Alternative domain names.",
      "items": {
        "type": "string"
      }
    },
    "fingerprint": {
      "type": "string",
      "description": "Identifier (SHA-1) of the certificate."
    },
    "not_valid_before": {
      "type": "string",
      "description": "Lower validity bound. (RFC 3339 format)",
      "format": "date-time",
      "example": "2022-03-22T12:34:56.123456Z",
      "nullable": true
    },
    "not_valid_after": {
      "type": "string",
      "description": "Upper validity bound. (RFC 3339 format)",
      "format": "date-time",
      "example": "2022-03-22T12:34:56.123456Z",
      "nullable": true
    },
    "status": {
      "type": "string",
      "description": "Certificate status.",
      "enum": [
        "pending",
        "ready",
        "error"
      ],
      "default": "pending"
    },
    "lb": {
      "type": "object",
      "description": "Load Balancer object the certificate is attached to.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Underlying Instance ID."
        },
        "name": {
          "type": "string",
          "description": "Load Balancer name."
        },
        "description": {
          "type": "string",
          "description": "Load Balancer description."
        },
        "status": {
          "type": "string",
          "description": "Load Balancer status.",
          "enum": [
            "unknown",
            "ready",
            "pending",
            "stopped",
            "error",
            "locked",
            "migrating",
            "to_create",
            "creating",
            "to_delete",
            "deleting"
          ],
          "default": "unknown"
        },
        "instances": {
          "type": "array",
          "description": "List of underlying Instances.",
          "items": {
            "$ref": "#/components/schemas/scaleway.lb.v1.Instance"
          }
        },
        "organization_id": {
          "type": "string",
          "description": "Scaleway Organization ID."
        },
        "project_id": {
          "type": "string",
          "description": "Scaleway Project ID."
        },
        "ip": {
          "type": "array",
          "description": "List of IP addresses attached to the Load Balancer.",
          "items": {
            "$ref": "#/components/schemas/scaleway.lb.v1.Ip"
          }
        },
        "tags": {
          "type": "array",
          "description": "Load Balancer tags.",
          "items": {
            "type": "string"
          }
        },
        "frontend_count": {
          "type": "integer",
          "description": "Number of frontends the Load Balancer has.",
          "format": "int32"
        },
        "backend_count": {
          "type": "integer",
          "description": "Number of backends the Load Balancer has.",
          "format": "int32"
        },
        "type": {
          "type": "string",
          "description": "Load Balancer offer type."
        },
        "subscriber": {
          "type": "object",
          "description": "Subscriber information.",
          "properties": {
            "id": {
              "type": "string",
              "description": "Subscriber ID."
            },
            "name": {
              "type": "string",
              "description": "Subscriber name."
            },
            "email_config": {
              "type": "object",
              "description": "Email address of subscriber.",
              "properties": {
                "email": {
                  "type": "string",
                  "description": "Email address to send alerts to."
                }
              },
              "nullable": true,
              "x-properties-order": [
                "email"
              ],
              "x-one-of": "config"
            },
            "webhook_config": {
              "type": "object",
              "description": "Webhook URI of subscriber.",
              "properties": {
                "uri": {
                  "type": "string",
                  "description": "URI to receive POST requests."
                }
              },
              "nullable": true,
              "x-properties-order": [
                "uri"
              ],
              "x-one-of": "config"
            }
          },
          "x-properties-order": [
            "id",
            "name",
            "email_config",
            "webhook_config"
          ]
        },
        "ssl_compatibility_level": {
          "type": "string",
          "description": "Determines the minimal SSL version which needs to be supported on client side.",
          "enum": [
            "ssl_compatibility_level_unknown",
            "ssl_compatibility_level_intermediate",
            "ssl_compatibility_level_modern",
            "ssl_compatibility_level_old"
          ],
          "default": "ssl_compatibility_level_unknown"
        },
        "created_at": {
          "type": "string",
          "description": "Date on which the Load Balancer was created. (RFC 3339 format)",
          "format": "date-time",
          "example": "2022-03-22T12:34:56.123456Z",
          "nullable": true
        },
        "updated_at": {
          "type": "string",
          "description": "Date on which the Load Balancer was last updated. (RFC 3339 format)",
          "format": "date-time",
          "example": "2022-03-22T12:34:56.123456Z",
          "nullable": true
        },
        "private_network_count": {
          "type": "integer",
          "description": "Number of Private Networks attached to the Load Balancer.",
          "format": "int32"
        },
        "route_count": {
          "type": "integer",
          "description": "Number of routes configured on the Load Balancer.",
          "format": "int32"
        },
        "region": {
          "type": "string",
          "description": "The region the Load Balancer is in.",
          "deprecated": true
        },
        "zone": {
          "type": "string",
          "description": "The zone the Load Balancer is in."
        }
      },
      "x-properties-order": [
        "id",
        "name",
        "description",
        "status",
        "instances",
        "organization_id",
        "project_id",
        "ip",
        "tags",
        "frontend_count",
        "backend_count",
        "type",
        "subscriber",
        "ssl_compatibility_level",
        "created_at",
        "updated_at",
        "private_network_count",
        "route_count",
        "region",
        "zone"
      ]
    },
    "name": {
      "type": "string",
      "description": "Certificate name."
    },
    "created_at": {
      "type": "string",
      "description": "Date on which the certificate was created. (RFC 3339 format)",
      "format": "date-time",
      "example": "2022-03-22T12:34:56.123456Z",
      "nullable": true
    },
    "updated_at": {
      "type": "string",
      "description": "Date on which the certificate was last updated. (RFC 3339 format)",
      "format": "date-time",
      "example": "2022-03-22T12:34:56.123456Z",
      "nullable": true
    },
    "status_details": {
      "type": "string",
      "description": "Additional information about the certificate status (useful in case of certificate generation failure, for example).",
      "nullable": true
    }
  },
  "x-properties-order": [
    "type",
    "id",
    "common_name",
    "subject_alternative_name",
    "fingerprint",
    "not_valid_before",
    "not_valid_after",
    "status",
    "lb",
    "name",
    "created_at",
    "updated_at",
    "status_details"
  ]
}