update_workspace_configuration
¶
update_workspace_configuration(
configuration: OverridableConfigurationJson,
workspace_id: WorkspaceId,
*,
config_overrides: Optional[grafanaClientConfig] = None,
grafana_version: Optional[GrafanaVersion] = None,
) -> UpdateWorkspaceConfigurationResponse
Updates the configuration string for the given workspace
Parameters:
-
configuration(OverridableConfigurationJson) –The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.
-
workspace_id(WorkspaceId) –The ID of the workspace to update.
-
grafana_version(Optional[GrafanaVersion], default:None) –Specifies the version of Grafana to support in the workspace. If not specified, keeps the current version of the workspace.
Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).
To know what versions are available to upgrade to for a specific workspace, see the ListVersions operation.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–A resource was in an inconsistent state during an update or a deletion.
-
InternalServerException–Unexpected error while processing the request. Retry the request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
ThrottlingException–The request was denied because of request throttling. Retry the request.
-
ValidationException–The value of a parameter in the request caused an error.
-
UnknownServiceError–The service returned an error code this client does not model.