singlestoredb.management.workspace.WorkspaceGroup.update

WorkspaceGroup.update(name: str | None = None, firewall_ranges: List[str] | None = None, admin_password: str | None = None, expires_at: str | None = None, allow_all_traffic: bool | None = None, update_window: Dict[str, int] | None = None) None

Update the workspace group definition.

Parameters:
  • name (str, optional) – Name of the workspace group

  • firewall_ranges (list[str], optional) – List of allowed CIDR ranges. An empty list indicates that all inbound requests are allowed.

  • admin_password (str, optional) – Admin password for the workspace group. If no password is supplied, a password will be generated and retured in the response.

  • expires_at (str, optional) – The timestamp of when the workspace group will expire. If the expiration time is not specified, the workspace group will have no expiration time. At expiration, the workspace group is terminated and all the data is lost. Expiration time can be specified as a timestamp or duration. Example: “2021-01-02T15:04:05Z07:00”, “2021-01-02”, “3h30m”

  • allow_all_traffic (bool, optional) – Allow all traffic to the workspace group

  • update_window (Dict[str, int], optional) – Specify the day and hour of an update window: dict(day=0-6, hour=0-23)